You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by gp...@apache.org on 2016/05/20 17:44:28 UTC

deltaspike git commit: DELTASPIKE-1151 dropped optional cleanup

Repository: deltaspike
Updated Branches:
  refs/heads/master b67298237 -> b02acc77e


DELTASPIKE-1151 dropped optional cleanup


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

Branch: refs/heads/master
Commit: b02acc77ef1cd53abc40238f02950a4c404517e3
Parents: b672982
Author: gpetracek <gp...@apache.org>
Authored: Fri May 20 19:38:39 2016 +0200
Committer: gpetracek <gp...@apache.org>
Committed: Fri May 20 19:38:50 2016 +0200

----------------------------------------------------------------------
 .../deltaspike/testcontrol/api/junit/CdiTestRunner.java     | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/b02acc77/deltaspike/modules/test-control/api/src/main/java/org/apache/deltaspike/testcontrol/api/junit/CdiTestRunner.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/test-control/api/src/main/java/org/apache/deltaspike/testcontrol/api/junit/CdiTestRunner.java b/deltaspike/modules/test-control/api/src/main/java/org/apache/deltaspike/testcontrol/api/junit/CdiTestRunner.java
index 8cd2593..1f97094 100644
--- a/deltaspike/modules/test-control/api/src/main/java/org/apache/deltaspike/testcontrol/api/junit/CdiTestRunner.java
+++ b/deltaspike/modules/test-control/api/src/main/java/org/apache/deltaspike/testcontrol/api/junit/CdiTestRunner.java
@@ -265,7 +265,7 @@ public class CdiTestRunner extends BlockJUnit4ClassRunner
         Statement result = super.withAfterClasses(statement);
         if (!CdiTestSuiteRunner.isContainerStarted())
         {
-            return new AfterClassStatement(result, this.testContext, notifierIdentities);
+            return new AfterClassStatement(result, this.testContext);
         }
         return result;
     }
@@ -377,22 +377,17 @@ public class CdiTestRunner extends BlockJUnit4ClassRunner
     {
         private final Statement wrapped;
         private final ContainerAwareTestContext testContext;
-        private Set<Integer> notifierIdentities;
 
         public AfterClassStatement(Statement statement,
-                                   ContainerAwareTestContext testContext,
-                                   Set<Integer> notifierIdentities)
+                                   ContainerAwareTestContext testContext)
         {
             this.wrapped = statement;
             this.testContext = testContext;
-            this.notifierIdentities = notifierIdentities;
         }
 
         @Override
         public void evaluate() throws Throwable
         {
-            notifierIdentities.clear();
-
             try
             {
                 wrapped.evaluate();