コード例 #1
0
ファイル: TestTest.java プロジェクト: peas/gradle
 @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.isIgnoreFailures());
 }
コード例 #2
0
 public void assertCanExecute() {
   assertNull(getExecutable());
   assertTrue(getEnvironmentVars().isEmpty());
 }