Author: stliu
Date: 2010-01-08 17:01:14 -0500 (Fri, 08 Jan 2010)
New Revision: 18468
Modified:
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java
Log:
HHH-4769 update test case
Modified:
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java
===================================================================
---
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java 2010-01-08
21:59:05 UTC (rev 18467)
+++
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java 2010-01-08
22:01:14 UTC (rev 18468)
@@ -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;
- }
}