[jboss-cvs] JBossAS SVN: r94820 - in projects/metadata/ejb/branches/vfs3-int: src/test/java/org/jboss/test/metadata/serviceref and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 14 00:57:49 EDT 2009
Author: johnbailey
Date: 2009-10-14 00:57:49 -0400 (Wed, 14 Oct 2009)
New Revision: 94820
Modified:
projects/metadata/ejb/branches/vfs3-int/pom.xml
projects/metadata/ejb/branches/vfs3-int/src/test/java/org/jboss/test/metadata/serviceref/VFSAdaptorUnitTestCase.java
Log:
Integrated with VFS3
Modified: projects/metadata/ejb/branches/vfs3-int/pom.xml
===================================================================
--- projects/metadata/ejb/branches/vfs3-int/pom.xml 2009-10-14 04:57:05 UTC (rev 94819)
+++ projects/metadata/ejb/branches/vfs3-int/pom.xml 2009-10-14 04:57:49 UTC (rev 94820)
@@ -94,13 +94,13 @@
<dependency>
<groupId>org.jboss.metadata</groupId>
<artifactId>jboss-metadata-common</artifactId>
- <version>2.0.0.Alpha</version>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.metadata</groupId>
<artifactId>jboss-metadata-common</artifactId>
- <version>2.0.0.Alpha</version>
+ <version>2.0.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Modified: projects/metadata/ejb/branches/vfs3-int/src/test/java/org/jboss/test/metadata/serviceref/VFSAdaptorUnitTestCase.java
===================================================================
--- projects/metadata/ejb/branches/vfs3-int/src/test/java/org/jboss/test/metadata/serviceref/VFSAdaptorUnitTestCase.java 2009-10-14 04:57:05 UTC (rev 94819)
+++ projects/metadata/ejb/branches/vfs3-int/src/test/java/org/jboss/test/metadata/serviceref/VFSAdaptorUnitTestCase.java 2009-10-14 04:57:49 UTC (rev 94820)
@@ -28,8 +28,8 @@
import org.jboss.metadata.serviceref.VirtualFileAdaptor;
import org.jboss.test.AbstractTestCaseWithSetup;
import org.jboss.test.AbstractTestDelegate;
-import org.jboss.virtual.VFS;
-import org.jboss.virtual.VirtualFile;
+import org.jboss.vfs.VFS;
+import org.jboss.vfs.VirtualFile;
import org.jboss.wsf.spi.deployment.UnifiedVirtualFile;
/**
@@ -53,8 +53,8 @@
public void testVirtualFileAdaptor() throws Exception
{
URL url = getResource("/org/jboss/test/metadata");
- VirtualFile root = VFS.getRoot(url);
- VirtualFile jpa = root.findChild("jpa");
+ VirtualFile root = VFS.getChild(url);
+ VirtualFile jpa = root.getChild("jpa");
// direct vfs file
VirtualFileAdaptor adaptor = new VirtualFileAdaptor(jpa);
testVFSAdaptor(adaptor);
More information about the jboss-cvs-commits
mailing list