Class JUnit3Provider
- java.lang.Object
-
- org.eclipse.tycho.surefire.provider.impl.AbstractJUnitProvider
-
- org.eclipse.tycho.surefire.provider.impl.JUnit3Provider
-
- All Implemented Interfaces:
TestFrameworkProvider
@Component(role=TestFrameworkProvider.class, hint="junit3") public class JUnit3Provider extends AbstractJUnitProvider
-
-
Constructor Summary
Constructors Constructor Description JUnit3Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>
getJUnitBundleNames()
protected org.osgi.framework.VersionRange
getJUnitVersionRange()
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 ).org.osgi.framework.Version
getVersion()
The test framework version.-
Methods inherited from class org.eclipse.tycho.surefire.provider.impl.AbstractJUnitProvider
getProviderSpecificProperties, getType, isEnabled
-
-
-
-
Method Detail
-
getSurefireProviderClassName
public String getSurefireProviderClassName()
Description copied from interface:TestFrameworkProvider
Fully qualified class name of the surefire provider (must implement contract http://maven.apache.org/plugins/maven-surefire-plugin/api.html ).
-
getVersion
public org.osgi.framework.Version getVersion()
Description copied from interface:TestFrameworkProvider
The test framework version. If several providers of the same type are enabled, the one with the highest version wins.
-
getRequiredBundles
public List<org.apache.maven.model.Dependency> getRequiredBundles()
Description copied from interface:TestFrameworkProvider
The list of OSGi bundles required by the test framework provider as maven artifacts. The groupId, artifactId and optionally version (if !=null
) will be matched against the plugin dependencies of tycho-surefire-plugin.
-
getJUnitVersionRange
protected org.osgi.framework.VersionRange getJUnitVersionRange()
- Specified by:
getJUnitVersionRange
in classAbstractJUnitProvider
-
getJUnitBundleNames
protected Set<String> getJUnitBundleNames()
- Specified by:
getJUnitBundleNames
in classAbstractJUnitProvider
-
-