db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r359652 - in /db/ddlutils/trunk/src/test/org/apache/ddlutils/io: ./ derby/ hsqldb/ postgresql/
Date Wed, 28 Dec 2005 22:29:37 GMT
Author: tomdz
Date: Wed Dec 28 14:29:26 2005
New Revision: 359652

URL: http://svn.apache.org/viewcvs?rev=359652&view=rev
Log:
Moved platform-specific io tests into separate sub directories
Added initial PostgreSql tests

Added:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyConstraints.java
      - copied, changed from r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyConstraints.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyDatatypes.java
      - copied, changed from r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyDatatypes.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbConstraints.java
      - copied, changed from r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbConstraints.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbDatatypes.java
      - copied, changed from r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbDatatypes.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlConstraints.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlDatatypes.java
Removed:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyConstraints.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyDatatypes.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbConstraints.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbDatatypes.java

Copied: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyConstraints.java
(from r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyConstraints.java)
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyConstraints.java?p2=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyConstraints.java&p1=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyConstraints.java&r1=359650&r2=359652&rev=359652&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyConstraints.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyConstraints.java Wed
Dec 28 14:29:26 2005
@@ -1,4 +1,4 @@
-package org.apache.ddlutils.io;
+package org.apache.ddlutils.io.derby;
 
 /*
  * Copyright 1999-2005 The Apache Software Foundation.
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+import org.apache.ddlutils.io.ConstraintsTestBase;
 import org.apache.ddlutils.platform.DerbyPlatform;
 
 /**

Copied: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyDatatypes.java (from
r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyDatatypes.java)
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyDatatypes.java?p2=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyDatatypes.java&p1=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyDatatypes.java&r1=359650&r2=359652&rev=359652&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDerbyDatatypes.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/derby/TestDerbyDatatypes.java Wed Dec
28 14:29:26 2005
@@ -1,4 +1,4 @@
-package org.apache.ddlutils.io;
+package org.apache.ddlutils.io.derby;
 
 /*
  * Copyright 1999-2005 The Apache Software Foundation.
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+import org.apache.ddlutils.io.DatatypesTestBase;
 import org.apache.ddlutils.platform.DerbyPlatform;
 
 /**

Copied: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbConstraints.java
(from r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbConstraints.java)
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbConstraints.java?p2=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbConstraints.java&p1=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbConstraints.java&r1=359650&r2=359652&rev=359652&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbConstraints.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbConstraints.java Wed
Dec 28 14:29:26 2005
@@ -1,4 +1,4 @@
-package org.apache.ddlutils.io;
+package org.apache.ddlutils.io.hsqldb;
 
 /*
  * Copyright 1999-2005 The Apache Software Foundation.
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+import org.apache.ddlutils.io.ConstraintsTestBase;
 import org.apache.ddlutils.platform.HsqlDbPlatform;
 
 /**

Copied: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbDatatypes.java
(from r359650, db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbDatatypes.java)
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbDatatypes.java?p2=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbDatatypes.java&p1=db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbDatatypes.java&r1=359650&r2=359652&rev=359652&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestHsqlDbDatatypes.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/hsqldb/TestHsqlDbDatatypes.java Wed
Dec 28 14:29:26 2005
@@ -1,4 +1,4 @@
-package org.apache.ddlutils.io;
+package org.apache.ddlutils.io.hsqldb;
 
 /*
  * Copyright 1999-2005 The Apache Software Foundation.
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+import org.apache.ddlutils.io.DatatypesTestBase;
 import org.apache.ddlutils.platform.HsqlDbPlatform;
 
 /**

Added: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlConstraints.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlConstraints.java?rev=359652&view=auto
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlConstraints.java
(added)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlConstraints.java
Wed Dec 28 14:29:26 2005
@@ -0,0 +1,37 @@
+package org.apache.ddlutils.io.postgresql;
+
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.ddlutils.io.ConstraintsTestBase;
+import org.apache.ddlutils.platform.PostgreSqlPlatform;
+
+/**
+ * Performs the roundtrip constraint tests against a PostgreSql database.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: $
+ */
+public class TestPostgreSqlConstraints extends ConstraintsTestBase
+{
+    /**
+     * {@inheritDoc}
+     */
+    protected String getPlatformName()
+    {
+        return PostgreSqlPlatform.DATABASENAME;
+    }
+}

Added: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlDatatypes.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlDatatypes.java?rev=359652&view=auto
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlDatatypes.java
(added)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/postgresql/TestPostgreSqlDatatypes.java
Wed Dec 28 14:29:26 2005
@@ -0,0 +1,37 @@
+package org.apache.ddlutils.io.postgresql;
+
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.apache.ddlutils.io.DatatypesTestBase;
+import org.apache.ddlutils.platform.PostgreSqlPlatform;
+
+/**
+ * Performs the roundtrip datatype tests against a PostgreSql database.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
+ */
+public class TestPostgreSqlDatatypes extends DatatypesTestBase
+{
+    /**
+     * {@inheritDoc}
+     */
+    protected String getPlatformName()
+    {
+        return PostgreSqlPlatform.DATABASENAME;
+    }
+}



Mime
View raw message