roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r493627 - in /incubator/roller/trunk/tests/org/apache/roller/business: BookmarkTest.java WeblogCategoryTest.java
Date Sun, 07 Jan 2007 01:11:05 GMT
Author: clr
Date: Sat Jan  6 17:11:05 2007
New Revision: 493627

URL: http://svn.apache.org/viewvc?view=rev&rev=493627
Log:
Fix incorrect assignment of Id to transient instances

Modified:
    incubator/roller/trunk/tests/org/apache/roller/business/BookmarkTest.java
    incubator/roller/trunk/tests/org/apache/roller/business/WeblogCategoryTest.java

Modified: incubator/roller/trunk/tests/org/apache/roller/business/BookmarkTest.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/tests/org/apache/roller/business/BookmarkTest.java?view=diff&rev=493627&r1=493626&r2=493627
==============================================================================
--- incubator/roller/trunk/tests/org/apache/roller/business/BookmarkTest.java (original)
+++ incubator/roller/trunk/tests/org/apache/roller/business/BookmarkTest.java Sat Jan  6 17:11:05
2007
@@ -242,7 +242,6 @@
         assertTrue(root.equals(testFolder));
         
         testFolder = new FolderData(root, "root", "root", testWeblog);
-        testFolder.setId(root.getId());
         assertFalse(root.equals(testFolder));
     }
     

Modified: incubator/roller/trunk/tests/org/apache/roller/business/WeblogCategoryTest.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/tests/org/apache/roller/business/WeblogCategoryTest.java?view=diff&rev=493627&r1=493626&r2=493627
==============================================================================
--- incubator/roller/trunk/tests/org/apache/roller/business/WeblogCategoryTest.java (original)
+++ incubator/roller/trunk/tests/org/apache/roller/business/WeblogCategoryTest.java Sat Jan
 6 17:11:05 2007
@@ -178,7 +178,6 @@
         assertTrue(root.equals(testCat));
         
         testCat = new WeblogCategoryData(testWeblog, root, "root", "root", null);
-        testCat.setId(root.getId());
         assertFalse(root.equals(testCat));
     }
     



Mime
View raw message