{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
@ExperimentalTestApi public final class PackagePrefixClasspathSuite extends Suite
| java.lang.Object | ||||
| ↳ | org.junit.runner.Runner | |||
| ↳ | org.junit.runners.ParentRunner | |||
| ↳ | org.junit.runners.Suite | |||
| ↳ | androidx.test.runner.suites.PackagePrefixClasspathSuite | |||
An alternative to AndroidClasspathSuite that ignores classes whose java package is not within the current class's java package.
Example usage: * *
package com.example.foo;
@RunWith(PackagePrefixClasspathSuite.class)
public class AllTests {
}
This class was intended for large applications using AndroidClasspathSuite results in LinearAlloc errors (b/36936369) and performance overhead when scanning the entire classpath.
This API is currently experimental and subject to change in future releases.
Public constructors |
|
|---|---|
Inherited methods |
||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||