ITestFileFilterReceiver

public interface ITestFileFilterReceiver

com.android.tradefed.testtype.ITestFileFilterReceiver
Known Indirect Subclasses
AndroidJUnitTest A Test that runs an instrumentation test package on given device using the android.support.test.runner.AndroidJUnitRunner. 


A runner that can receive a file specifying which tests to run and/or not to run.

A test will be run if it is included in the testFile provided, and not excluded by the notTestFile or by an exclude filter provided to the test runner. Either file should contain a line separated list of test names, formatted as filters.

The format of the filters is defined by the runner, and could be structured as <package>, <package>.<class>, <package>.<class>#<method> or <native_name>. They can even be regexes.

Summary

Public methods

abstract void setExcludeTestFile(File testFile)

Sets the test file of excludes.

abstract void setIncludeTestFile(File testFile)

Sets the test file of includes.

Public methods

setExcludeTestFile

void setExcludeTestFile (File testFile)

Sets the test file of excludes. Does not ensure that testFile exists or is a file.

Parameters
testFile File

setIncludeTestFile

void setIncludeTestFile (File testFile)

Sets the test file of includes. Does not ensure that testFile exists or is a file.

Parameters
testFile File