PackagePrefixClasspathSuite


class PackagePrefixClasspathSuite : Suite


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.

Summary

Inherited functions

From org.junit.runners.ParentRunner
Statement!
Statement!
classBlock(notifier: RunNotifier!)
(Mutable)List<TestRule!>!
Unit
TestClass!
createTestClass(testClass: Class<Any!>!)

This function is deprecated.

Unit
filter(filter: Filter!)
abstract (Mutable)List<T!>!
Description!
String!
Array<Annotation!>!
Boolean
isIgnored(child: T!)
Unit
order(orderer: Orderer!)
Unit
run(notifier: RunNotifier!)
Unit
runLeaf(
    statement: Statement!,
    description: Description!,
    notifier: RunNotifier!
)
Unit
Unit
sort(sorter: Sorter!)
Unit
validatePublicVoidNoArgMethods(
    annotation: Class<Annotation!>!,
    isStatic: Boolean,
    errors: (Mutable)List<Throwable!>!
)
Statement!
Statement!
Statement!
From org.junit.runner.Runner
From org.junit.runners.Suite
Description!
java-static Runner!
(Mutable)List<Runner!>!
Unit
runChild(runner: Runner!, notifier: RunNotifier!)