[jboss-cvs] JBossAS SVN: r71073 - projects/jboss-mdr/trunk/src/tests/org/jboss/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 20 11:34:44 EDT 2008


Author: adrian at jboss.org
Date: 2008-03-20 11:34:43 -0400 (Thu, 20 Mar 2008)
New Revision: 71073

Added:
   projects/jboss-mdr/trunk/src/tests/org/jboss/test/MDRAllTestSuite.java
Log:
Add a testsuite for running all the tests

Added: projects/jboss-mdr/trunk/src/tests/org/jboss/test/MDRAllTestSuite.java
===================================================================
--- projects/jboss-mdr/trunk/src/tests/org/jboss/test/MDRAllTestSuite.java	                        (rev 0)
+++ projects/jboss-mdr/trunk/src/tests/org/jboss/test/MDRAllTestSuite.java	2008-03-20 15:34:43 UTC (rev 71073)
@@ -0,0 +1,53 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, 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;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+import org.jboss.test.annotation.factory.test.AnnotationCreatorTestSuite;
+import org.jboss.test.metadata.MetaDataAllTestSuite;
+
+/**
+ * MDR All Test Suite.
+ * 
+ * @author <a href="adrian at jboss.com">Adrian Brock</a>
+ * @version $Revision: 66074 $
+ */
+public class MDRAllTestSuite extends TestSuite
+{
+   public static void main(String[] args)
+   {
+      TestRunner.run(suite());
+   }
+
+   public static Test suite()
+   {
+      TestSuite suite = new TestSuite("MDR Tests");
+
+      suite.addTest(AnnotationCreatorTestSuite.suite());
+      suite.addTest(MetaDataAllTestSuite.suite());
+
+      return suite;
+   }
+}




More information about the jboss-cvs-commits mailing list