deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject deltaspike git commit: DELTASPIKE-1151 dropped optional cleanup
Date Fri, 20 May 2016 17:44:28 GMT
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 <gpetracek@apache.org>
Authored: Fri May 20 19:38:39 2016 +0200
Committer: gpetracek <gpetracek@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();


Mime
View raw message