mirror of https://github.com/apache/openjpa.git
Exclude test on SQLServer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1158007 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a429f191e1
commit
82a6d093ab
|
@ -23,6 +23,7 @@ import java.util.List;
|
|||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.apache.openjpa.jdbc.conf.JDBCConfiguration;
|
||||
import org.apache.openjpa.jdbc.sql.SQLServerDictionary;
|
||||
import org.apache.openjpa.persistence.test.SingleEMFTestCase;
|
||||
|
||||
/**
|
||||
|
@ -40,6 +41,11 @@ public class TestNoForeignKeyViolation
|
|||
private EntityD entityD;
|
||||
|
||||
public void setUp() {
|
||||
setUnsupportedDatabases(SQLServerDictionary.class);
|
||||
if (isTestsDisabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
setUp(EntityA.class, EntityB.class, EntityC.class, EntityD.class,
|
||||
EntityE.class, EntityF.class, EntityG.class);
|
||||
createTestData();
|
||||
|
|
Loading…
Reference in New Issue