Fixed test

This commit is contained in:
Lukas Eder 2012-10-26 12:29:43 +02:00
parent dc14cea30b
commit 4bca561ec7

View File

@ -39,6 +39,7 @@ import static java.util.Arrays.asList;
import static java.util.Collections.nCopies;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertTrue;
import static org.jooq.SQLDialect.ASE;
import static org.jooq.SQLDialect.CUBRID;
import static org.jooq.SQLDialect.DB2;
import static org.jooq.SQLDialect.DERBY;
@ -277,7 +278,7 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, I, IPK, T658,
// [#1728] COUNT(DISTINCT expr1, expr2, ...)
// -----------------------------------------
if (asList(CUBRID, DB2, DERBY, FIREBIRD, H2, INGRES, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE).contains(getDialect())) {
if (asList(ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, INGRES, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE).contains(getDialect())) {
log.info("SKIPPING", "Multi-expression COUNT(DISTINCT) test");
}
else {
@ -291,6 +292,7 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, I, IPK, T658,
@Test
public void testLinearRegressionFunctions() throws Exception {
switch (getDialect()) {
case ASE:
case CUBRID:
case DERBY:
case FIREBIRD: