Commit Graph

5 Commits

Author SHA1 Message Date
Joey Parrish cd2d25cbb2 Convert TextSourceBuffer to TextEngine
This changes the text APIs to correctly handle buffered ranges of
segmented text.

b/25517444

Related to issue #150

Change-Id: I3a11b87e8d93376a5012566deb3bf0d015f52391
2016-02-17 00:19:49 +00:00
Joey Parrish 17fdcc61b9 Do not assume an initial duration of 0
This brings the MediaSourceEngine integration tests more in line with
reality.

Change-Id: I2a9446071e937e58c3878250aa1ece2c8a750b93
2016-02-09 11:28:36 -08:00
Jacob Trimble 39c29ba237 Now runs the compiler over test code.
When the check script is run, it will run the compiler over the test
code also, it does not keep the output.  This allows type checking of
the test code.  This change also fixes several bugs that were
discovered.

Change-Id: I35ffc80e8785e1afd9e6252db915645c5b48b5d4
2016-01-28 12:21:40 -08:00
Jacob Trimble 7cd09c266a Removed goog.require from test code.
This removed any goog.require from the test code to make it simpler.
Now, shaka-player.uncompiled is required to be loaded before any
tests.  This fixes some dependency problems.

This also moves the utility test code to test/util.

Change-Id: I8991a61fc59c9c03e0143bb0883fd6d166af86c2
2016-01-16 01:19:28 +00:00
Joey Parrish 24aab447f8 Rename spec/ to test/
Also renames *_spec.js to *_unit.js

Change-Id: I00602daa555cc1014e2a2a68201bb137d36ebada
2016-01-15 22:57:02 +00:00