Commit Graph

12 Commits

Author SHA1 Message Date
Joey Parrish 027ce8d953 Improve code coverage accuracy.
We have several classes not being tested, and they are now included
in the coverage data.

Change-Id: Ice9d7e2573cf3597882f003b13a5c65c75676823
2015-04-03 23:43:11 +00:00
Joey Parrish 40298ef028 Upgrade jasmine-ajax and remove some hacks.
Closes #42.

Change-Id: I507b30ac1b6e6a640bed7c81c26b6bedf065e571
2015-04-01 17:17:59 -07:00
Joey Parrish e7b5e2f231 Add tests for FakeEvent.
This new test is currently failing with Chrome 43 TOT due to changes
to CustomEvent.  This is causing failures in the prefixed EME
polyfill and other components as well, since FakeEventTarget is used
in lots of places.

Change-Id: I6f217d11f7d1f6917084e5b0c081c55cabed9492
2015-03-31 14:08:38 -07:00
Joey Parrish 7b11de0cd3 Test EventManager with real Events and EventTargets.
Drop duplicate FakeEventTarget from spec.

Change-Id: I367241411d4d9c874ff132f7a9c01c5416926995
2015-03-31 14:01:39 -07:00
Joey Parrish 3e0a9c93f3 Task abstraction.
This will help clean up SourceBufferManager.

Change-Id: I4e551ce089b4830da4bb2b3f85d123afff3199d5
2015-03-27 22:50:06 +00:00
Timothy Drews 069d8c3e6d Write tests and fix bugs with manifest updates.
* Write an initial set of unit tests for
  StreamVideoSource.update().
* Correctly handle new manifests that omit periods, stream sets,
  and streams that existed in the original manifest.
* Make StreamVideoSource.update() synchronous.
* Disallow merging SIDX based SegmentIndexes.

Issue #21

Change-Id: Id2e0b8cf56dd4b878b654732b7a088422163f418
2015-03-25 15:00:06 -07:00
Timothy Drews 27ed78203a Merge Segment{Base, List, Template} across levels.
* Instead of overriding SegmentBase, SegmentList, etc. between
  levels (e.g., from Period to AdaptationSet) merge them, but
  prefer elements and attributes from inner levels.
* Refactor MPD parsing unit tests into separate files.
* Rewrite SegmentBase unit tests, add SegmentList, and
  SegmentTemplate unit tests.

Change-Id: I3fdb7657bb9f468e10f63e47e9a52fbf8ebbd40b
2015-03-05 01:20:07 +00:00
Natalie Harris 4a8d26af9b Support of idb URI's.
Change-Id: Ie964da2d435349be6c2ee9a88202f1c058b8ed05
2015-02-27 23:16:15 +00:00
Joey Parrish 08bdb3079b Make PSSH parser more robust.
Includes unit tests and covers zero-sized PSSHs, truncated PSSHs, and
various orderings of both v0 and v1 PSSHs.

Change-Id: I79ecc9475d483be610c003b57e831954a1c9800b
2015-02-06 10:57:47 -08:00
Natalie Harris 302f6faf64 Offline storage module.
Change-Id: I6d67faf99d535c0c77764b3c3b6311736ce8f9e1
2015-02-04 01:24:09 +00:00
Joey Parrish d4df6987e7 Shaka Player release v1.1 2015-01-15 15:12:58 -08:00
Joey Parrish b3d035be9f Shaka Player release v1.0 2014-12-19 14:26:19 -08:00