public abstract class AbstractJUnitProvider extends java.lang.Object implements TestFrameworkProvider
Constructor and Description |
---|
AbstractJUnitProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Set<java.lang.String> |
getJUnitBundleNames() |
protected abstract org.osgi.framework.VersionRange |
getJUnitVersionRange() |
java.util.Properties |
getProviderSpecificProperties()
Provider specific properties that are added to the generic test properties.
|
java.lang.String |
getType()
The test framework type, such as junit or testng
|
boolean |
isEnabled(java.util.List<ClasspathEntry> testBundleClassPath,
java.util.Properties surefireProperties)
Whether this provider should be enabled for the given test bundle classpath and surefire
properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredBundles, getSurefireProviderClassName, getVersion
public java.lang.String getType()
TestFrameworkProvider
getType
in interface TestFrameworkProvider
public boolean isEnabled(java.util.List<ClasspathEntry> testBundleClassPath, java.util.Properties surefireProperties)
TestFrameworkProvider
isEnabled
in interface TestFrameworkProvider
testBundleClassPath
- classpath of the test bundlesurefireProperties
- surefire provider propertiespublic java.util.Properties getProviderSpecificProperties()
TestFrameworkProvider
getProviderSpecificProperties
in interface TestFrameworkProvider
protected abstract org.osgi.framework.VersionRange getJUnitVersionRange()
protected abstract java.util.Set<java.lang.String> getJUnitBundleNames()