InvocationFailureEmailResultReporter
public class InvocationFailureEmailResultReporter
extendsEmailResultReporter
java.lang.Object | |||
↳ | com.android.tradefed.result.CollectingTestListener | ||
↳ | com.android.tradefed.result.EmailResultReporter | ||
↳ | com.android.tradefed.result.InvocationFailureEmailResultReporter |
一个EmailResultReporter
,它还可以将通知限制为仅调用失败。
概要
公共建设者 | |
---|---|
InvocationFailureEmailResultReporter () 默认构造函数 |
受保护的构造函数 | |
---|---|
InvocationFailureEmailResultReporter (IEmail mailer) 使用要使用的自定义 |
公开方法 | |
---|---|
void | invocationInterrupted ()
|
受保护的方法 | |
---|---|
boolean | shouldSendMessage () 如果调用失败,请发送消息。 |
公共建设者
InvocationFailureEmailResultReporter
public InvocationFailureEmailResultReporter ()
默认构造函数
受保护的构造函数
InvocationFailureEmailResultReporter
protected InvocationFailureEmailResultReporter (IEmail mailer)
使用要使用的自定义IEmail
实例创建InvocationFailureEmailResultReporter
。
参量 | |
---|---|
mailer | IEmail :要使用的IEmail 实例。 |
公开方法
调用中断
public void invocationInterrupted ()
受保护的方法
应该发送消息
protected boolean shouldSendMessage ()
如果调用失败,请发送消息。
退货 | |
---|---|
boolean | true 如果InvocationStatus不InvocationStatus#SUCCESS ,或false 如果它是。 |