deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@apache.org
Subject git commit: DELTASPIKE-407 Tests for Servlet module incorrectly packaged
Date Tue, 03 Sep 2013 06:45:59 GMT
Updated Branches:
  refs/heads/master a37851c6a -> 28169465d


DELTASPIKE-407 Tests for Servlet module incorrectly packaged


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

Branch: refs/heads/master
Commit: 28169465dc1748c711ff16a86c000cffc14063a8
Parents: a37851c
Author: Christian Kaltepoth <christian@kaltepoth.de>
Authored: Tue Sep 3 08:45:28 2013 +0200
Committer: Christian Kaltepoth <christian@kaltepoth.de>
Committed: Tue Sep 3 08:45:28 2013 +0200

----------------------------------------------------------------------
 .../java/org/apache/deltaspike/test/servlet/impl/Deployments.java  | 2 +-
 .../test/servlet/impl/event/session/SessionEventsTest.java         | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/28169465/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/Deployments.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/Deployments.java
b/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/Deployments.java
index a059588..3289be8 100644
--- a/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/Deployments.java
+++ b/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/Deployments.java
@@ -69,7 +69,7 @@ public class Deployments
     {
         return ShrinkWrap.create(JavaArchive.class, "utils.jar")
                 .addPackages(true, "org.apache.http")  
-                .addPackages(true, "org.apache.deltaspike.test")
+                .addPackages(true, "org.apache.deltaspike.test.category")
                 ;
     }
 

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/28169465/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/event/session/SessionEventsTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/event/session/SessionEventsTest.java
b/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/event/session/SessionEventsTest.java
index bb9e137..b9fe6ae 100644
--- a/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/event/session/SessionEventsTest.java
+++ b/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/event/session/SessionEventsTest.java
@@ -65,6 +65,8 @@ public class SessionEventsTest
                 .addAsLibraries(Deployments.getDeltaSpikeServletArchives())
                 .addAsLibraries(Deployments.getTestSupportArchives())
                 .addClass(SessionEventsObserver.class)
+                .addClass(CreateSessionServlet.class)
+                .addClass(DestroySessionServlet.class)
                 .addAsWebInfResource(new StringAsset("<beans/>"), "beans.xml")
                 .addAsWebResource(new StringAsset("foobar"), "foobar.txt")
                 .setWebXML(new StringAsset(


Mime
View raw message