db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r365722 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/ConstraintsTestBase.java
Date Tue, 03 Jan 2006 19:53:02 GMT
Author: mvdb
Date: Tue Jan  3 11:52:59 2006
New Revision: 365722

URL: http://svn.apache.org/viewcvs?rev=365722&view=rev
Log:
Make test fail when the platform doesn't match. Else we have a bogus passing test.

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=365722&r1=365721&r2=365722&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 Tue Jan  3
11:52:59 2006
@@ -186,6 +186,10 @@
             assertEquals(getAdjustedModel(),
                          getPlatform().readModelFromDatabase("roundtriptest"));
         }
+        else
+        {
+            fail("Platform " + getPlatformName() + " does not match " + getPlatform().getName());
+        }
     }
 
     /**



Mime
View raw message