@Component(role=TestFrameworkProvider.class, hint="junit47") public class JUnit47Provider extends AbstractJUnitProvider
| Modifier and Type | Field and Description |
|---|---|
private static org.osgi.framework.Version |
VERSION |
| Constructor and Description |
|---|
JUnit47Provider() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<java.lang.String> |
getJUnitBundleNames() |
protected org.osgi.framework.VersionRange |
getJUnitVersionRange() |
java.util.List<org.apache.maven.model.Dependency> |
getRequiredBundles()
The list of OSGi bundles required by the test framework provider as maven artifacts.
|
java.lang.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.
|
private boolean |
hasGroups(java.util.Properties providerProperties) |
boolean |
isEnabled(java.util.List<ClasspathEntry> testBundleClassPath,
java.util.Properties surefireProperties)
Whether this provider should be enabled for the given test bundle classpath and surefire
properties.
|
private boolean |
isParallelEnabled(java.util.Properties providerProperties) |
getProviderSpecificProperties, getTypepublic boolean isEnabled(java.util.List<ClasspathEntry> testBundleClassPath, java.util.Properties surefireProperties)
TestFrameworkProviderisEnabled in interface TestFrameworkProviderisEnabled in class AbstractJUnitProvidertestBundleClassPath - classpath of the test bundlesurefireProperties - surefire provider propertiesprivate boolean hasGroups(java.util.Properties providerProperties)
private boolean isParallelEnabled(java.util.Properties providerProperties)
public java.lang.String getSurefireProviderClassName()
TestFrameworkProviderpublic org.osgi.framework.Version getVersion()
TestFrameworkProviderpublic java.util.List<org.apache.maven.model.Dependency> getRequiredBundles()
TestFrameworkProvidernull) will be matched against
the plugin dependencies of tycho-surefire-plugin.protected java.util.Set<java.lang.String> getJUnitBundleNames()
getJUnitBundleNames in class AbstractJUnitProviderprotected org.osgi.framework.VersionRange getJUnitVersionRange()
getJUnitVersionRange in class AbstractJUnitProvider