public class PerFeatureRunNotifier
extends org.junit.runner.notification.RunNotifier
Constructor and Description |
---|
PerFeatureRunNotifier(URL repoUrl,
String featureName,
String featureVersion,
org.junit.runner.notification.RunNotifier delegate)
Create a delegating notifier.
|
Modifier and Type | Method and Description |
---|---|
void |
addFirstListener(org.junit.runner.notification.RunListener listener) |
void |
addListener(org.junit.runner.notification.RunListener listener) |
boolean |
equals(Object obj) |
void |
fireTestAssumptionFailed(org.junit.runner.notification.Failure failure) |
void |
fireTestFailure(org.junit.runner.notification.Failure failure) |
void |
fireTestFinished(org.junit.runner.Description description) |
void |
fireTestIgnored(org.junit.runner.Description description) |
void |
fireTestRunFinished(org.junit.runner.Result result) |
void |
fireTestRunStarted(org.junit.runner.Description description) |
void |
fireTestStarted(org.junit.runner.Description description) |
int |
hashCode()
Calculates the hash code (delegated).
|
void |
pleaseStop()
Please stop.
|
void |
removeListener(org.junit.runner.notification.RunListener listener) |
String |
toString()
Value of the delegate as a String.
|
public PerFeatureRunNotifier(URL repoUrl, String featureName, String featureVersion, org.junit.runner.notification.RunNotifier delegate)
repoUrl
- The repository URL.featureName
- The feature name.featureVersion
- The feature version.delegate
- The notification delegate.public void addListener(org.junit.runner.notification.RunListener listener)
addListener
in class org.junit.runner.notification.RunNotifier
public void removeListener(org.junit.runner.notification.RunListener listener)
removeListener
in class org.junit.runner.notification.RunNotifier
public int hashCode()
hashCode
in class Object
Object.hashCode()
public void fireTestRunStarted(org.junit.runner.Description description)
fireTestRunStarted
in class org.junit.runner.notification.RunNotifier
public void fireTestRunFinished(org.junit.runner.Result result)
fireTestRunFinished
in class org.junit.runner.notification.RunNotifier
public void fireTestStarted(org.junit.runner.Description description)
fireTestStarted
in class org.junit.runner.notification.RunNotifier
public void fireTestFailure(org.junit.runner.notification.Failure failure)
fireTestFailure
in class org.junit.runner.notification.RunNotifier
public void fireTestAssumptionFailed(org.junit.runner.notification.Failure failure)
fireTestAssumptionFailed
in class org.junit.runner.notification.RunNotifier
public void fireTestIgnored(org.junit.runner.Description description)
fireTestIgnored
in class org.junit.runner.notification.RunNotifier
public void fireTestFinished(org.junit.runner.Description description)
fireTestFinished
in class org.junit.runner.notification.RunNotifier
public void pleaseStop()
pleaseStop
in class org.junit.runner.notification.RunNotifier
RunNotifier.pleaseStop()
public void addFirstListener(org.junit.runner.notification.RunListener listener)
addFirstListener
in class org.junit.runner.notification.RunNotifier
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018 OpenDaylight. All rights reserved.