to top
public class

FailureEmailResultReporter

extends EmailResultReporter
java.lang.Object
   ↳ com.android.tradefed.result.CollectingTestListener
     ↳ com.android.tradefed.result.EmailResultReporter
       ↳ com.android.tradefed.result.FailureEmailResultReporter

Class Overview

An EmailResultReporter that sends notifications if either a test failure or invocation failure occurred.

Summary

Public Constructors
FailureEmailResultReporter()
Default constructor
Protected Constructors
FailureEmailResultReporter(IEmail mailer)
Create a FailureEmailResultReporter with a custom IEmail instance to use.
Protected Methods
boolean shouldSendMessage()
Send a message if there was a failure.
[Expand]
Inherited Methods
From class com.android.tradefed.result.EmailResultReporter
From class com.android.tradefed.result.CollectingTestListener
From class java.lang.Object
From interface com.android.ddmlib.testrunner.ITestRunListener
From interface com.android.tradefed.result.ITestInvocationListener
From interface com.android.tradefed.result.ITestSummaryListener

Public Constructors

public FailureEmailResultReporter ()

Default constructor

Protected Constructors

protected FailureEmailResultReporter (IEmail mailer)

Create a FailureEmailResultReporter with a custom IEmail instance to use.

Exposed for unit testing.

Parameters
mailer the IEmail instance to use.

Protected Methods

protected boolean shouldSendMessage ()

Send a message if there was a failure.

Returns