PackagePrefixClasspathSuite
Artifact: androidx.test:runner
class PackagePrefixClasspathSuite : Suite
kotlin.Any | ||||
↳ | 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.