cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r454861 - /incubator/cayenne/main/trunk/integration-test/pojo/src/test/java/org/apache/cayenne/itest/pojo/SimpleObjectTest.java
Date Tue, 10 Oct 2006 18:17:30 GMT
Author: aadamchik
Date: Tue Oct 10 11:17:29 2006
New Revision: 454861

URL: http://svn.apache.org/viewvc?view=rev&rev=454861
Log:
refactoring itests for better support of JPA vs. Cayenne POJO tests

Modified:
    incubator/cayenne/main/trunk/integration-test/pojo/src/test/java/org/apache/cayenne/itest/pojo/SimpleObjectTest.java

Modified: incubator/cayenne/main/trunk/integration-test/pojo/src/test/java/org/apache/cayenne/itest/pojo/SimpleObjectTest.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/integration-test/pojo/src/test/java/org/apache/cayenne/itest/pojo/SimpleObjectTest.java?view=diff&rev=454861&r1=454860&r2=454861
==============================================================================
--- incubator/cayenne/main/trunk/integration-test/pojo/src/test/java/org/apache/cayenne/itest/pojo/SimpleObjectTest.java
(original)
+++ incubator/cayenne/main/trunk/integration-test/pojo/src/test/java/org/apache/cayenne/itest/pojo/SimpleObjectTest.java
Tue Oct 10 11:17:29 2006
@@ -4,12 +4,17 @@
 public class SimpleObjectTest extends PojoContextCase {
 
 	public void testInsert() throws Exception {
-		// // TODO: andrus, 10/9/2006 - clean up DataContext DataObject
-		// dependency.
-		// Entity1 o = (Entity1) context.newObject(Entity1.class);
-		// o.setName("X");
-		// context.commitChanges();
-		//
-		// assertEquals("X", ItestDBUtils.getObject("entity1", "name"));
+		// TODO: andrus, 10/9/2006 - clean up DataContext DataObject dependency.
+//		Entity1 o = (Entity1) context.newObject(Entity1.class);
+//		o.setName("X");
+//		
+//		try {
+//		context.commitChanges();
+//		}
+//		catch (Exception e) {
+//			e.printStackTrace();
+//		}
+//
+//		assertEquals("X", getDbHelper().getObject("entity1", "name"));
 	}
 }



Mime
View raw message