openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r590484 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java
Date Tue, 30 Oct 2007 21:52:49 GMT
Author: pcl
Date: Tue Oct 30 14:52:47 2007
New Revision: 590484

URL: http://svn.apache.org/viewvc?rev=590484&view=rev
Log:
Fixed test case that depended on new error message.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java?rev=590484&r1=590483&r2=590484&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java
Tue Oct 30 14:52:47 2007
@@ -32,7 +32,8 @@
             emf.createEntityManager().close();
             fail("should not be able to initialize system");
         } catch (Exception e) {
-            assertTrue(e.getMessage().startsWith("One or more of the types"));
+            assertTrue(e.getMessage().startsWith(
+                "The following classes were not specified"));
         }
     }
 }



Mime
View raw message