cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From and...@apache.org
Subject svn commit: r701315 - /cayenne/main/trunk/framework/cayenne-modeler/src/test/java/org/apache/cayenne/modeler/util/SmartNamingStrategyTest.java
Date Fri, 03 Oct 2008 07:16:24 GMT
Author: andrey
Date: Fri Oct  3 00:16:24 2008
New Revision: 701315

URL: http://svn.apache.org/viewvc?rev=701315&view=rev
Log:
CAY-402 Entity/Attribute/Relationship naming improvements on rverse-engineering
(fixed JUnit test)

Modified:
    cayenne/main/trunk/framework/cayenne-modeler/src/test/java/org/apache/cayenne/modeler/util/SmartNamingStrategyTest.java

Modified: cayenne/main/trunk/framework/cayenne-modeler/src/test/java/org/apache/cayenne/modeler/util/SmartNamingStrategyTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/test/java/org/apache/cayenne/modeler/util/SmartNamingStrategyTest.java?rev=701315&r1=701314&r2=701315&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-modeler/src/test/java/org/apache/cayenne/modeler/util/SmartNamingStrategyTest.java
(original)
+++ cayenne/main/trunk/framework/cayenne-modeler/src/test/java/org/apache/cayenne/modeler/util/SmartNamingStrategyTest.java
Fri Oct  3 00:16:24 2008
@@ -40,7 +40,7 @@
         assertEquals(strategy.createDbRelationshipName(key, true), "people");
         
         key = new ExportedKey("PERSON", "PERSON_ID", null,
-                "ADDRESS", "SHIPPING_ADDRESS", null);
+                "ADDRESS", "SHIPPING_ADDRESS_ID", null);
         assertEquals(strategy.createDbRelationshipName(key, false), "shippingAddress"); 
         assertEquals(strategy.createDbRelationshipName(key, true), "addresses");
         



Mime
View raw message