cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r464100 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java
Date Sun, 15 Oct 2006 02:40:58 GMT
Author: aadamchik
Date: Sat Oct 14 19:40:57 2006
New Revision: 464100

URL: http://svn.apache.org/viewvc?view=rev&rev=464100
Log:
added cache cleanup step to remove interferance from other tests

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java?view=diff&rev=464100&r1=464099&r2=464100
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java
Sat Oct 14 19:40:57 2006
@@ -102,7 +102,11 @@
     }
 
     public void testCreateBadFault() throws Exception {
+        deleteTestData();
         createTestData("prepare");
+        
+        // this clears domain cache
+        createDataContext();
 
         TestLocalConnection connection = new TestLocalConnection(new ClientServerChannel(
                 getDomain()), LocalConnection.HESSIAN_SERIALIZATION);



Mime
View raw message