docs/doc/reference/com/google/android/exoplayer2/testutil/HttpDataSourceTestEnv.html
Package com.google.android.exoplayer2.testutil
All Implemented Interfaces:org.junit.rules.TestRule
@RequiresApi(19)
public classHttpDataSourceTestEnvextends org.junit.rules.ExternalResource
A JUnit Rule that creates test resources for HttpDataSource contract tests.
Constructors | Constructor | Description |
| --- | --- |
| HttpDataSourceTestEnv() | |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| protected void | after() | |
| protected void | before() | |
| String | getNonexistentUrl() | |
| ImmutableList<DataSourceContractTest.TestResource> | getServedResources() | |
-
apply
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public HttpDataSourceTestEnv()
-
public[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[DataSourceContractTest.TestResource](DataSourceContractTest.TestResource.html "class in com.google.android.exoplayer2.testutil")> getServedResources()
-
public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getNonexistentUrl()
-
protected void before()
throws[Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")
Overrides:before in class org.junit.rules.ExternalResourceThrows:Throwable
-
protected void after()
Overrides:after in class org.junit.rules.ExternalResource