mirror of
https://github.com/androidx/media.git
synced 2025-05-09 08:30:43 +08:00

Some adjustments to the test to make it more correct and prevent it from becoming flaky: - Use separate output dump files per test setup. Once we add more data to these files, they are not guaranteed to be the same anymore. - Use a seek position that is actually behind the midroll as described in the test setup. - Change ad insertion position to ensure the ad group duration doesn't exceed the underlying media duration. - Add a wait for isLoading to ensure the late insertion of an ad group happens consistently at the same processing stage. PiperOrigin-RevId: 546825183
Test data module
Provides sample data for media unit and instrumentation tests.