You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/03/29 18:25:35 UTC

ant-antlibs-antunit git commit: typo

Repository: ant-antlibs-antunit
Updated Branches:
  refs/heads/master 2156501c4 -> 6da3499ff


typo


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

Branch: refs/heads/master
Commit: 6da3499ff2ad5552c39cf3ffdb44611e4e2ba791
Parents: 2156501
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Mar 29 18:25:18 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Mar 29 18:25:18 2016 +0200

----------------------------------------------------------------------
 .../ant/antunit/junit4/AntUnitSuiteRunnerTest.java      | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/blob/6da3499f/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
----------------------------------------------------------------------
diff --git a/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java b/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
index f992795..a30ff6a 100644
--- a/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
+++ b/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
@@ -37,7 +37,7 @@ import org.junit.runner.notification.RunNotifier;
 public class AntUnitSuiteRunnerTest extends TestCase {
 
     private boolean mockExecutionOK = false;
-    private String mockExcutionError = "";
+    private String mockExecutionError = "";
 
     /**
      * Validates the execution sequence.
@@ -76,11 +76,11 @@ public class AntUnitSuiteRunnerTest extends TestCase {
 
             public void fireTestStarted(Description description) {
                 if (curTest != null) {
-                    mockExcutionError += "Unexpected fireTestStarted("
+                    mockExecutionError += "Unexpected fireTestStarted("
                             + description.getDisplayName() + "\n";
                 }
                 if (!tDescs.contains(description)) {
-                    mockExcutionError += "Unexpected fireTestStarted("
+                    mockExecutionError += "Unexpected fireTestStarted("
                             + description.getDisplayName() + ")\n";
                 }
                 curTest = description;
@@ -88,11 +88,11 @@ public class AntUnitSuiteRunnerTest extends TestCase {
 
             public void fireTestFinished(Description description) {
                 if (curTest == null) {
-                    mockExcutionError += "Unexpected fireTestFinished("
+                    mockExecutionError += "Unexpected fireTestFinished("
                             + description.getDisplayName() + "\n";
                 }
                 if (!curTest.equals(description)) {
-                    mockExcutionError += "Unexpected fireTestFinished("
+                    mockExecutionError += "Unexpected fireTestFinished("
                             + description.getDisplayName() + "); expect "
                             + curTest.getDisplayName() + "\n";
                 }
@@ -102,7 +102,7 @@ public class AntUnitSuiteRunnerTest extends TestCase {
         };
 
         runner.run(notifierMock);
-        assertTrue(mockExcutionError, mockExcutionError.length() == 0);
+        assertTrue(mockExecutionError, mockExecutionError.length() == 0);
         assertTrue(mockExecutionOK);
     }