[hibernate-commits] Hibernate SVN: r19274 - in core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test: unionsubclass/alias and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Apr 22 00:19:45 EDT 2010


Author: stliu
Date: 2010-04-22 00:19:45 -0400 (Thu, 22 Apr 2010)
New Revision: 19274

Modified:
   core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/AllTests.java
   core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/unionsubclass/alias/SellCarTest.java
Log:
JBPAPP-4115 Add test related to JBPAPP-3487 in AllTests

Modified: core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/AllTests.java
===================================================================
--- core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/AllTests.java	2010-04-22 02:11:55 UTC (rev 19273)
+++ core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/AllTests.java	2010-04-22 04:19:45 UTC (rev 19274)
@@ -130,6 +130,7 @@
 import org.hibernate.test.unconstrained.UnconstrainedTest;
 import org.hibernate.test.unidir.BackrefTest;
 import org.hibernate.test.unionsubclass.UnionSubclassTest;
+import org.hibernate.test.unionsubclass.alias.SellCarTest;
 import org.hibernate.test.usercollection.UserCollectionTypeSuite;
 import org.hibernate.test.util.UtilSuite;
 import org.hibernate.test.version.VersionTest;
@@ -317,6 +318,7 @@
 			suite.addTest( ReattachmentSuite.suite() );
 			suite.addTest( MigrationTest.suite() );
 			suite.addTest( BatchedManyToManyTest.suite() );
+			suite.addTest( SellCarTest.suite() );
 			return suite;
 		}
 

Modified: core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/unionsubclass/alias/SellCarTest.java
===================================================================
--- core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/unionsubclass/alias/SellCarTest.java	2010-04-22 02:11:55 UTC (rev 19273)
+++ core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/unionsubclass/alias/SellCarTest.java	2010-04-22 04:19:45 UTC (rev 19274)
@@ -23,10 +23,13 @@
  */
 package org.hibernate.test.unionsubclass.alias;
 
+import junit.framework.Test;
+
 import org.hibernate.Query;
 import org.hibernate.Session;
 import org.hibernate.Transaction;
 import org.hibernate.junit.functional.FunctionalTestCase;
+import org.hibernate.junit.functional.FunctionalTestClassTestSuite;
 
 /**
  * http://opensource.atlassian.com/projects/hibernate/browse/HHH-4825
@@ -37,7 +40,9 @@
     public SellCarTest( String string ) {
         super( string );
     }
-
+    public static Test suite() {
+		return new FunctionalTestClassTestSuite( SellCarTest.class );
+	}
     public String[] getMappings() {
         return new String[] { "unionsubclass/alias/mapping.hbm.xml" };
     }



More information about the hibernate-commits mailing list