Author: richard.opalka(a)jboss.com
Date: 2011-06-27 15:25:33 -0400 (Mon, 27 Jun 2011)
New Revision: 14631
Modified:
common/trunk/src/test/java/org/jboss/test/ws/common/ResourceLoaderAdapterTestCase.java
common/trunk/src/test/java/org/jboss/test/ws/common/URLLoaderAdapterTestCase.java
Log:
[JBWS-3323] fixing test to match new SPI packages hierarchy
Modified:
common/trunk/src/test/java/org/jboss/test/ws/common/ResourceLoaderAdapterTestCase.java
===================================================================
---
common/trunk/src/test/java/org/jboss/test/ws/common/ResourceLoaderAdapterTestCase.java 2011-06-27
19:24:04 UTC (rev 14630)
+++
common/trunk/src/test/java/org/jboss/test/ws/common/ResourceLoaderAdapterTestCase.java 2011-06-27
19:25:33 UTC (rev 14631)
@@ -50,16 +50,12 @@
assertNotNull(children);
assertTrue(children.size() > 0);
UnifiedVirtualFile unifiedVirtualFile = null;
- UnifiedVirtualFile integration = null;
for (UnifiedVirtualFile uvf : children)
{
if (uvf.getName().equals(UnifiedVirtualFile.class.getSimpleName() +
".class"))
unifiedVirtualFile = uvf;
- else if (uvf.getName().equals("integration/"))
- integration = uvf;
}
assertNotNull(unifiedVirtualFile);
- assertNotNull(integration);
assertTrue(unifiedVirtualFile.getChildren().size() == 0);
}
Modified:
common/trunk/src/test/java/org/jboss/test/ws/common/URLLoaderAdapterTestCase.java
===================================================================
---
common/trunk/src/test/java/org/jboss/test/ws/common/URLLoaderAdapterTestCase.java 2011-06-27
19:24:04 UTC (rev 14630)
+++
common/trunk/src/test/java/org/jboss/test/ws/common/URLLoaderAdapterTestCase.java 2011-06-27
19:25:33 UTC (rev 14631)
@@ -53,16 +53,12 @@
assertNotNull(children);
assertTrue(children.size() > 0);
UnifiedVirtualFile unifiedVirtualFile = null;
- UnifiedVirtualFile integration = null;
for (UnifiedVirtualFile uvf : children)
{
if (uvf.getName().equals(UnifiedVirtualFile.class.getSimpleName() +
".class"))
unifiedVirtualFile = uvf;
- else if (uvf.getName().equals("integration/"))
- integration = uvf;
}
assertNotNull(unifiedVirtualFile);
- assertNotNull(integration);
assertTrue(unifiedVirtualFile.getChildren().size() == 0);
}
Show replies by date