com.android.tradefed.result

Interfaces

BugreportCollector.SubPredicate  
ILogSaver Classes which implement this interface provide methods for storing logs to a central location. 
ILogSaverListener Allows for ITestInvocationListeners to listen for when log files are saved. 
InputStreamSource This interface basically wraps an ERROR(/InputStream) to make it clonable. 
IShardableListener A ITestInvocationListener that can be sharded. 
ITestInvocationListener Listener for test results from the test invocation. 
ITestLifeCycleReceiver Receives event notifications during instrumentation test runs. 
ITestLoggerReceiver An entity that can be injected with an ITestLogger instance so that it can be used for logging purposes. 
ITestSummaryListener Interface that allows ITestInvocationListener to exchange some limited information via summaries. 

Classes

BugreportCollector A pass-through ITestInvocationListener that collects bugreports when configurable events occur and then calls ITestInvocationListener#testLog on its children after each bugreport is collected. 
BugreportCollector.Predicate A full predicate describing when to capture a bugreport. 
ByteArrayInputStreamSource  
CollectingTestListener A ITestInvocationListener that will collect all test results. 
ConsoleResultReporter Result reporter to print the test results to the console. 
DeviceFileReporter A utility class that checks the device for files and sends them to ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) if found. 
DeviceUnavailEmailResultReporter An EmailResultReporter that will send email when invocation fails due to a device not available exception. 
EmailResultReporter A simple result reporter base class that sends emails for test results. 
FailureEmailResultReporter An EmailResultReporter that sends notifications if either a test failure or invocation failure occurred. 
FileInputStreamSource A InputStreamSource that takes an input file. 
FileSystemLogSaver Save logs to a file system. 
FilteredResultForwarder Variant of ResultForwarder that only allows a whitelist of TestDescription to be reported. 
InvocationFailureEmailResultReporter An EmailResultReporter that can also restrict notifications to just invocation failures. 
InvocationSummaryHelper Helper class for gathering and reporting TestSummary for set of listeners  
InvocationToJUnitResultForwarder A class that listens to ITestInvocationListener events and forwards them to a TestListener
JsonHttpTestResultReporter A result reporter that encode test metrics results and branch, device info into JSON and POST into an HTTP service endpoint  
JUnit4ResultForwarder Result forwarder from JUnit4 Runner. 
JUnitToInvocationResultForwarder A class that listens to TestListener events and forwards them to an ITestInvocationListener
LegacySubprocessResultsReporter A class for freezed subprocess results reporter which is compatible with M & N version of CTS. 
LogcatCrashResultForwarder Special listener: on failures (instrumentation process crashing) it will attempt to extract from the logcat the crash and adds it to the failure message associated with the test. 
LogFile Class to hold the metadata for a saved log file. 
LogFileSaver A helper for ITestInvocationListener's that will save log data to a file  
LogSaverResultForwarder A ResultForwarder for saving logs with the global file saver. 
MetricsXMLResultReporter MetricsXMLResultReporter writes test metrics and run metrics to an XML file in a folder specified by metrics-folder parameter at the invocationEnded phase of the test. 
NameMangleListener A proxy listener to translate test method, class, and package names as results are reported. 
ResultAndLogForwarder Forwarder for results and logs events. 
ResultForwarder A ITestInvocationListener that forwards invocation results to a list of other listeners. 
RetentionFileSaver Helper class for creating a .retention file in a directory. 
RetryResultForwarder An Extension of ResultForwarder that always push to a given attempt number. 
SnapshotInputStreamSource A File-backed InputStreamSource. 
StubTestRunListener Stub implementation of ITestRunListener  
SubprocessResultsReporter Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. 
TestDescription Class representing information about a test case. 
TestFailureEmailResultReporter An EmailResultReporter that can also restrict notifications to just test failures. 
TestResult Container for a result of a single test. 
TestRunResult Holds results from a single test run. 
TestSummary A class to represent a test summary. 
TestSummary.TypedString  
TextResultReporter A test result reporter that forwards results to the JUnit text result printer. 
XmlResultReporter Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter. 

Enums

BugreportCollector.Filter  
BugreportCollector.Freq  
BugreportCollector.Noun  
BugreportCollector.Relation  
InvocationStatus A helper enum to represent the invocation status  
LogDataType Represents the data type of log data. 
MergeStrategy Describes how the results should be aggregated when multiple attempts are present. 
TestSummary.Type