[jboss-cvs] JBossAS SVN: r59013 - projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Dec 13 09:14:22 EST 2006


Author: alesj
Date: 2006-12-13 09:14:17 -0500 (Wed, 13 Dec 2006)
New Revision: 59013

Added:
   projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/DescribeSpringTestCase.java
Removed:
   projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/InstantiateSpringTestCase.java
Modified:
   projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/SpringTestSuite.java
Log:
JBMICROCONT-26; tests

Copied: projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/DescribeSpringTestCase.java (from rev 59007, projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/InstantiateSpringTestCase.java)
===================================================================
--- projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/InstantiateSpringTestCase.java	2006-12-12 23:50:32 UTC (rev 59007)
+++ projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/DescribeSpringTestCase.java	2006-12-13 14:14:17 UTC (rev 59013)
@@ -0,0 +1,55 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* 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.spring.test;
+
+import junit.framework.Test;
+import org.jboss.beans.metadata.spi.BeanMetaData;
+
+/**
+ * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
+ */
+public class DescribeSpringTestCase extends TempSpringSchemaTest
+{
+
+   public DescribeSpringTestCase(String name)
+   {
+      super(name);
+   }
+
+   /**
+    * Setup the test
+    *
+    * @return the test
+    */
+   public static Test suite()
+   {
+      return suite(DescribeSpringTestCase.class);
+   }
+
+   public void testDescribe() throws Exception
+   {
+      BeanMetaData simpleBeanMD = unmarshal("TestInstantiate.xml", BeanMetaData.class);
+      // todo - test descriptions
+      System.out.println("simpleBean = " + simpleBeanMD);
+   }
+
+}

Deleted: projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/InstantiateSpringTestCase.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/InstantiateSpringTestCase.java	2006-12-13 12:42:28 UTC (rev 59012)
+++ projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/InstantiateSpringTestCase.java	2006-12-13 14:14:17 UTC (rev 59013)
@@ -1,54 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* 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.spring.test;
-
-import junit.framework.Test;
-import org.jboss.beans.metadata.spi.BeanMetaData;
-
-/**
- * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
- */
-public class InstantiateSpringTestCase extends TempSpringSchemaTest
-{
-
-   public InstantiateSpringTestCase(String name)
-   {
-      super(name);
-   }
-
-   /**
-    * Setup the test
-    *
-    * @return the test
-    */
-   public static Test suite()
-   {
-      return suite(InstantiateSpringTestCase.class);
-   }
-
-   public void testInstantiate() throws Exception
-   {
-      BeanMetaData simpleBeanMD = unmarshal("TestInstantiate.xml", BeanMetaData.class);
-      System.out.println("simpleBean = " + simpleBeanMD);
-   }
-
-}

Modified: projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/SpringTestSuite.java
===================================================================
--- projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/SpringTestSuite.java	2006-12-13 12:42:28 UTC (rev 59012)
+++ projects/microcontainer/trunk/spring-int/src/tests/org/jboss/test/spring/test/SpringTestSuite.java	2006-12-13 14:14:17 UTC (rev 59013)
@@ -40,7 +40,7 @@
    {
       TestSuite suite = new TestSuite("Spring Tests");
 
-      suite.addTest(InstantiateSpringTestCase.suite());
+      suite.addTest(DescribeSpringTestCase.suite());
 
       return suite;
    }




More information about the jboss-cvs-commits mailing list