ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [3/9] ant git commit: whitespace
Date Sun, 04 Sep 2016 14:25:32 GMT
whitespace


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/bdba0f5c
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/bdba0f5c
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/bdba0f5c

Branch: refs/heads/master
Commit: bdba0f5c1f1647d8694fc95cbcf4c6457699ac0c
Parents: e290fd7
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Sun Sep 4 12:05:58 2016 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Sun Sep 4 12:05:58 2016 +0200

----------------------------------------------------------------------
 .../optional/junit/JUnitReportTest.java         | 26 ++++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/bdba0f5c/src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
----------------------------------------------------------------------
diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
index c5b6feb..1551a5b 100644
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java
@@ -40,11 +40,11 @@ import org.junit.Test;
  *
  */
 public class JUnitReportTest {
-	
-	@Rule
-	public BuildFileRule buildRule = new BuildFileRule();
 
-	@Before
+    @Rule
+    public BuildFileRule buildRule = new BuildFileRule();
+
+    @Before
     public void setUp() {
         buildRule.configureProject("src/etc/testcases/taskdefs/optional/junitreport.xml");
     }
@@ -54,11 +54,11 @@ public class JUnitReportTest {
      * output is selected via the default.
      * Needs reports1 task from junitreport.xml.
      */
-	@Test
+    @Test
     public void testNoFileJUnitNoFrames() {
         buildRule.executeTarget("reports1");
         assertFalse("No file junit-noframes.html expected", (new File(System.getProperty("root"),
"src/etc/testcases/taskdefs/optional/junitreport/test/html/junit-noframes.html").exists()));
-        
+
     }
 
     public void assertIndexCreated() {
@@ -71,23 +71,23 @@ public class JUnitReportTest {
 
     @Test
     public void testEmptyFile() throws Exception {
-    	buildRule.executeTarget("testEmptyFile");
+        buildRule.executeTarget("testEmptyFile");
         assertIndexCreated();
-    	assertContains("Required text not found in log", XMLResultAggregator.WARNING_EMPTY_FILE,
buildRule.getLog());
+        assertContains("Required text not found in log", XMLResultAggregator.WARNING_EMPTY_FILE,
buildRule.getLog());
     }
 
     @Test
     public void testIncompleteFile() throws Exception {
         buildRule.executeTarget("testIncompleteFile");
         assertIndexCreated();
-    	assertContains("Required text not found in log", XMLResultAggregator.WARNING_IS_POSSIBLY_CORRUPTED,
buildRule.getLog());
+        assertContains("Required text not found in log", XMLResultAggregator.WARNING_IS_POSSIBLY_CORRUPTED,
buildRule.getLog());
     }
-    
+
     @Test
     public void testWrongElement() throws Exception {
         buildRule.executeTarget("testWrongElement");
         assertIndexCreated();
-    	assertContains("Required text not found in log", XMLResultAggregator.WARNING_INVALID_ROOT_ELEMENT,
buildRule.getLog());
+        assertContains("Required text not found in log", XMLResultAggregator.WARNING_INVALID_ROOT_ELEMENT,
buildRule.getLog());
     }
 
     // Bugzilla Report 34963
@@ -196,8 +196,8 @@ public class JUnitReportTest {
 
     @Test
     public void testWithParams() throws Exception {
-    	buildRule.executeTarget("testWithParams");
-    	assertContains("key1=value1,key2=value2", buildRule.getLog());
+        buildRule.executeTarget("testWithParams");
+        assertContains("key1=value1,key2=value2", buildRule.getLog());
         File reportFile = new File(buildRule.getOutputDir(), "html/index.html");
         // tests one the file object
         assertTrue("No index.html present. Not generated?", reportFile.exists() );


Mime
View raw message