HHH-3518 : remove testsuite Suite aggregators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15284 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
0741fdc495
commit
54cfb4bb5f
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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.
|
|
||||||
* <p/>
|
|
||||||
* 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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue