Class AbstractJUnitProvider

    • Constructor Detail

      • AbstractJUnitProvider

        public AbstractJUnitProvider()
    • Method Detail

      • isEnabled

        public boolean isEnabled​(java.util.List<ClasspathEntry> testBundleClassPath,
                                 java.util.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
      • getProviderSpecificProperties

        public java.util.Properties getProviderSpecificProperties()
        Description copied from interface: TestFrameworkProvider
        Provider specific properties that are added to the generic test properties. Implementations must not return null.
        Specified by:
        getProviderSpecificProperties in interface TestFrameworkProvider
        Returns:
      • getJUnitVersionRange

        protected abstract org.osgi.framework.VersionRange getJUnitVersionRange()
      • getJUnitBundleNames

        protected abstract java.util.Set<java.lang.String> getJUnitBundleNames()