public class PerFeatureRunner
extends org.junit.runner.Runner
implements org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
| Constructor and Description |
|---|
PerFeatureRunner(URL repoUrl,
String featureName,
String featureVersion,
Class<?> testClass)
Create a runner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
filter(org.junit.runner.manipulation.Filter filter) |
org.junit.runner.Description |
getDescription() |
String |
getFeatureName()
Returns the feature name.
|
String |
getFeatureVersion()
Returns the feature version.
|
URL |
getRepoUrl()
Returns the repository URL.
|
void |
run(org.junit.runner.notification.RunNotifier notifier) |
void |
sort(org.junit.runner.manipulation.Sorter sorter) |
int |
testCount() |
String |
toString()
Delegated implementation of
toString(). |
public PerFeatureRunner(URL repoUrl, String featureName, String featureVersion, Class<?> testClass) throws org.junit.runners.model.InitializationError
repoUrl - The repository URL.featureName - The feature name.featureVersion - The feature version.testClass - The test class.org.junit.runners.model.InitializationError - if an error occurs.public org.junit.runner.Description getDescription()
getDescription in interface org.junit.runner.DescribablegetDescription in class org.junit.runner.Runnerpublic void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runner.Runnerpublic int testCount()
testCount in class org.junit.runner.Runnerpublic void filter(org.junit.runner.manipulation.Filter filter)
throws org.junit.runner.manipulation.NoTestsRemainException
filter in interface org.junit.runner.manipulation.Filterableorg.junit.runner.manipulation.NoTestsRemainExceptionpublic void sort(org.junit.runner.manipulation.Sorter sorter)
sort in interface org.junit.runner.manipulation.Sortablepublic String toString()
toString().toString in class ObjectObject.toString()public URL getRepoUrl()
public String getFeatureName()
public String getFeatureVersion()
Copyright © 2017 OpenDaylight. All rights reserved.