db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r508712 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java
Date Sat, 17 Feb 2007 05:14:41 GMT
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"+



Mime
View raw message