[jboss-cvs] JBossAS SVN: r87358 - projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 15 11:23:46 EDT 2009


Author: alesj
Date: 2009-04-15 11:23:45 -0400 (Wed, 15 Apr 2009)
New Revision: 87358

Added:
   projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/JarOverrideTestCase.java
Modified:
   projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/VFSAllTestSuite.java
Log:
Jar (nested) override test.
TODO - the actual test code. :-)

Copied: projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/JarOverrideTestCase.java (from rev 87337, projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/JAREntryTestCase.java)
===================================================================
--- projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/JarOverrideTestCase.java	                        (rev 0)
+++ projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/JarOverrideTestCase.java	2009-04-15 15:23:45 UTC (rev 87358)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.virtual.test;
+
+import junit.framework.Test;
+
+/**
+ * Test jar file override.
+ *
+ * @author ales.justin at jboss.org
+ */
+public class JarOverrideTestCase extends AbstractVFSTest
+{
+   public JarOverrideTestCase(String name)
+   {
+      super(name, false, false);
+   }
+
+   protected JarOverrideTestCase(String name, boolean forceCopy)
+   {
+      super(name, forceCopy, false);
+   }
+
+   public static Test suite()
+   {
+      return suite(JarOverrideTestCase.class);
+   }
+
+   public void testOverride() throws Exception
+   {
+      // TODO - cleanup, override code
+   }
+}
\ No newline at end of file

Modified: projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/VFSAllTestSuite.java
===================================================================
--- projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/VFSAllTestSuite.java	2009-04-15 15:19:30 UTC (rev 87357)
+++ projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/VFSAllTestSuite.java	2009-04-15 15:23:45 UTC (rev 87358)
@@ -69,6 +69,7 @@
       suite.addTest(CopyJAREntryTestCase.suite());
       suite.addTest(ZipEntryHandlerUnitTestCase.suite());
       suite.addTest(ZipEntryVFSContextUnitTestCase.suite());
+      suite.addTest(JarOverrideTestCase.suite());
       // contexts
       suite.addTest(AssembledContextTestCase.suite());
       suite.addTest(MemoryTestCase.suite());




More information about the jboss-cvs-commits mailing list