@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()
TestFrameworkProvider
getType
in interface TestFrameworkProvider
public org.osgi.framework.Version getVersion()
TestFrameworkProvider
getVersion
in interface TestFrameworkProvider
public String getSurefireProviderClassName()
TestFrameworkProvider
getSurefireProviderClassName
in interface TestFrameworkProvider
public boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties)
TestFrameworkProvider
isEnabled
in interface TestFrameworkProvider
testBundleClassPath
- classpath of the test bundlesurefireProperties
- surefire provider propertiespublic List<org.apache.maven.model.Dependency> getRequiredBundles()
TestFrameworkProvider
null
) will be matched against
the plugin dependencies of tycho-surefire-plugin.getRequiredBundles
in interface TestFrameworkProvider
public Properties getProviderSpecificProperties()
TestFrameworkProvider
getProviderSpecificProperties
in interface TestFrameworkProvider
Copyright © 2008–2018 Eclipse Foundation. All rights reserved.