skip annotation used wrong, it should be SkipForDialect, but RequiresDialect used

This commit is contained in:
Strong Liu 2011-10-14 01:45:53 +08:00
parent bcae560079
commit fbc105aef1
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ import org.hibernate.dialect.TeradataDialect;
import org.junit.Test;
import org.hibernate.testing.RequiresDialect;
import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.hibernate.test.hql.StateProvince;
@ -59,7 +59,7 @@ public class LongInElementsTest extends BaseCoreFunctionalTestCase {
@Test
@TestForIssue( jiraKey = "HHH-2166" )
@RequiresDialect(
@SkipForDialect(
value = { SQLServerDialect.class, Oracle8iDialect.class, TeradataDialect.class },
comment = "this test fails on oracle and ms sql server, for more info, see HHH-1123"
)
@ -89,7 +89,7 @@ public class LongInElementsTest extends BaseCoreFunctionalTestCase {
@Test
@TestForIssue( jiraKey = "HHH-2166" )
@RequiresDialect(
@SkipForDialect(
value = { SQLServerDialect.class, Oracle8iDialect.class, TeradataDialect.class },
comment = "this test fails on oracle and ms sql server, for more info, see HHH-1123"
)