PackagePrefixClasspathSuite


public final class PackagePrefixClasspathSuite extends 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 fields

From org.junit.runners.ParentRunner

Inherited methods

From org.junit.runners.ParentRunner
Statement
Statement
List<TestRule>
void
TestClass

This method is deprecated.

void
filter(Filter filter)
abstract List<T>
Description
String
Annotation[]
final TestClass
boolean
isIgnored(T child)
void
order(Orderer orderer)
void
run(RunNotifier notifier)
final void
runLeaf(
    Statement statement,
    Description description,
    RunNotifier notifier
)
void
void
sort(Sorter sorter)
void
validatePublicVoidNoArgMethods(
    Class<Annotation> annotation,
    boolean isStatic,
    List<Throwable> errors
)
Statement
Statement
final Statement
From org.junit.runner.Runner
int
From org.junit.runners.Suite