Class TestNGProvider

    • Constructor Detail

      • TestNGProvider

        public TestNGProvider()
    • Method Detail

      • 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.
        Specified by:
        getVersion in interface TestFrameworkProvider
      • isEnabled

        public boolean isEnabled​(List<ClasspathEntry> testBundleClassPath,
                                 Properties surefireProperties)
        Description copied from interface: TestFrameworkProvider
        Whether this provider should be enabled for the given test bundle classpath and surefire properties.
        Specified by:
        isEnabled in interface TestFrameworkProvider
        Parameters:
        testBundleClassPath - classpath of the test bundle
        surefireProperties - surefire provider properties
      • 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.
        Specified by:
        getRequiredBundles in interface TestFrameworkProvider