-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The player unit test setup creates a fake StreamingEngine, which responds to a request for the current period by returning a value captured in an anonymous function. Because of this, any test which loads a manifest other than the "var manifest" at the top will result in inconsistencies between the current period known to the fake StreamingEngine and the manifest loaded by the Player instance. This makes sure all tests in this file are using the same "var manifest", even if they overwrite it. This is not the best fix. The Player unit tests should be restructured so that the fake StreamingEngine is always consistent with the Player instance it belongs to. Change-Id: Iad3b61006de3dcf902334f5348cd51fe7b5f8db4
- Loading branch information
1 parent
cbaefcf
commit f4d89cb
Showing
1 changed file
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters