[jboss-cvs] JBossAS SVN: r82499 - projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/webbeans/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 23 04:16:45 EST 2008
Author: alesj
Date: 2008-12-23 04:16:44 -0500 (Tue, 23 Dec 2008)
New Revision: 82499
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/webbeans/test/WebBeanDiscoveryTestCase.java
Log:
Copy/paste typo.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/webbeans/test/WebBeanDiscoveryTestCase.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/webbeans/test/WebBeanDiscoveryTestCase.java 2008-12-23 08:46:44 UTC (rev 82498)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/webbeans/test/WebBeanDiscoveryTestCase.java 2008-12-23 09:16:44 UTC (rev 82499)
@@ -65,12 +65,12 @@
assertNotNull(wbDiscovery);
Set<String> expected = new HashSet<String>();
- addExpectedClass(expected, "ejbs.jar");
- addExpectedClass(expected, "ext.jar");
- addExpectedClass(expected, "simple.jar");
- addExpectedClass(expected, "ui.jar");
- addExpectedClass(expected, "crm.jar");
- addExpectedClass(expected, "simple.war", "/WEB-INF/web-beans.xml");
+ addExpectedResouorce(expected, "ejbs.jar");
+ addExpectedResouorce(expected, "ext.jar");
+ addExpectedResouorce(expected, "simple.jar");
+ addExpectedResouorce(expected, "ui.jar");
+ addExpectedResouorce(expected, "crm.jar");
+ addExpectedResource(expected, "simple.war", "/WEB-INF/web-beans.xml");
for (URL url : wbDiscovery.discoverWebBeansXml())
{
@@ -110,12 +110,12 @@
}
}
- private static void addExpectedClass(Set<String> expected, String unit)
+ private static void addExpectedResouorce(Set<String> expected, String unit)
{
- addExpectedClass(expected, unit, "/META-INF/web-beans.xml");
+ addExpectedResource(expected, unit, "/META-INF/web-beans.xml");
}
- private static void addExpectedClass(Set<String> expected, String unit, String suffix)
+ private static void addExpectedResource(Set<String> expected, String unit, String suffix)
{
expected.add(unit + suffix);
}
More information about the jboss-cvs-commits
mailing list