Excluding tests for sybase

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005636 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2010-10-07 21:00:23 +00:00
parent b67e3d83ac
commit 8f587779d6
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,7 @@ import org.apache.openjpa.jdbc.sql.OracleDictionary;
import org.apache.openjpa.jdbc.sql.PostgresDictionary; import org.apache.openjpa.jdbc.sql.PostgresDictionary;
import org.apache.openjpa.jdbc.sql.SQLServerDictionary; import org.apache.openjpa.jdbc.sql.SQLServerDictionary;
import org.apache.openjpa.jdbc.sql.SolidDBDictionary; import org.apache.openjpa.jdbc.sql.SolidDBDictionary;
import org.apache.openjpa.jdbc.sql.SybaseDictionary;
import org.apache.openjpa.persistence.OpenJPAEntityManager; import org.apache.openjpa.persistence.OpenJPAEntityManager;
import org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI; import org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI;
import org.apache.openjpa.persistence.OpenJPAEntityManagerSPI; import org.apache.openjpa.persistence.OpenJPAEntityManagerSPI;
@ -46,7 +47,8 @@ public class TestMultipleSchemaNames extends SingleEMFTestCase {
setUnsupportedDatabases( setUnsupportedDatabases(
MySQLDictionary.class, MySQLDictionary.class,
OracleDictionary.class, OracleDictionary.class,
SQLServerDictionary.class); SQLServerDictionary.class,
SybaseDictionary.class);
if (isTestsDisabled()) { if (isTestsDisabled()) {
// getLog().trace("TestMultipleSchemaNames() - Skipping all tests - Not supported on this DB"); // getLog().trace("TestMultipleSchemaNames() - Skipping all tests - Not supported on this DB");
return; return;

View File

@ -22,6 +22,7 @@ import org.apache.openjpa.jdbc.conf.JDBCConfiguration;
import org.apache.openjpa.jdbc.sql.DBDictionary; import org.apache.openjpa.jdbc.sql.DBDictionary;
import org.apache.openjpa.jdbc.sql.OracleDictionary; import org.apache.openjpa.jdbc.sql.OracleDictionary;
import org.apache.openjpa.jdbc.sql.SQLServerDictionary; import org.apache.openjpa.jdbc.sql.SQLServerDictionary;
import org.apache.openjpa.jdbc.sql.SybaseDictionary;
import org.apache.openjpa.persistence.test.SingleEMTestCase; import org.apache.openjpa.persistence.test.SingleEMTestCase;
public class TestAutoIncrement extends SingleEMTestCase { public class TestAutoIncrement extends SingleEMTestCase {
@ -33,7 +34,7 @@ public class TestAutoIncrement extends SingleEMTestCase {
disabled = true; disabled = true;
return; return;
} }
if (dic instanceof SQLServerDictionary || dic instanceof OracleDictionary) { if (dic instanceof SQLServerDictionary || dic instanceof OracleDictionary || dic instanceof SybaseDictionary) {
disabled = true; disabled = true;
return; return;
} }