[hibernate-commits] Hibernate SVN: r18467 - core/trunk/testsuite/src/test/java/org/hibernate/test/dialect/function.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Jan 8 16:59:05 EST 2010


Author: stliu
Date: 2010-01-08 16:59:05 -0500 (Fri, 08 Jan 2010)
New Revision: 18467

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

Modified: core/trunk/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java
===================================================================
--- core/trunk/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java	2010-01-08 21:58:37 UTC (rev 18466)
+++ core/trunk/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java	2010-01-08 21:59:05 UTC (rev 18467)
@@ -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,4 @@
 		
 	}
 
-	@Override
-	public boolean appliesTo( Dialect dialect ) {
-		return dialect instanceof MySQLDialect;
-	}
-
 }



More information about the hibernate-commits mailing list