InvocationFailureEmailResultReporter
public
class
InvocationFailureEmailResultReporter
extends EmailResultReporter
java.lang.Object | |||
↳ | com.android.tradefed.result.CollectingTestListener | ||
↳ | com.android.tradefed.result.EmailResultReporter | ||
↳ | com.android.tradefed.result.InvocationFailureEmailResultReporter |
An EmailResultReporter
that can also restrict notifications to just invocation failures.
Summary
Public constructors | |
---|---|
InvocationFailureEmailResultReporter()
Default constructor |
Protected constructors | |
---|---|
InvocationFailureEmailResultReporter(IEmail mailer)
Create a |
Public methods | |
---|---|
void
|
invocationInterrupted()
|
Protected methods | |
---|---|
boolean
|
shouldSendMessage()
Send a message if there was an invocation failure. |
Public constructors
InvocationFailureEmailResultReporter
public InvocationFailureEmailResultReporter ()
Default constructor
Protected constructors
InvocationFailureEmailResultReporter
protected InvocationFailureEmailResultReporter (IEmail mailer)
Create a InvocationFailureEmailResultReporter
with a custom IEmail
instance
to use.
Parameters | |
---|---|
mailer |
IEmail : the IEmail instance to use.
|
Public methods
invocationInterrupted
public void invocationInterrupted ()
Protected methods
shouldSendMessage
protected boolean shouldSendMessage ()
Send a message if there was an invocation failure.
Returns | |
---|---|
boolean |
true if the InvocationStatus is not InvocationStatus.SUCCESS , or
false if it is.
|
Interfaces
Classes
- BugreportCollector
- BugreportCollector.Predicate
- ByteArrayInputStreamSource
- CollectingTestListener
- ConsoleResultReporter
- DeviceFileReporter
- DeviceUnavailEmailResultReporter
- EmailResultReporter
- FailureEmailResultReporter
- FileInputStreamSource
- FileMetadataCollector
- FileSystemLogSaver
- InvocationFailureEmailResultReporter
- InvocationSummaryHelper
- InvocationToJUnitResultForwarder
- InvocationToJUnitResultForwarder.TestIdentifierResult
- JsonHttpTestResultReporter
- JUnit4ResultForwarder
- JUnitToInvocationResultForwarder
- LegacySubprocessResultsReporter
- LogcatCrashResultForwarder
- LogFile
- LogFileSaver
- LogFilesReporter
- LogSaverResultForwarder
- MetricsXMLResultReporter
- NameMangleListener
- ResultForwarder
- RetentionFileSaver
- SnapshotInputStreamSource
- StubTestRunListener
- SubprocessResultsReporter
- TestDescription
- TestFailureEmailResultReporter
- TestResult
- TestRunResult
- TestSummary
- TestSummary.TypedString
- TextResultReporter
- XmlResultReporter
Enums