cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r439571 - in /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access: DataContextBlobTst.java DataContextClobTst.java
Date Sat, 02 Sep 2006 11:19:54 GMT
Author: aadamchik
Date: Sat Sep  2 04:19:52 2006
New Revision: 439571

URL: http://svn.apache.org/viewvc?rev=439571&view=rev
Log:
error in lob unit tests - using old entity name

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

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java?rev=439571&r1=439570&r2=439571&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextBlobTst.java
Sat Sep  2 04:19:52 2006
@@ -114,7 +114,7 @@
 
     protected void runWithBlobSize(int sizeBytes) throws Exception {
         // insert new clob
-        BlobTestEntity blobObj1 = (BlobTestEntity) ctxt.createAndRegisterNewObject("BlobTest");
+        BlobTestEntity blobObj1 = (BlobTestEntity) ctxt.newObject(BlobTestEntity.class);
 
         // init BLOB of a specified size
         byte[] bytes = new byte[sizeBytes];

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextClobTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextClobTst.java?rev=439571&r1=439570&r2=439571&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextClobTst.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/access/DataContextClobTst.java
Sat Sep  2 04:19:52 2006
@@ -108,8 +108,7 @@
 
     protected void runWithClobSize(int sizeBytes) throws Exception {
         // insert new clob
-        ClobTestEntity clobObj1 = (ClobTestEntity) ctxt
-                .createAndRegisterNewObject("ClobTest");
+        ClobTestEntity clobObj1 = (ClobTestEntity) ctxt.newObject(ClobTestEntity.class);
 
         // init CLOB of a specified size
         if (sizeBytes == 0) {



Mime
View raw message