1. 08 Sep, 2017 2 commits
    • Allow ExoPlayerTestRunner to end when Player.stop() is called. · b2627d63
      In this case the playback state transitions to IDLE, which isn't
      caught so far. (This code is equivalent to the one in ExoHostedTest.java)
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=167980981
      tonihei committed
    • Migrate remaining tests to Robolectric · 7c3fe19d
      Remaining instrumentation tests either use android.os.Handler or rely on assets.
      In the latter case, the tests are difficult to migrate due to differences
      between the internal and external build systems, and configuration needed in
      Android Studio. In addition, SimpleCacheSpanTest remains as an instrumentation
      test because it fails due to a problem with string encoding on the internal
      build (and two other tests in its package are kept with it because they depend
      on it).
      
      This test removes a dependency from testutils on Mockito, as a different
      version of Mockito needs to be used for instrumentation tests vs Robolectric
      tests, yet both sets of tests need to rely on testutils. Mockito setup is now
      done directly in the tests that need it.
      
      Move OggTestData to testutils so it can be used from both instrumentation and
      Robolectric tests.
      
      It may be possible to simplify assertions further using Truth but this is left
      for possible later changes.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=167831435
      andrewlewis committed
  2. 06 Sep, 2017 13 commits
  3. 05 Sep, 2017 7 commits
  4. 04 Sep, 2017 13 commits
  5. 31 Aug, 2017 5 commits