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 |
---|---|
Properties |
getProviderSpecificProperties()
Provider specific properties that are added to the generic test properties.
|
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 ).
|
String |
getType()
The test framework type, such as junit or testng
|
org.osgi.framework.Version |
getVersion()
The test framework version.
|
boolean |
isEnabled(List<ClasspathEntry> testBundleClassPath,
Properties providerProperties)
Whether this provider should be enabled for the given test bundle classpath and surefire
properties.
|
String getType()
org.osgi.framework.Version getVersion()
String getSurefireProviderClassName()
boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties providerProperties)
testBundleClassPath
- classpath of the test bundleproviderProperties
- surefire provider propertiesList<org.apache.maven.model.Dependency> getRequiredBundles()
null
) will be matched against
the plugin dependencies of tycho-surefire-plugin.Properties getProviderSpecificProperties()
Copyright © 2008–2021 Eclipse Foundation. All rights reserved.