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() |
void |
removeListener(org.junit.runner.notification.RunListener listener) |
String |
toString() |
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.RunNotifierlistener - RunListener instanceRunNotifier.addListener(org.junit.runner.notification.RunListener)public void removeListener(org.junit.runner.notification.RunListener listener)
removeListener in class org.junit.runner.notification.RunNotifierlistener - RunListener instanceRunNotifier.removeListener(org.junit.runner.notification.RunListener)public int hashCode()
hashCode in class ObjectObject.hashCode()public void fireTestRunStarted(org.junit.runner.Description description)
fireTestRunStarted in class org.junit.runner.notification.RunNotifierdescription - Description instanceRunNotifier.fireTestRunStarted(org.junit.runner.Description)public void fireTestRunFinished(org.junit.runner.Result result)
fireTestRunFinished in class org.junit.runner.notification.RunNotifierresult - Result instanceRunNotifier.fireTestRunFinished(org.junit.runner.Result)public void fireTestStarted(org.junit.runner.Description description)
throws org.junit.runner.notification.StoppedByUserException
fireTestStarted in class org.junit.runner.notification.RunNotifierdescription - Description instanceorg.junit.runner.notification.StoppedByUserException - throws this exception, if the fireTest is stopped by user.RunNotifier.fireTestStarted(org.junit.runner.Description)public boolean equals(Object obj)
equals in class Objectobj - a generic Object instanceObject.equals(java.lang.Object)public void fireTestFailure(org.junit.runner.notification.Failure failure)
fireTestFailure in class org.junit.runner.notification.RunNotifierfailure - Failure instanceRunNotifier.fireTestFailure(org.junit.runner.notification.Failure)public void fireTestAssumptionFailed(org.junit.runner.notification.Failure failure)
fireTestAssumptionFailed in class org.junit.runner.notification.RunNotifierfailure - Failure instanceRunNotifier.fireTestAssumptionFailed(org.junit.runner.notification.Failure)public void fireTestIgnored(org.junit.runner.Description description)
fireTestIgnored in class org.junit.runner.notification.RunNotifierdescription - Description instanceRunNotifier.fireTestIgnored(org.junit.runner.Description)public void fireTestFinished(org.junit.runner.Description description)
fireTestFinished in class org.junit.runner.notification.RunNotifierdescription - Description instanceRunNotifier.fireTestFinished(org.junit.runner.Description)public void pleaseStop()
pleaseStop in class org.junit.runner.notification.RunNotifierRunNotifier.pleaseStop()public void addFirstListener(org.junit.runner.notification.RunListener listener)
addFirstListener in class org.junit.runner.notification.RunNotifierlistener - RunListener instanceRunNotifier.addFirstListener(org.junit.runner.notification.RunListener)public String toString()
toString in class ObjectObject.toString()Copyright © 2017 OpenDaylight. All rights reserved.