Class HttpDataSourceTestEnv
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.google.android.exoplayer2.testutil.HttpDataSourceTestEnv
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class HttpDataSourceTestEnv extends org.junit.rules.ExternalResourceA JUnitRulethat creates test resources forHttpDataSourcecontract tests.
-
-
Constructor Summary
Constructors Constructor Description HttpDataSourceTestEnv()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafter()protected voidbefore()StringgetNonexistentUrl()ImmutableList<DataSourceContractTest.TestResource>getServedResources()
-
-
-
Method Detail
-
getServedResources
public ImmutableList<DataSourceContractTest.TestResource> getServedResources()
-
getNonexistentUrl
public String getNonexistentUrl()
-
before
protected void before() throws Throwable- Overrides:
beforein classorg.junit.rules.ExternalResource- Throws:
Throwable
-
after
protected void after()
- Overrides:
afterin classorg.junit.rules.ExternalResource
-
-