maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject [5/8] maven-surefire git commit: Remove senseless variable assignments
Date Fri, 23 Sep 2016 19:06:03 GMT
Remove senseless variable assignments


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

Branch: refs/heads/junit5
Commit: fd1e743f8de3ea8e40189f4c978843dcfe8b146b
Parents: 0fabae9
Author: Benedikt Ritter <beneritter@gmail.com>
Authored: Wed Sep 7 21:17:44 2016 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Fri Sep 23 21:04:47 2016 +0200

----------------------------------------------------------------------
 .../src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java | 2 --
 .../src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java | 2 --
 2 files changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/fd1e743f/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
index 9b1960f..2777c1d 100644
--- a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
+++ b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit4Test.java
@@ -39,14 +39,12 @@ public class JUnit4Test
     public void setUp()
     {
         setUpCalled = true;
-        tearDownCalled = false;
         System.out.println( "Called setUp" );
     }
 
     @After
     public void tearDown()
     {
-        setUpCalled = false;
         tearDownCalled = true;
         System.out.println( "Called tearDown" );
     }

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/fd1e743f/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
index 43eb2f3..8c805f2 100644
--- a/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
+++ b/surefire-integration-tests/src/test/resources/junit5/src/test/java/junit5/JUnit5Test.java
@@ -40,14 +40,12 @@ public class JUnit5Test
     public void setUp()
     {
         setUpCalled = true;
-        tearDownCalled = false;
         System.out.println( "Called setUp" );
     }
 
     @AfterEach
     public void tearDown()
     {
-        setUpCalled = false;
         tearDownCalled = true;
         System.out.println( "Called tearDown" );
     }


Mime
View raw message