deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject git commit: DELTASPIKE-492 fixed setup for unit-tests
Date Thu, 06 Mar 2014 07:49:30 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master d21728d64 -> a28c394ca


DELTASPIKE-492 fixed setup for unit-tests


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

Branch: refs/heads/master
Commit: a28c394ca335688ee38c0e6fcdf1ca605cb9b53a
Parents: d21728d
Author: gpetracek <gpetracek@apache.org>
Authored: Thu Mar 6 08:31:57 2014 +0100
Committer: gpetracek <gpetracek@apache.org>
Committed: Thu Mar 6 08:47:55 2014 +0100

----------------------------------------------------------------------
 .../test/servlet/impl/resourceloader/WebResourceProviderTest.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/a28c394c/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/resourceloader/WebResourceProviderTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/resourceloader/WebResourceProviderTest.java
b/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/resourceloader/WebResourceProviderTest.java
index fc956d3..01a0e6e 100644
--- a/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/resourceloader/WebResourceProviderTest.java
+++ b/deltaspike/modules/servlet/impl/src/test/java/org/apache/deltaspike/test/servlet/impl/resourceloader/WebResourceProviderTest.java
@@ -48,6 +48,7 @@ public class WebResourceProviderTest
     public static WebArchive getDeployment()
     {
         return ShrinkWrap.create(WebArchive.class, WebResourceProviderTest.class.getSimpleName()
+ ".war")
+                .addClass(WebResourceProvider.class)
                 .addAsLibraries(Deployments.getDeltaSpikeCoreArchives())
                 .addAsLibraries(Deployments.getDeltaSpikeServletArchives())
                 .addAsLibraries(Deployments.getTestSupportArchives())


Mime
View raw message