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:
Michael Dick 2011-08-15 20:53:37 +00:00
parent a429f191e1
commit 82a6d093ab
1 changed files with 6 additions and 0 deletions

View File

@ -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();