diff --git a/testsuite/src/test/java/org/hibernate/test/bytecode/BytecodeSuite.java b/testsuite/src/test/java/org/hibernate/test/bytecode/BytecodeSuite.java deleted file mode 100644 index 532acbb698..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/bytecode/BytecodeSuite.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.hibernate.test.bytecode; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * todo: describe BytecodeSuite - * - * @author Steve Ebersole - */ -public class BytecodeSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "BytecodeProvider tests" ); - suite.addTest( org.hibernate.test.bytecode.cglib.ReflectionOptimizerTest.suite() ); - suite.addTest( org.hibernate.test.bytecode.cglib.InvocationTargetExceptionTest.suite() ); - suite.addTest( org.hibernate.test.bytecode.cglib.CGLIBThreadLocalTest.suite() ); - suite.addTest( org.hibernate.test.bytecode.javassist.ReflectionOptimizerTest.suite() ); - suite.addTest( org.hibernate.test.bytecode.javassist.InvocationTargetExceptionTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/cascade/CascadeSuite.java b/testsuite/src/test/java/org/hibernate/test/cascade/CascadeSuite.java deleted file mode 100644 index 9c7e058bc7..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/cascade/CascadeSuite.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.hibernate.test.cascade; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Implementation of CascadeSuite. - */ -public class CascadeSuite { - - public static Test suite() { - TestSuite suite = new TestSuite( "Cascade tests" ); - suite.addTest( BidirectionalOneToManyCascadeTest.suite() ); - suite.addTest( RefreshTest.suite() ); - suite.addTest( MultiPathCascadeTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/collection/CollectionSuite.java b/testsuite/src/test/java/org/hibernate/test/collection/CollectionSuite.java deleted file mode 100644 index 880d91550f..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/collection/CollectionSuite.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.hibernate.test.collection; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.collection.bag.PersistentBagTest; -import org.hibernate.test.collection.idbag.PersistentIdBagTest; -import org.hibernate.test.collection.list.PersistentListTest; -import org.hibernate.test.collection.map.PersistentMapTest; -import org.hibernate.test.collection.original.CollectionTest; -import org.hibernate.test.collection.set.PersistentSetTest; -import org.hibernate.test.collection.backref.map.compkey.BackrefCompositeMapKeyTest; - -/** - * Suite of collection (i.e. PersistentCollection) related tests - * - * @author Steve Ebersole - */ -public class CollectionSuite { - - public static Test suite() { - TestSuite suite = new TestSuite( "Collection-related tests" ); - suite.addTest( PersistentBagTest.suite() ); - suite.addTest( PersistentIdBagTest.suite() ); - suite.addTest( PersistentListTest.suite() ); - suite.addTest( PersistentMapTest.suite() ); - suite.addTest( CollectionTest.suite() ); - suite.addTest( PersistentSetTest.suite() ); - suite.addTest( BackrefCompositeMapKeyTest.suite() ); - return suite; - } - -} diff --git a/testsuite/src/test/java/org/hibernate/test/component/ComponentSuite.java b/testsuite/src/test/java/org/hibernate/test/component/ComponentSuite.java deleted file mode 100644 index aeefbd3f15..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/component/ComponentSuite.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.hibernate.test.component; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.component.basic.ComponentTest; -import org.hibernate.test.component.cascading.collection.CascadeToComponentCollectionTest; -import org.hibernate.test.component.cascading.toone.CascadeToComponentAssociationTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class ComponentSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "component test suite" ); - suite.addTest( ComponentTest.suite() ); - suite.addTest( CascadeToComponentCollectionTest.suite() ); - suite.addTest( CascadeToComponentAssociationTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/connections/ConnectionsSuite.java b/testsuite/src/test/java/org/hibernate/test/connections/ConnectionsSuite.java deleted file mode 100644 index 5b48112366..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/connections/ConnectionsSuite.java +++ /dev/null @@ -1,23 +0,0 @@ -// $Id: ConnectionsSuite.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $ -package org.hibernate.test.connections; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Implementation of ConnectionsSuite. - * - * @author Steve Ebersole - */ -public class ConnectionsSuite { - - public static Test suite() { - TestSuite suite = new TestSuite( "Connection-management tests"); - suite.addTest( AggressiveReleaseTest.suite() ); - suite.addTest( BasicConnectionProviderTest.suite() ); - suite.addTest( CurrentSessionConnectionTest.suite() ); - suite.addTest( SuppliedConnectionTest.suite() ); - suite.addTest( ThreadLocalCurrentSessionTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/dialect/functional/DialectFunctionalTestsSuite.java b/testsuite/src/test/java/org/hibernate/test/dialect/functional/DialectFunctionalTestsSuite.java deleted file mode 100644 index ebaae93999..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/dialect/functional/DialectFunctionalTestsSuite.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.hibernate.test.dialect.functional; - -import junit.framework.TestSuite; - -import org.hibernate.test.dialect.functional.cache.SQLFunctionsInterSystemsTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class DialectFunctionalTestsSuite { - public static TestSuite suite() { - TestSuite suite = new TestSuite( "Dialect tests" ); - suite.addTest( SQLFunctionsInterSystemsTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/dialect/unit/DialectUnitTestsSuite.java b/testsuite/src/test/java/org/hibernate/test/dialect/unit/DialectUnitTestsSuite.java deleted file mode 100644 index ef108da4c2..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/dialect/unit/DialectUnitTestsSuite.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.hibernate.test.dialect.unit; - -import junit.framework.TestSuite; - -import org.hibernate.test.dialect.unit.lockhint.SybaseLockHintsTest; -import org.hibernate.test.dialect.unit.lockhint.SQLServerLockHintsTest; - -/** - * Suite of all unit tests of the Dialect(s). - * - * @author Steve Ebersole - */ -public class DialectUnitTestsSuite { - public static TestSuite suite() { - TestSuite suite = new TestSuite( "Dialect unit-tests" ); - suite.addTest( SybaseLockHintsTest.suite() ); - suite.addTest( SQLServerLockHintsTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/dynamicentity/DynamicEntitySuite.java b/testsuite/src/test/java/org/hibernate/test/dynamicentity/DynamicEntitySuite.java deleted file mode 100644 index 27c8ed8c70..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/dynamicentity/DynamicEntitySuite.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.hibernate.test.dynamicentity; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.dynamicentity.interceptor.InterceptorDynamicEntityTest; -import org.hibernate.test.dynamicentity.tuplizer.TuplizerDynamicEntityTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class DynamicEntitySuite { - public static Test suite() { - TestSuite suite = new TestSuite( "dynamic entity suite" ); - suite.addTest( InterceptorDynamicEntityTest.suite() ); - suite.addTest( TuplizerDynamicEntityTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/entitymode/EntityModeSuite.java b/testsuite/src/test/java/org/hibernate/test/entitymode/EntityModeSuite.java deleted file mode 100644 index 7cb2b583a3..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/entitymode/EntityModeSuite.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.hibernate.test.entitymode; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.entitymode.dom4j.Dom4jSuite; -import org.hibernate.test.entitymode.map.MapSuite; -import org.hibernate.test.entitymode.multi.MultiRepresentationTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class EntityModeSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "entity-mode tests" ); - suite.addTest( Dom4jSuite.suite() ); - suite.addTest( MapSuite.suite() ); - suite.addTest( MultiRepresentationTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/Dom4jSuite.java b/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/Dom4jSuite.java deleted file mode 100644 index 91b3390949..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/Dom4jSuite.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.hibernate.test.entitymode.dom4j; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.entitymode.dom4j.accessors.Dom4jAccessorTest; -import org.hibernate.test.entitymode.dom4j.basic.Dom4jTest; -import org.hibernate.test.entitymode.dom4j.many2one.Dom4jManyToOneTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class Dom4jSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "dom4j entity-mode suite" ); - suite.addTest( Dom4jAccessorTest.suite() ); - suite.addTest( Dom4jTest.suite() ); - suite.addTest( Dom4jManyToOneTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/entitymode/map/MapSuite.java b/testsuite/src/test/java/org/hibernate/test/entitymode/map/MapSuite.java deleted file mode 100644 index f8840ebf12..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/entitymode/map/MapSuite.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.hibernate.test.entitymode.map; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.entitymode.map.basic.DynamicClassTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class MapSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "map entity-mode suite"); - suite.addTest( DynamicClassTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/event/collection/CollectionEventSuite.java b/testsuite/src/test/java/org/hibernate/test/event/collection/CollectionEventSuite.java deleted file mode 100644 index ae5a44a2f7..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/event/collection/CollectionEventSuite.java +++ /dev/null @@ -1,54 +0,0 @@ -//$Id: $ -/* - * Hibernate, Relational Persistence for Idiomatic Java - * - * Copyright (c) 2007, Red Hat Middleware LLC or third-party contributors as - * indicated by the @author tags or express copyright attribution statements - * applied by the authors. - * - * All third-party contributions are distributed under license by Red Hat - * Middleware LLC. This copyrighted material is made available to anyone - * wishing to use, modify, copy, or redistribute it subject to the terms - * and conditions of the GNU Lesser General Public License, as published by - * the Free Software Foundation. This program 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 distribution; if not, write to: Free Software Foundation, Inc. - * 51 Franklin Street, Fifth Floor Boston, MA 02110-1301 USA - */ -package org.hibernate.test.event.collection; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.event.collection.association.bidirectional.manytomany.BidirectionalManyToManyBagToSetCollectionEventTest; -import org.hibernate.test.event.collection.association.bidirectional.manytomany.BidirectionalManyToManySetToSetCollectionEventTest; -import org.hibernate.test.event.collection.association.bidirectional.onetomany.BidirectionalOneToManyBagCollectionEventTest; -import org.hibernate.test.event.collection.association.bidirectional.onetomany.BidirectionalOneToManySetCollectionEventTest; -import org.hibernate.test.event.collection.association.unidirectional.manytomany.UnidirectionalManyToManyBagCollectionEventTest; -import org.hibernate.test.event.collection.association.unidirectional.onetomany.UnidirectionalOneToManyBagCollectionEventTest; -import org.hibernate.test.event.collection.association.unidirectional.onetomany.UnidirectionalOneToManySetCollectionEventTest; -import org.hibernate.test.event.collection.values.ValuesBagCollectionEventTest; - -/** - * - * @author Gail Badner - */ -public class CollectionEventSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "Collection event test suite" ); - suite.addTest( BrokenCollectionEventTest.suite() ); - suite.addTest( BidirectionalManyToManyBagToSetCollectionEventTest.suite() ); - suite.addTest( BidirectionalManyToManySetToSetCollectionEventTest.suite() ); - suite.addTest( BidirectionalOneToManyBagCollectionEventTest.suite() ); - suite.addTest( BidirectionalOneToManySetCollectionEventTest.suite() ); - suite.addTest( UnidirectionalManyToManyBagCollectionEventTest.suite() ); - suite.addTest( UnidirectionalOneToManyBagCollectionEventTest.suite() ); - suite.addTest( UnidirectionalOneToManySetCollectionEventTest.suite() ); - suite.addTest( ValuesBagCollectionEventTest.suite() ); - return suite; - } -} \ No newline at end of file diff --git a/testsuite/src/test/java/org/hibernate/test/generated/GeneratedPropertySuite.java b/testsuite/src/test/java/org/hibernate/test/generated/GeneratedPropertySuite.java deleted file mode 100644 index 4783aef5c1..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/generated/GeneratedPropertySuite.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.hibernate.test.generated; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class GeneratedPropertySuite { - public static Test suite() { - TestSuite suite = new TestSuite( "generated property suite" ); - suite.addTest( TimestampGeneratedValuesWithCachingTest.suite() ); - suite.addTest( TriggerGeneratedValuesWithCachingTest.suite() ); - suite.addTest( TriggerGeneratedValuesWithoutCachingTest.suite() ); - suite.addTest( PartiallyGeneratedComponentTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/generatedkeys/GeneratedKeysSuite.java b/testsuite/src/test/java/org/hibernate/test/generatedkeys/GeneratedKeysSuite.java deleted file mode 100644 index e840a131d7..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/generatedkeys/GeneratedKeysSuite.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.hibernate.test.generatedkeys; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.generatedkeys.identity.IdentityGeneratedKeysTest; -import org.hibernate.test.generatedkeys.select.SelectGeneratorTest; -import org.hibernate.test.generatedkeys.seqidentity.SequenceIdentityTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class GeneratedKeysSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "generated keys suite" ); - suite.addTest( IdentityGeneratedKeysTest.suite() ); - suite.addTest( SelectGeneratorTest.suite() ); - suite.addTest( SequenceIdentityTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/hql/HQLSuite.java b/testsuite/src/test/java/org/hibernate/test/hql/HQLSuite.java deleted file mode 100644 index 87ab6c8888..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/hql/HQLSuite.java +++ /dev/null @@ -1,29 +0,0 @@ -// $Id: HQLSuite.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $ -package org.hibernate.test.hql; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * The full suite of tests against the Antlr grammar - * - * @author Steve Ebersole - */ -public class HQLSuite { - - public static Test suite() { - TestSuite suite = new TestSuite( "Antlr HQL grammar tests" ); - suite.addTest( HQLTest.suite() ); - suite.addTest( ASTParserLoadingTest.suite() ); - suite.addTest( BulkManipulationTest.suite() ); - suite.addTest( WithClauseTest.suite() ); -// suite.addTest( ASTQueryTranslatorTest.suite() ); - suite.addTest( EJBQLTest.suite() ); - suite.addTest( HqlParserTest.suite() ); - suite.addTest( ScrollableCollectionFetchingTest.suite() ); - suite.addTest( ClassicTranslatorTest.suite() ); - suite.addTest( CriteriaHQLAlignmentTest.suite() ); - suite.addTest( CriteriaClassicAggregationReturnTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/idgen/IdGenSuite.java b/testsuite/src/test/java/org/hibernate/test/idgen/IdGenSuite.java deleted file mode 100644 index f67a2daedd..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/idgen/IdGenSuite.java +++ /dev/null @@ -1,44 +0,0 @@ -package org.hibernate.test.idgen; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.idgen.enhanced.OptimizerUnitTest; -import org.hibernate.test.idgen.enhanced.SequenceStyleConfigUnitTest; -import org.hibernate.test.idgen.enhanced.forcedtable.BasicForcedTableSequenceTest; -import org.hibernate.test.idgen.enhanced.forcedtable.HiLoForcedTableSequenceTest; -import org.hibernate.test.idgen.enhanced.forcedtable.PooledForcedTableSequenceTest; -import org.hibernate.test.idgen.enhanced.sequence.BasicSequenceTest; -import org.hibernate.test.idgen.enhanced.sequence.HiLoSequenceTest; -import org.hibernate.test.idgen.enhanced.sequence.PooledSequenceTest; -import org.hibernate.test.idgen.enhanced.table.BasicTableTest; -import org.hibernate.test.idgen.enhanced.table.HiLoTableTest; -import org.hibernate.test.idgen.enhanced.table.PooledTableTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class IdGenSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "enhanced id generators" ); - - suite.addTest( OptimizerUnitTest.suite() ); - suite.addTest( SequenceStyleConfigUnitTest.suite() ); - - suite.addTest( BasicForcedTableSequenceTest.suite() ); - suite.addTest( HiLoForcedTableSequenceTest.suite() ); - suite.addTest( PooledForcedTableSequenceTest.suite() ); - - suite.addTest( BasicSequenceTest.suite() ); - suite.addTest( HiLoSequenceTest.suite() ); - suite.addTest( PooledSequenceTest.suite() ); - - suite.addTest( BasicTableTest.suite() ); - suite.addTest( HiLoTableTest.suite() ); - suite.addTest( PooledTableTest.suite() ); - - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/join/JoinSuite.java b/testsuite/src/test/java/org/hibernate/test/join/JoinSuite.java deleted file mode 100644 index cbddc3295c..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/join/JoinSuite.java +++ /dev/null @@ -1,22 +0,0 @@ -//$Id: $ -package org.hibernate.test.join; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * @author Gail Badner - */ - -/** - * Implementation of JoinSuite. - */ -public class JoinSuite { - - public static Test suite() { - TestSuite suite = new TestSuite( "Join tests"); - suite.addTest( JoinTest.suite() ); - suite.addTest( OptionalJoinTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/jpa/JPAComplianceSuite.java b/testsuite/src/test/java/org/hibernate/test/jpa/JPAComplianceSuite.java deleted file mode 100644 index 9beb50e781..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/jpa/JPAComplianceSuite.java +++ /dev/null @@ -1,30 +0,0 @@ -package org.hibernate.test.jpa; - -import junit.framework.Test; -import junit.framework.TestSuite; -import org.hibernate.test.jpa.lock.JPALockTest; -import org.hibernate.test.jpa.lock.RepeatableReadTest; -import org.hibernate.test.jpa.removed.RemovedEntityTest; -import org.hibernate.test.jpa.proxy.JPAProxyTest; -import org.hibernate.test.jpa.fetch.FetchingTest; -import org.hibernate.test.jpa.ql.JPAQLComplianceTest; -import org.hibernate.test.jpa.ql.NativeQueryTest; -import org.hibernate.test.jpa.cascade.CascadeTest; - -/** - * @author Steve Ebersole - */ -public class JPAComplianceSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "JPA-compliance tests"); - suite.addTest( CascadeTest.suite() ); - suite.addTest( FetchingTest.suite() ); - suite.addTest( JPALockTest.suite() ); - suite.addTest( RepeatableReadTest.suite() ); - suite.addTest( JPAProxyTest.suite() ); - suite.addTest( JPAQLComplianceTest.suite() ); - suite.addTest( NativeQueryTest.suite() ); - suite.addTest( RemovedEntityTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/keymanytoone/KeyManyToOneSuite.java b/testsuite/src/test/java/org/hibernate/test/keymanytoone/KeyManyToOneSuite.java deleted file mode 100644 index ae9f569a95..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/keymanytoone/KeyManyToOneSuite.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.hibernate.test.keymanytoone; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.keymanytoone.bidir.embedded.KeyManyToOneTest; -import org.hibernate.test.keymanytoone.bidir.component.LazyKeyManyToOneTest; -import org.hibernate.test.keymanytoone.bidir.component.EagerKeyManyToOneTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class KeyManyToOneSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "key-many-to-one mappings" ); - suite.addTest( KeyManyToOneTest.suite() ); - suite.addTest( LazyKeyManyToOneTest.suite() ); - suite.addTest( EagerKeyManyToOneTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/lob/LobSuite.java b/testsuite/src/test/java/org/hibernate/test/lob/LobSuite.java deleted file mode 100644 index 33b8888802..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/lob/LobSuite.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.hibernate.test.lob; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class LobSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "LOB handling tests" ); - suite.addTest( SerializableTypeTest.suite() ); - suite.addTest( BlobTest.suite() ); - suite.addTest( ClobTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/manytomanyassociationclass/ManyToManyAssociationClassSuite.java b/testsuite/src/test/java/org/hibernate/test/manytomanyassociationclass/ManyToManyAssociationClassSuite.java deleted file mode 100644 index 7943b15386..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/manytomanyassociationclass/ManyToManyAssociationClassSuite.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Hibernate, Relational Persistence for Idiomatic Java - * - * Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as - * indicated by the @author tags or express copyright attribution - * statements applied by the authors. All third-party contributions are - * distributed under license by Red Hat Middleware LLC. - * - * This copyrighted material is made available to anyone wishing to use, modify, - * copy, or redistribute it subject to the terms and conditions of the GNU - * Lesser General Public License, as published by the Free Software Foundation. - * - * This program 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 distribution; if not, write to: - * Free Software Foundation, Inc. - * 51 Franklin Street, Fifth Floor - * Boston, MA 02110-1301 USA - * - */ -package org.hibernate.test.manytomanyassociationclass; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.manytomanyassociationclass.compositeid.ManyToManyAssociationClassCompositeIdTest; -import org.hibernate.test.manytomanyassociationclass.surrogateid.assigned.ManyToManyAssociationClassAssignedIdTest; -import org.hibernate.test.manytomanyassociationclass.surrogateid.generated.ManyToManyAssociationClassGeneratedIdTest; - -/** - * Tests on many-to-many association using an association class with a composite ID containing - * the IDs from the associated entities. - * - * @author Gail Badner - */ -public class ManyToManyAssociationClassSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "Many-to-many with associaiton class tests" ); - suite.addTest( ManyToManyAssociationClassCompositeIdTest.suite() ); - suite.addTest( ManyToManyAssociationClassAssignedIdTest.suite() ); - suite.addTest( ManyToManyAssociationClassGeneratedIdTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/naturalid/NaturalIdSuite.java b/testsuite/src/test/java/org/hibernate/test/naturalid/NaturalIdSuite.java deleted file mode 100644 index f90d2fe7be..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/naturalid/NaturalIdSuite.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.hibernate.test.naturalid; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.naturalid.immutable.ImmutableNaturalIdTest; -import org.hibernate.test.naturalid.mutable.MutableNaturalIdTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class NaturalIdSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "natural ids" ); - suite.addTest( MutableNaturalIdTest.suite() ); - suite.addTest( ImmutableNaturalIdTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/onetoone/OneToOneSuite.java b/testsuite/src/test/java/org/hibernate/test/onetoone/OneToOneSuite.java deleted file mode 100644 index 884080efbf..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/onetoone/OneToOneSuite.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.hibernate.test.onetoone; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.onetoone.formula.OneToOneFormulaTest; -import org.hibernate.test.onetoone.joined.JoinedSubclassOneToOneTest; -import org.hibernate.test.onetoone.link.OneToOneLinkTest; -import org.hibernate.test.onetoone.nopojo.DynamicMapOneToOneTest; -import org.hibernate.test.onetoone.optional.OptionalOneToOneTest; -import org.hibernate.test.onetoone.singletable.DiscrimSubclassOneToOneTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class OneToOneSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "one-to-one suite" ); - suite.addTest( OneToOneFormulaTest.suite() ); - suite.addTest( JoinedSubclassOneToOneTest.suite() ); - suite.addTest( OneToOneLinkTest.suite() ); - suite.addTest( DynamicMapOneToOneTest.suite() ); - suite.addTest( OptionalOneToOneTest.suite() ); - suite.addTest( DiscrimSubclassOneToOneTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/ops/OpsSuite.java b/testsuite/src/test/java/org/hibernate/test/ops/OpsSuite.java deleted file mode 100644 index 2feaf6b5d3..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/ops/OpsSuite.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.hibernate.test.ops; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class OpsSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "Operations tests" ); - suite.addTest( CreateTest.suite() ); - suite.addTest( DeleteTest.suite() ); - suite.addTest( GetLoadTest.suite() ); - suite.addTest( MergeTest.suite() ); - suite.addTest( SaveOrUpdateTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/orphan/OrphanSuite.java b/testsuite/src/test/java/org/hibernate/test/orphan/OrphanSuite.java deleted file mode 100644 index 3d41cc4f45..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/orphan/OrphanSuite.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.hibernate.test.orphan; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class OrphanSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "orphan delete suite" ); - suite.addTest( OrphanTest.suite() ); - suite.addTest( PropertyRefTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/propertyref/PropertyRefSuite.java b/testsuite/src/test/java/org/hibernate/test/propertyref/PropertyRefSuite.java deleted file mode 100644 index cce91274d1..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/propertyref/PropertyRefSuite.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.hibernate.test.propertyref; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.propertyref.basic.PropertyRefTest; -import org.hibernate.test.propertyref.component.complete.CompleteComponentPropertyRefTest; -import org.hibernate.test.propertyref.component.partial.PartialComponentPropertyRefTest; -import org.hibernate.test.propertyref.inheritence.discrim.SubclassPropertyRefTest; -import org.hibernate.test.propertyref.inheritence.joined.JoinedSubclassPropertyRefTest; -import org.hibernate.test.propertyref.inheritence.union.UnionSubclassPropertyRefTest; - -/** - * {@inheritDoc} - * - * @author Steve Ebersole - */ -public class PropertyRefSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "property-ref suite" ); - suite.addTest( PropertyRefTest.suite() ); - suite.addTest( CompleteComponentPropertyRefTest.suite() ); - suite.addTest( PartialComponentPropertyRefTest.suite() ); - suite.addTest( SubclassPropertyRefTest.suite() ); - suite.addTest( JoinedSubclassPropertyRefTest.suite() ); - suite.addTest( UnionSubclassPropertyRefTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/reattachment/ReattachmentSuite.java b/testsuite/src/test/java/org/hibernate/test/reattachment/ReattachmentSuite.java deleted file mode 100644 index 456f08dc8b..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/reattachment/ReattachmentSuite.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.hibernate.test.reattachment; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Suite of reattachment specific tests. - * - * @author Steve Ebersole - */ -public class ReattachmentSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "reattachment semantics" ); - suite.addTest( CollectionReattachmentTest.suite() ); - suite.addTest( ProxyReattachmentTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/sql/NativeSqlSupportSuite.java b/testsuite/src/test/java/org/hibernate/test/sql/NativeSqlSupportSuite.java deleted file mode 100644 index 670c86a95f..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/sql/NativeSqlSupportSuite.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.hibernate.test.sql; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.sql.check.CheckSuite; -import org.hibernate.test.sql.hand.custom.datadirect.oracle.DataDirectOracleCustomSQLTest; -import org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest; -import org.hibernate.test.sql.hand.custom.mysql.MySQLCustomSQLTest; -import org.hibernate.test.sql.hand.custom.oracle.OracleCustomSQLTest; -import org.hibernate.test.sql.hand.custom.sybase.SybaseCustomSQLTest; -import org.hibernate.test.sql.hand.query.NativeSQLQueriesTest; -import org.hibernate.test.sql.hand.identity.CustomInsertSQLWithIdentityColumnTest; - -/** - * Suite for testing aspects of native SQL support. - * - * @author Steve Ebersole - */ -public class NativeSqlSupportSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "Native SQL support tests" ); - suite.addTest( DB2CustomSQLTest.suite() ); - suite.addTest( DataDirectOracleCustomSQLTest.suite() ); - suite.addTest( OracleCustomSQLTest.suite() ); - suite.addTest( SybaseCustomSQLTest.suite() ); - suite.addTest( MySQLCustomSQLTest.suite() ); - suite.addTest( NativeSQLQueriesTest.suite() ); - suite.addTest( CheckSuite.suite() ); - suite.addTest( CustomInsertSQLWithIdentityColumnTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/sql/check/CheckSuite.java b/testsuite/src/test/java/org/hibernate/test/sql/check/CheckSuite.java deleted file mode 100644 index 7ceac3b523..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/sql/check/CheckSuite.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.hibernate.test.sql.check; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Suite for testing custom SQL result checking strategies. - *
- * Yes, currently there is only one actual test... - * - * @author Steve Ebersole - */ -public class CheckSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "native sql result checking" ); - suite.addTest( OracleCheckStyleTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/usercollection/UserCollectionTypeSuite.java b/testsuite/src/test/java/org/hibernate/test/usercollection/UserCollectionTypeSuite.java deleted file mode 100644 index e5458a5ee2..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/usercollection/UserCollectionTypeSuite.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.hibernate.test.usercollection; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.hibernate.test.usercollection.basic.UserCollectionTypeTest; -import org.hibernate.test.usercollection.parameterized.ParameterizedUserCollectionTypeTest; - -/** - * Suite for testing various aspects of user collection types. - * - * @author Steve Ebersole - */ -public class UserCollectionTypeSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "user collection type tests" ); - suite.addTest( UserCollectionTypeTest.suite() ); - suite.addTest( ParameterizedUserCollectionTypeTest.suite() ); - return suite; - } -} diff --git a/testsuite/src/test/java/org/hibernate/test/util/UtilSuite.java b/testsuite/src/test/java/org/hibernate/test/util/UtilSuite.java deleted file mode 100644 index 5fc39a2aba..0000000000 --- a/testsuite/src/test/java/org/hibernate/test/util/UtilSuite.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.hibernate.test.util; - -import junit.framework.Test; -import junit.framework.TestSuite; -import org.hibernate.test.util.dtd.EntityResolverTest; - -/** - * todo: describe UtilSuite - * - * @author Steve Ebersole - */ -public class UtilSuite { - public static Test suite() { - TestSuite suite = new TestSuite( "Utility package tests" ); - suite.addTest( PropertiesHelperTest.suite() ); - suite.addTest( EntityResolverTest.suite() ); - suite.addTest( StringHelperTest.suite() ); - return suite; - } -}