HHH-4769 update test case

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18467 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-01-08 21:59:05 +00:00
parent 4276ad99f0
commit bc5ea8d259
1 changed files with 2 additions and 5 deletions

View File

@ -48,6 +48,8 @@ public class MySQLRoundFunctionTest extends FunctionalTestCase {
}
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 @@ public class MySQLRoundFunctionTest extends FunctionalTestCase {
}
@Override
public boolean appliesTo( Dialect dialect ) {
return dialect instanceof MySQLDialect;
}
}