InstrumentationTest.FailedTestScreenshotGenerator
static
class
InstrumentationTest.FailedTestScreenshotGenerator
extends ResultForwarder
java.lang.Object | ||
↳ | com.android.tradefed.result.ResultForwarder | |
↳ | com.android.tradefed.testtype.InstrumentationTest.FailedTestScreenshotGenerator |
A ResultForwarder
that will forward a screenshot on test failures.
Summary
Public constructors | |
---|---|
InstrumentationTest.FailedTestScreenshotGenerator(ITestInvocationListener listener, ITestDevice device)
|
Public methods | |
---|---|
void
|
testFailed(TestDescription test, String trace)
Reports the failure of a individual test case. |
Public constructors
InstrumentationTest.FailedTestScreenshotGenerator
public InstrumentationTest.FailedTestScreenshotGenerator (ITestInvocationListener listener, ITestDevice device)
Parameters | |
---|---|
listener |
ITestInvocationListener |
device |
ITestDevice |
Public methods
testFailed
public void testFailed (TestDescription test, String trace)
Reports the failure of a individual test case.
Will be called between testStarted and testEnded.
Parameters | |
---|---|
test |
TestDescription : identifies the test |
trace |
String : stack trace of failure
|
Interfaces
- CodeCoverageReportFormat
- IAbi
- IAbiReceiver
- IBuildReceiver
- IDeviceTest
- IInvocationContextReceiver
- IMultiDeviceTest
- INativeDeviceTest
- IRemoteTest
- IResumableTest
- IRetriableTest
- IRuntimeHintProvider
- ISetOptionReceiver
- IShardableTest
- IStrictShardableTest
- ITestAnnotationFilterReceiver
- ITestCollector
- ITestFileFilterReceiver
- ITestFilterReceiver
Classes
- Abi
- AndroidJUnitTest
- CodeCoverageListener
- CodeCoverageTest
- CodeCoverageTestBase
- CodeCoverageTestBase.CoverageCollectingListener
- CompanionAwareTest
- DeviceBatteryLevelChecker
- DeviceJUnit4ClassRunner
- DeviceJUnit4ClassRunner.LogAnnotation
- DeviceJUnit4ClassRunner.MetricAnnotation
- DeviceJUnit4ClassRunner.TestLogData
- DeviceJUnit4ClassRunner.TestMetrics
- DeviceSuite
- DeviceTestCase
- DeviceTestResult
- DeviceTestSuite
- FakeTest
- GoogleBenchmarkResultParser
- GoogleBenchmarkTest
- GTest
- GTestListTestParser
- GTestResultParser
- GTestXmlResultParser
- HostTest
- InstalledInstrumentationsTest
- InstrumentationFileTest
- InstrumentationSerialTest
- InstrumentationTest
- InstrumentationTest.FailedTestLogcatGenerator
- InstrumentationTest.FailedTestScreenshotGenerator
- JacocoCodeCoverageTest
- JUnitRunUtil
- MetricTestCase
- MetricTestCase.LogHolder
- NativeBenchmarkTest
- NativeBenchmarkTestParser
- NativeStressTest
- NativeStressTestParser
- NoisyDryRunTest
- PythonUnitTestResultParser
- PythonUnitTestRunner
- StubTest
- SubprocessTfLauncher
- TfTestLauncher
- UiAutomatorRunner
- UiAutomatorTest
- VersionedTfLauncher
Enums
Exceptions