TestFailureEmailResultReporter
public
class
TestFailureEmailResultReporter
extends EmailResultReporter
java.lang.Object | |||
↳ | com.android.tradefed.result.CollectingTestListener | ||
↳ | com.android.tradefed.result.EmailResultReporter | ||
↳ | com.android.tradefed.result.TestFailureEmailResultReporter |
An EmailResultReporter
that can also restrict notifications to just test failures.
Summary
Public constructors | |
---|---|
TestFailureEmailResultReporter()
Default constructor |
Protected constructors | |
---|---|
TestFailureEmailResultReporter(IEmail mailer)
Create a |
Protected methods | |
---|---|
boolean
|
shouldSendMessage()
Send a message if there was an invocation failure. |
Public constructors
TestFailureEmailResultReporter
public TestFailureEmailResultReporter ()
Default constructor
Protected constructors
TestFailureEmailResultReporter
protected TestFailureEmailResultReporter (IEmail mailer)
Create a TestFailureEmailResultReporter
with a custom IEmail
instance to use.
Parameters | |
---|---|
mailer |
IEmail : the IEmail instance to use.
|
Protected methods
shouldSendMessage
protected boolean shouldSendMessage ()
Send a message if there was an invocation failure.
Returns | |
---|---|
boolean |
the return value of CollectingTestListener.hasFailedTests() .
|