1 /*2 * JBoss, Home of Professional Open Source3 * Copyright 2005, JBoss Inc., and individual contributors as indicated4 * by the @authors tag. See the copyright.txt in the distribution for a5 * full listing of individual contributors.6 *7 * This is free software; you can redistribute it and/or modify it8 * under the terms of the GNU Lesser General Public License as9 * published by the Free Software Foundation; either version 2.1 of10 * the License, or (at your option) any later version.11 *12 * This software is distributed in the hope that it will be useful,13 * but WITHOUT ANY WARRANTY; without even the implied warranty of14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU15 * Lesser General Public License for more details.16 *17 * You should have received a copy of the GNU Lesser General Public18 * License along with this software; if not, write to the Free19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.21 */22 package org.jboss.test.system.metadata.value;23 24 import junit.framework.Test;25 import junit.framework.TestSuite;26 import junit.textui.TestRunner;27 28 import org.jboss.test.system.metadata.value.depends.test.DependencyValueUnitTestCase;29 import org.jboss.test.system.metadata.value.dependslist.test.DependencyListValueUnitTestCase;30 import org.jboss.test.system.metadata.value.element.test.ElementValueUnitTestCase;31 import org.jboss.test.system.metadata.value.inject.test.InjectionValueUnitTestCase;32 import org.jboss.test.system.metadata.value.javabean.test.JavaBeanValueUnitTestCase;33 import org.jboss.test.system.metadata.value.jbxb.test.JBXBValueUnitTestCase;34 import org.jboss.test.system.metadata.value.text.test.TextValueUnitTestCase;35 36 /**37 * MetaData Value Test Suite.38 * 39 * @author <a HREF="adrian@jboss.com">Adrian Brock</a>40 * @version $Revision: 1.8 $41 */42 public class MetaDataValueTestSuite extends TestSuite43 {44 public static void main(String [] args)45 {46 TestRunner.run(suite());47 }48 49 public static Test suite()50 {51 TestSuite suite = new TestSuite("MetaData Value Tests");52 53 suite.addTest(new TestSuite(TextValueUnitTestCase.class));54 suite.addTest(new TestSuite(DependencyValueUnitTestCase.class));55 suite.addTest(new TestSuite(DependencyListValueUnitTestCase.class));56 suite.addTest(new TestSuite(ElementValueUnitTestCase.class));57 suite.addTest(new TestSuite(JavaBeanValueUnitTestCase.class));58 suite.addTest(new TestSuite(JBXBValueUnitTestCase.class));59 suite.addTest(new TestSuite(InjectionValueUnitTestCase.class));60 61 return suite;62 }63 }64