@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.
|
getType
public boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties)
TestFrameworkProvider
isEnabled
in interface TestFrameworkProvider
isEnabled
in class AbstractJUnitProvider
testBundleClassPath
- classpath of the test bundlesurefireProperties
- surefire provider propertiespublic String getSurefireProviderClassName()
TestFrameworkProvider
public org.osgi.framework.Version getVersion()
TestFrameworkProvider
public List<org.apache.maven.model.Dependency> getRequiredBundles()
TestFrameworkProvider
null
) will be matched against
the plugin dependencies of tycho-surefire-plugin.protected Set<String> getJUnitBundleNames()
getJUnitBundleNames
in class AbstractJUnitProvider
protected org.osgi.framework.VersionRange getJUnitVersionRange()
getJUnitVersionRange
in class AbstractJUnitProvider
Copyright © 2008-2016 Eclipse Foundation. All Rights Reserved.