@Component(role=TestFrameworkProvider.class, hint="testng") public class TestNGProvider extends Object implements TestFrameworkProvider
| Constructor and Description |
|---|
TestNGProvider() |
| 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 surefireProperties)
Whether this provider should be enabled for the given test bundle classpath and surefire
properties.
|
public String getType()
TestFrameworkProvidergetType in interface TestFrameworkProviderpublic org.osgi.framework.Version getVersion()
TestFrameworkProvidergetVersion in interface TestFrameworkProviderpublic String getSurefireProviderClassName()
TestFrameworkProvidergetSurefireProviderClassName in interface TestFrameworkProviderpublic boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties)
TestFrameworkProviderisEnabled in interface TestFrameworkProvidertestBundleClassPath - classpath of the test bundlesurefireProperties - surefire provider propertiespublic List<org.apache.maven.model.Dependency> getRequiredBundles()
TestFrameworkProvidernull) will be matched against
the plugin dependencies of tycho-surefire-plugin.getRequiredBundles in interface TestFrameworkProviderpublic Properties getProviderSpecificProperties()
TestFrameworkProvidergetProviderSpecificProperties in interface TestFrameworkProviderCopyright © 2008–2017 Eclipse Foundation. All rights reserved.