media/testutils/src/main/java
tonihei a8d867be37 Support multiple transitions to STATE_ENDED in ExoPlayerTestRunner.
Currently testRunner.blockUntilEnded waits for the first transition to
STATE_ENDED or _IDLE before returning. In order to support tests with
player repreparations after one playback finished, this change adds an
option to specifiy the number of expected transitions to ended.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=176484047
2017-11-21 13:12:12 +00:00
..
com/google/android/exoplayer2/testutil Support multiple transitions to STATE_ENDED in ExoPlayerTestRunner. 2017-11-21 13:12:12 +00:00