[hibernate-commits] Hibernate SVN: r18469 - core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/dialect/function.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Jan 8 17:04:47 EST 2010


Author: stliu
Date: 2010-01-08 17:04:47 -0500 (Fri, 08 Jan 2010)
New Revision: 18469

Modified:
   core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java
Log:
JBPAPP-3371 HHH-4769 update test case

Modified: core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java	2010-01-08 22:01:14 UTC (rev 18468)
+++ core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java	2010-01-08 22:04:47 UTC (rev 18469)
@@ -48,6 +48,8 @@
 	}
 	
 	public void testRoundFuntion(){
+		if(!(getDialect() instanceof MySQLDialect))
+			return;
 		Product product = new Product();
 		product.setLength( 100 );
 		product.setPrice( new BigDecimal( 1.298 ) );
@@ -67,9 +69,5 @@
 		
 	}
 
-	@Override
-	public boolean appliesTo( Dialect dialect ) {
-		return dialect instanceof MySQLDialect;
-	}
 
 }



More information about the hibernate-commits mailing list