@org.junit.Test public void testInit() { assertThat(test.getTestFramework(), instanceOf(JUnitTestFramework.class)); assertNull(test.getTestClassesDir()); assertNull(test.getClasspath()); assertNull(test.getTestResultsDir()); assertNull(test.getTestReportDir()); assertThat(test.getIncludes(), isEmpty()); assertThat(test.getExcludes(), isEmpty()); assertFalse(test.getIgnoreFailures()); }
@org.junit.Test public void testInit() { assertNotNull(test.getTestFramework()); assertNotNull(test.existingDirsFilter); assertNotNull(test.classpathConverter); assertNull(test.getTestClassesDir()); assertNull(test.getConfiguration()); assertNull(test.getTestResultsDir()); assertNull(test.getTestReportDir()); assertNull(test.getIncludes()); assertNull(test.getExcludes()); assertNull(test.getUnmanagedClasspath()); assert test.isStopAtFailuresOrErrors(); }