@Component(role=TestFrameworkProvider.class, hint="junit47") public class JUnit47Provider extends AbstractJUnitProvider
| Constructor and Description |
|---|
JUnit47Provider() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
getJUnitBundleNames() |
protected org.osgi.framework.VersionRange |
getJUnitVersionRange() |
List<org.apache.maven.model.Dependency> |
getRequiredBundles()
The list of OSGi bundles required by the test framework provider as maven artifacts.
|
String |
getSurefireProviderClassName()
Fully qualified class name of the surefire provider (must implement contract
http://maven.apache.org/plugins/maven-surefire-plugin/api.html ).
|
org.osgi.framework.Version |
getVersion()
The test framework version.
|
boolean |
isEnabled(List<ClasspathEntry> testBundleClassPath,
Properties surefireProperties)
Whether this provider should be enabled for the given test bundle classpath and surefire
properties.
|
getTypepublic boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties)
TestFrameworkProviderisEnabled in interface TestFrameworkProviderisEnabled in class AbstractJUnitProvidertestBundleClassPath - classpath of the test bundlesurefireProperties - surefire provider propertiespublic String getSurefireProviderClassName()
TestFrameworkProviderpublic org.osgi.framework.Version getVersion()
TestFrameworkProviderpublic List<org.apache.maven.model.Dependency> getRequiredBundles()
TestFrameworkProvidernull) will be matched against
the plugin dependencies of tycho-surefire-plugin.protected Set<String> getJUnitBundleNames()
getJUnitBundleNames in class AbstractJUnitProviderprotected org.osgi.framework.VersionRange getJUnitVersionRange()
getJUnitVersionRange in class AbstractJUnitProviderCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.