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 javax.persistence.EntityManager;
|
||||||
|
|
||||||
import org.apache.openjpa.jdbc.conf.JDBCConfiguration;
|
import org.apache.openjpa.jdbc.conf.JDBCConfiguration;
|
||||||
|
import org.apache.openjpa.jdbc.sql.SQLServerDictionary;
|
||||||
import org.apache.openjpa.persistence.test.SingleEMFTestCase;
|
import org.apache.openjpa.persistence.test.SingleEMFTestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -40,6 +41,11 @@ public class TestNoForeignKeyViolation
|
||||||
private EntityD entityD;
|
private EntityD entityD;
|
||||||
|
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
|
setUnsupportedDatabases(SQLServerDictionary.class);
|
||||||
|
if (isTestsDisabled()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
setUp(EntityA.class, EntityB.class, EntityC.class, EntityD.class,
|
setUp(EntityA.class, EntityB.class, EntityC.class, EntityD.class,
|
||||||
EntityE.class, EntityF.class, EntityG.class);
|
EntityE.class, EntityF.class, EntityG.class);
|
||||||
createTestData();
|
createTestData();
|
||||||
|
|
Loading…
Reference in New Issue