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.VersionVERSION
-
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.VersionRangegetJUnitVersionRange()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.StringgetSurefireProviderClassName()Fully qualified class name of the surefire provider (must implement contract http://maven.apache.org/plugins/maven-surefire-plugin/api.html ).org.osgi.framework.VersiongetVersion()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:
getJUnitBundleNamesin classAbstractJUnitProvider
-
getSurefireProviderClassName
public java.lang.String getSurefireProviderClassName()
Description copied from interface:TestFrameworkProviderFully 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:TestFrameworkProviderThe 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:TestFrameworkProviderThe 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:
getJUnitVersionRangein classAbstractJUnitProvider
-
-