public class PerRepoTestRunner extends org.junit.runners.ParentRunner<PerFeatureRunner>
Constructor and Description |
---|
PerRepoTestRunner(Class<?> testClass)
Create a runner.
|
Modifier and Type | Method and Description |
---|---|
protected org.junit.runner.Description |
describeChild(PerFeatureRunner child) |
protected List<PerFeatureRunner> |
getChildren() |
protected org.apache.karaf.features.internal.model.Features |
getFeatures(URL repoUrl) |
protected List<PerFeatureRunner> |
recursiveRunnersFromRepoUrl(URL repoUrl,
Class<?> testClass) |
protected void |
runChild(PerFeatureRunner child,
org.junit.runner.notification.RunNotifier notifier) |
protected List<PerFeatureRunner> |
runnersFromFeatures(URL repoUrl,
org.apache.karaf.features.internal.model.Features features,
Class<?> testClass) |
protected List<PerFeatureRunner> |
runnersFromRepoUrl(URL repoUrl,
Class<?> testClass) |
protected List<PerFeatureRunner> |
runnersFromRepoUrl(URL repoUrl,
Class<?> testClass,
boolean recursive) |
int |
testCount() |
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
public PerRepoTestRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
testClass
- The test class.org.junit.runners.model.InitializationError
- if an error occurs.protected List<PerFeatureRunner> runnersFromRepoUrl(URL repoUrl, Class<?> testClass, boolean recursive) throws JAXBException, IOException, org.junit.runners.model.InitializationError
JAXBException
IOException
org.junit.runners.model.InitializationError
protected List<PerFeatureRunner> runnersFromRepoUrl(URL repoUrl, Class<?> testClass) throws JAXBException, IOException, org.junit.runners.model.InitializationError
JAXBException
IOException
org.junit.runners.model.InitializationError
protected List<PerFeatureRunner> recursiveRunnersFromRepoUrl(URL repoUrl, Class<?> testClass) throws JAXBException, IOException, org.junit.runners.model.InitializationError
JAXBException
IOException
org.junit.runners.model.InitializationError
protected List<PerFeatureRunner> runnersFromFeatures(URL repoUrl, org.apache.karaf.features.internal.model.Features features, Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected org.apache.karaf.features.internal.model.Features getFeatures(URL repoUrl) throws JAXBException, IOException
repoUrl
- url of the repoJAXBException
- exception during unmarshalling.IOException
- IOException in getting the features.protected List<PerFeatureRunner> getChildren()
getChildren
in class org.junit.runners.ParentRunner<PerFeatureRunner>
protected org.junit.runner.Description describeChild(PerFeatureRunner child)
describeChild
in class org.junit.runners.ParentRunner<PerFeatureRunner>
protected void runChild(PerFeatureRunner child, org.junit.runner.notification.RunNotifier notifier)
runChild
in class org.junit.runners.ParentRunner<PerFeatureRunner>
public int testCount()
testCount
in class org.junit.runner.Runner
Copyright © 2017 OpenDaylight. All rights reserved.