public interface TestFrameworkProvider
Component
in the classpath of
tycho-surefire-plugin implementing this interface is registered as a tycho test framework
provider.Modifier and Type | Method and Description |
---|---|
java.util.Properties |
getProviderSpecificProperties()
Provider specific properties that are added to the generic test properties.
|
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 ).
|
java.lang.String |
getType()
The test framework type, such as junit or testng
|
org.osgi.framework.Version |
getVersion()
The test framework version.
|
boolean |
isEnabled(java.util.List<ClasspathEntry> testBundleClassPath,
java.util.Properties providerProperties)
Whether this provider should be enabled for the given test bundle classpath and surefire
properties.
|
java.lang.String getType()
org.osgi.framework.Version getVersion()
java.lang.String getSurefireProviderClassName()
boolean isEnabled(java.util.List<ClasspathEntry> testBundleClassPath, java.util.Properties providerProperties)
testBundleClassPath
- classpath of the test bundleproviderProperties
- surefire provider propertiesjava.util.List<org.apache.maven.model.Dependency> getRequiredBundles()
null
) will be matched against
the plugin dependencies of tycho-surefire-plugin.java.util.Properties getProviderSpecificProperties()