deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject git commit: DELTASPIKE-399 Switched to using @Before to deal with Arquillian ordering and loading issues.
Date Fri, 27 Dec 2013 14:06:05 GMT
Updated Branches:
  refs/heads/master 00bd78abc -> ee6e40676


DELTASPIKE-399 Switched to using @Before to deal with Arquillian ordering and loading issues.


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

Branch: refs/heads/master
Commit: ee6e406763cecde1608bfdd9ae7cac75c9b738f3
Parents: 00bd78a
Author: John D. Ament <john.d.ament@gmail.com>
Authored: Fri Dec 27 09:05:54 2013 -0500
Committer: John D. Ament <john.d.ament@gmail.com>
Committed: Fri Dec 27 09:05:54 2013 -0500

----------------------------------------------------------------------
 .../test/core/impl/resourceloader/FileResourceTest.java         | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/ee6e4067/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/FileResourceTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/FileResourceTest.java
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/FileResourceTest.java
index 6ecca2d..fed41a4 100644
--- a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/FileResourceTest.java
+++ b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/FileResourceTest.java
@@ -29,6 +29,7 @@ import org.jboss.shrinkwrap.api.ShrinkWrap;
 import org.jboss.shrinkwrap.api.asset.EmptyAsset;
 import org.jboss.shrinkwrap.api.spec.WebArchive;
 import org.junit.Assert;
+import org.junit.Before;
 import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -47,8 +48,8 @@ public class FileResourceTest
 {
     private static String tempFileName;
 
-    @BeforeClass
-    public static void createTempFile()
+    @Before
+    public void createTempFile()
     {
         String javaiotmpdir = System.getProperty("java.io.tmpdir","/tmp");
         File tmpDir = new File(javaiotmpdir);


Mime
View raw message