cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1361647 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneTest.java
Date Sun, 15 Jul 2012 08:02:15 GMT
Author: aadamchik
Date: Sun Jul 15 08:02:15 2012
New Revision: 1361647

URL: http://svn.apache.org/viewvc?rev=1361647&view=rev
Log:
unit test

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneTest.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneTest.java?rev=1361647&r1=1361646&r2=1361647&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneTest.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneTest.java
Sun Jul 15 08:02:15 2012
@@ -153,6 +153,12 @@ public class CayenneTest extends ServerC
                 object instanceof Number);
         assertEquals(2, ((Number) object).intValue());
     }
+    
+    public void testMakePath() {
+        assertEquals("", Cayenne.makePath());
+        assertEquals("a", Cayenne.makePath("a"));
+        assertEquals("a.b", Cayenne.makePath("a", "b"));
+    }
 
     public void testObjectForQuery() throws Exception {
         createOneArtist();



Mime
View raw message