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.proxyfactory;23 24 import junit.framework.Test;25 import junit.framework.TestSuite;26 import junit.textui.TestRunner;27 28 import org.jboss.test.proxyfactory.test.DataSourceTestCase;29 import org.jboss.test.proxyfactory.test.HollowInterfaceAndMixinTestCase;30 import org.jboss.test.proxyfactory.test.HollowTestCase;31 import org.jboss.test.proxyfactory.test.HollowWithMixinTestCase;32 import org.jboss.test.proxyfactory.test.InstanceAdvisedTestCase;33 import org.jboss.test.proxyfactory.test.InterceptedMixinTestCase;34 import org.jboss.test.proxyfactory.test.InterfaceAndMixinTestCase;35 import org.jboss.test.proxyfactory.test.NonInterfaceAdvisedTestCase;36 import org.jboss.test.proxyfactory.test.NonInterfaceNotAdvisedTestCase;37 import org.jboss.test.proxyfactory.test.ObjectTestCase;38 import org.jboss.test.proxyfactory.test.ProxyCacheTestCase;39 import org.jboss.test.proxyfactory.test.SerializableTestCase;40 import org.jboss.test.proxyfactory.test.SimpleMetaDataTestCase;41 import org.jboss.test.proxyfactory.test.SimpleMixinTestCase;42 import org.jboss.test.proxyfactory.test.SimpleTestCase;43 import org.jboss.test.proxyfactory.test.TaggingInterfaceTestCase;44 45 /**46 * ProxyFactory Test Suite.47 * 48 * @author <a HREF="adrian@jboss.com">Adrian Brock</a>49 * @version $Revision: 44806 $50 */51 public class ProxyFactoryTestSuite extends TestSuite52 {53 public static void main(String [] args)54 {55 TestRunner.run(suite());56 }57 58 public static Test suite()59 {60 TestSuite suite = new TestSuite("ProxyFactory Tests");61 62 suite.addTest(SimpleTestCase.suite());63 suite.addTest(ProxyCacheTestCase.suite());64 suite.addTest(NonInterfaceAdvisedTestCase.suite());65 suite.addTest(NonInterfaceNotAdvisedTestCase.suite());66 suite.addTest(TaggingInterfaceTestCase.suite());67 suite.addTest(InstanceAdvisedTestCase.suite());68 suite.addTest(SimpleMetaDataTestCase.suite());69 suite.addTest(SimpleMixinTestCase.suite());70 suite.addTest(InterceptedMixinTestCase.suite());71 suite.addTest(HollowWithMixinTestCase.suite());72 suite.addTest(InterfaceAndMixinTestCase.suite());73 suite.addTest(HollowInterfaceAndMixinTestCase.suite());74 suite.addTest(ObjectTestCase.suite());75 suite.addTest(HollowTestCase.suite());76 suite.addTest(SerializableTestCase.suite());77 suite.addTest(DataSourceTestCase.suite());78 79 return suite;80 }81 }82