@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, getType
public boolean isEnabled(java.util.List<ClasspathEntry> testBundleClassPath, java.util.Properties surefireProperties)
TestFrameworkProvider
isEnabled
in interface TestFrameworkProvider
isEnabled
in class AbstractJUnitProvider
testBundleClassPath
- 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()
TestFrameworkProvider
public org.osgi.framework.Version getVersion()
TestFrameworkProvider
public java.util.List<org.apache.maven.model.Dependency> getRequiredBundles()
TestFrameworkProvider
null
) will be matched against
the plugin dependencies of tycho-surefire-plugin.protected java.util.Set<java.lang.String> getJUnitBundleNames()
getJUnitBundleNames
in class AbstractJUnitProvider
protected org.osgi.framework.VersionRange getJUnitVersionRange()
getJUnitVersionRange
in class AbstractJUnitProvider