cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r563187 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test: java/org/apache/art/ java/org/apache/art/oneway/ java/org/apache/cayenne/ java/org/apache/cayenne/access/ resources/
Date Mon, 06 Aug 2007 16:54:12 GMT
Author: aadamchik
Date: Mon Aug  6 09:54:11 2007
New Revision: 563187

URL: http://svn.apache.org/viewvc?view=rev&rev=563187
Log:
CAY-843 Remove arbitrary reverse relationship mapping limitations 
(removing old one-way relationships unit tests - will start fresh)

Removed:
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/art/oneway/
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/OneWayManyToOneTest.java
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/OneWayOneToManyTest.java
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DeleteRulesOneWayTest.java
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/one-way-map.map.xml
Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/art/Artist.java
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/CayenneDataObjectTest.java
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/cayenne.xml

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/art/Artist.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/art/Artist.java?view=diff&rev=563187&r1=563186&r2=563187
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/art/Artist.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/art/Artist.java
Mon Aug  6 09:54:11 2007
@@ -33,6 +33,9 @@
     protected boolean postRemoved;
     protected boolean postPersisted;
     protected boolean postLoaded;
+    
+    protected String someOtherProperty;
+    protected Object someOtherObjectProperty;
 
     public boolean isValidateForSaveCalled() {
         return validateForSaveCalled;
@@ -118,5 +121,21 @@
 
     public boolean isPostLoaded() {
         return postLoaded;
+    }
+    
+    public String getSomeOtherProperty() {
+        return someOtherProperty;
+    }
+
+    public void setSomeOtherProperty(String string) {
+        someOtherProperty = string;
+    }
+
+    public Object getSomeOtherObjectProperty() {
+        return someOtherObjectProperty;
+    }
+
+    public void setSomeOtherObjectProperty(Object object) {
+        someOtherObjectProperty = object;
     }
 }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/CayenneDataObjectTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/CayenneDataObjectTest.java?view=diff&rev=563187&r1=563186&r2=563187
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/CayenneDataObjectTest.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/CayenneDataObjectTest.java
Mon Aug  6 09:54:11 2007
@@ -21,7 +21,7 @@
 
 import junit.framework.TestCase;
 
-import org.apache.art.oneway.Artist;
+import org.apache.art.Artist;
 import org.apache.cayenne.access.DataContext;
 import org.apache.cayenne.unit.util.TestBean;
 

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/cayenne.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/cayenne.xml?view=diff&rev=563187&r1=563186&r2=563187
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/cayenne.xml
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/cayenne.xml
Mon Aug  6 09:54:11 2007
@@ -7,7 +7,6 @@
 	<map name="map-db1" location="map-db1.map.xml"/>
 	<map name="map-db2" location="map-db2.map.xml"/>
 	<map name="multi-tier" location="multi-tier.map.xml"/>
-	<map name="one-way-map" location="one-way-map.map.xml"/>
 	<map name="people" location="people.map.xml"/>
 	<map name="relationships" location="relationships.map.xml"/>
 	<map name="testmap" location="testmap.map.xml"/>



Mime
View raw message