@Test public void testEnabled() throws Exception { assertTrue(junitProvider.isEnabled(classPath("org.junit:4.7"), parallelProperties())); assertTrue(junitProvider.isEnabled(classPath("org.junit4:4.8.1"), parallelProperties())); assertTrue(junitProvider.isEnabled(classPath("org.junit:3.8.2", "org.junit:4.7.0"), parallelProperties())); }
@Override public boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties) { if (hasGroups(surefireProperties)) { return true; } if (!isParallelEnabled(surefireProperties)) { return false; } return super.isEnabled(testBundleClassPath, surefireProperties); }
JUnit47Provider extends AbstractJUnitProvider { @Override public boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties) { if (hasGroups(surefireProperties)) { return true; } if (!isParallelEnabled(surefireProperties)) { return false; } return super.isEnabled(testBundleClassPath, surefireProperties); } }
JUnit47Provider extends AbstractJUnitProvider { @Override public boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties) { if (hasGroups(surefireProperties)) { return true; } if (!isParallelEnabled(surefireProperties)) { return false; } return super.isEnabled(testBundleClassPath, surefireProperties); }  }
JUnit47Provider extends AbstractJUnitProvider { @Override public boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties) { if (hasGroups(surefireProperties)) { return true; } if (!isParallelEnabled(surefireProperties)) { return false; } return super.isEnabled(testBundleClassPath, surefireProperties); }  @Override boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties); @Override String getSurefireProviderClassName(); @Override Version getVersion(); @Override List<Dependency> getRequiredBundles(); }
JUnit47Provider extends AbstractJUnitProvider { @Override public boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties) { if (hasGroups(surefireProperties)) { return true; } if (!isParallelEnabled(surefireProperties)) { return false; } return super.isEnabled(testBundleClassPath, surefireProperties); }  @Override boolean isEnabled(List<ClasspathEntry> testBundleClassPath, Properties surefireProperties); @Override String getSurefireProviderClassName(); @Override Version getVersion(); @Override List<Dependency> getRequiredBundles();  }