to top
public class

TestFailureEmailResultReporter

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

Class Overview

An EmailResultReporter that can also restrict notifications to just test failures.

Summary

Public Constructors
TestFailureEmailResultReporter()
Default constructor
Protected Constructors
TestFailureEmailResultReporter(IEmail mailer)
Create a TestFailureEmailResultReporter with a custom IEmail instance to use.
Protected Methods
boolean shouldSendMessage()
Send a message if there was an invocation 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.tradefed.result.ITestSummaryListener
From interface com.android.tradefed.result.ITestInvocationListener
From interface com.android.ddmlib.testrunner.ITestRunListener

Public Constructors

public TestFailureEmailResultReporter ()

Default constructor

Protected Constructors

protected TestFailureEmailResultReporter (IEmail mailer)

Create a TestFailureEmailResultReporter 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 an invocation failure.

Returns