Author: stliu
Date: 2010-01-08 16:58:37 -0500 (Fri, 08 Jan 2010)
New Revision: 18466
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java
Log:
JBPAPP-3371 HHH-4769 update test case
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java
===================================================================
---
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java 2010-01-08
20:58:19 UTC (rev 18465)
+++
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/dialect/function/MySQLRoundFunctionTest.java 2010-01-08
21:58:37 UTC (rev 18466)
@@ -53,6 +53,8 @@
}
public void testRoundFuntion(){
+ if(!(getDialect() instanceof MySQLDialect))
+ return;
Product product = new Product();
product.setLength( 100 );
product.setPrice( new BigDecimal( 1.298 ) );
@@ -72,9 +74,4 @@
}
-
- public boolean appliesTo( Dialect dialect ) {
- return dialect instanceof MySQLDialect;
- }
-
}
Show replies by thread