You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2007/02/17 06:14:41 UTC

svn commit: r508712 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java

Author: tomdz
Date: Fri Feb 16 21:14:40 2007
New Revision: 508712

URL: http://svn.apache.org/viewvc?view=rev&rev=508712
Log:
Changed index column type change test so that it is not run when indexes are not supported

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

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java?view=diff&rev=508712&r1=508711&r2=508712
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java Fri Feb 16 21:14:40 2007
@@ -237,6 +237,11 @@
      */
     public void testChangeIndexColumnDatatype()
     {
+        if (!getPlatformInfo().isIndicesSupported())
+        {
+            return;
+        }
+
         final String model1Xml = 
             "<?xml version='1.0' encoding='ISO-8859-1'?>\n"+
             "<database name='roundtriptest'>\n"+