Class JUnit5Provider
- java.lang.Object
-
- org.eclipse.tycho.surefire.provider.impl.AbstractJUnitProvider
-
- org.eclipse.tycho.surefire.provider.impl.JUnit5Provider
-
- All Implemented Interfaces:
TestFrameworkProvider
@Component(role=TestFrameworkProvider.class, hint="junit5") public class JUnit5Provider extends AbstractJUnitProvider
-
-
Field Summary
Fields Modifier and Type Field Description private static org.osgi.framework.Version
VERSION
-
Constructor Summary
Constructors Constructor Description JUnit5Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Set<java.lang.String>
getJUnitBundleNames()
protected org.osgi.framework.VersionRange
getJUnitVersionRange()
java.util.List<org.apache.maven.model.Dependency>
getRequiredBundles()
The list of OSGi bundles required by the test framework provider as maven artifacts.java.lang.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
-
getJUnitBundleNames
protected java.util.Set<java.lang.String> getJUnitBundleNames()
- Specified by:
getJUnitBundleNames
in classAbstractJUnitProvider
-
getSurefireProviderClassName
public java.lang.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 java.util.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
-
-