You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2012/07/11 23:53:30 UTC

git commit: DELTASPIKE-220 add SeCategory to prevent scanning errors

Updated Branches:
  refs/heads/master ac08982b1 -> 4bb4d94c1


DELTASPIKE-220 add SeCategory to prevent scanning errors

SeCategory doesn't get used in this test, but in the other.
And since the other classes from this package also get scanned
they lead to a Class exception otherwise


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

Branch: refs/heads/master
Commit: 4bb4d94c11928ac3fbe7c751e742afa12b1a43b8
Parents: ac08982
Author: Mark Struberg <st...@apache.org>
Authored: Wed Jul 11 23:51:26 2012 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Wed Jul 11 23:51:26 2012 +0200

----------------------------------------------------------------------
 .../test/core/api/message/MinimalMessagesTest.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/4bb4d94c/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/message/MinimalMessagesTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/message/MinimalMessagesTest.java b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/message/MinimalMessagesTest.java
index c82a18f..672ba3e 100644
--- a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/message/MinimalMessagesTest.java
+++ b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/message/MinimalMessagesTest.java
@@ -20,6 +20,7 @@ package org.apache.deltaspike.test.core.api.message;
 
 import org.apache.deltaspike.core.api.provider.BeanProvider;
 import org.apache.deltaspike.core.impl.message.MessageBundleExtension;
+import org.apache.deltaspike.test.category.SeCategory;
 import org.apache.deltaspike.test.util.ArchiveUtils;
 import org.jboss.arquillian.container.test.api.Deployment;
 import org.jboss.arquillian.junit.Arquillian;
@@ -64,6 +65,7 @@ public class MinimalMessagesTest
                 .addAsLibraries(ArchiveUtils.getDeltaSpikeCoreArchive())
                 .addAsLibraries(testJar)
                 .addAsResource("customMinimalMessage_en.properties")
+                .addPackage(SeCategory.class.getPackage())
                 .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
                 .addAsServiceProvider(Extension.class,
                         MessageBundleExtension.class);