[jboss-cvs] JBossAS SVN: r66762 - in projects/vfs/trunk: src/test/java/org/jboss/test/virtual/test and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 6 05:59:16 EST 2007


Author: alesj
Date: 2007-11-06 05:59:16 -0500 (Tue, 06 Nov 2007)
New Revision: 66762

Modified:
   projects/vfs/trunk/pom.xml
   projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/MemoryTestCase.java
Log:
Add setUp on MemoryTestCase.
Fix versions of dependency artifacts.

Modified: projects/vfs/trunk/pom.xml
===================================================================
--- projects/vfs/trunk/pom.xml	2007-11-06 09:54:34 UTC (rev 66761)
+++ projects/vfs/trunk/pom.xml	2007-11-06 10:59:16 UTC (rev 66762)
@@ -71,20 +71,20 @@
 
   <dependencies>
     <dependency>
-      <groupId>jboss</groupId>
+      <groupId>org.jboss</groupId>
       <artifactId>jboss-common-core</artifactId>
-      <version>2.0.3.GA</version>
+      <version>2.2.1.GA</version>
     </dependency>
     <dependency>
       <groupId>jboss</groupId>
-      <artifactId>jboss-logging-log4j</artifactId>
+      <artifactId>jboss-logging-spi</artifactId>
       <version>2.0.3.GA</version>
       <scope>test</scope>
     </dependency>
     <dependency>
-      <groupId>jboss</groupId>
+      <groupId>org.jboss</groupId>
       <artifactId>jboss-test</artifactId>
-      <version>1.0.0.GA</version>
+      <version>1.0.4.GA</version>
       <scope>test</scope>
     </dependency>
     <dependency>

Modified: projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/MemoryTestCase.java
===================================================================
--- projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/MemoryTestCase.java	2007-11-06 09:54:34 UTC (rev 66761)
+++ projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/MemoryTestCase.java	2007-11-06 10:59:16 UTC (rev 66762)
@@ -286,17 +286,19 @@
       }
    }
    
-   protected void setUp()
+   protected void setUp() throws Exception
    {
+      super.setUp();
       VFS.init();
-      System.out.println("java.protocol.handler.pkgs: " + System.getProperty("java.protocol.handler.pkgs"));
+      getLog().info("java.protocol.handler.pkgs: " + System.getProperty("java.protocol.handler.pkgs"));
    }
+
    private String readURL(URL url) throws IOException
    {
       InputStream is = url.openStream();
-      String s = readIS(is);
-      return s;
+      return readIS(is);
    }
+
    private String readIS(InputStream is)
       throws IOException
    {




More information about the jboss-cvs-commits mailing list