db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r360544 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java
Date Sun, 01 Jan 2006 20:27:06 GMT
Author: tomdz
Date: Sun Jan  1 12:27:03 2006
New Revision: 360544

URL: http://svn.apache.org/viewcvs?rev=360544&view=rev
Log:
Added support for databases that do not support non-unique indices (Mckoi)

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java?rev=360544&r1=360543&r2=360544&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java Sun Jan  1
12:27:03 2006
@@ -227,7 +227,10 @@
      */
     public void testIndex()
     {
-        performConstraintsTest(TEST_INDEX_MODEL);
+        if (getPlatformInfo().isSupportingNonUniqueIndices())
+        {
+            performConstraintsTest(TEST_INDEX_MODEL);
+        }
     }
 
     /**
@@ -243,7 +246,10 @@
      */
     public void testPrimaryKeyIndex()
     {
-        performConstraintsTest(TEST_PRIMARY_KEY_INDEX_MODEL);
+        if (getPlatformInfo().isSupportingNonUniqueIndices())
+        {
+            performConstraintsTest(TEST_PRIMARY_KEY_INDEX_MODEL);
+        }
     }
 
     /**



Mime
View raw message