roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r1070262 - /roller/trunk/weblogger-business/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
Date Sun, 13 Feb 2011 16:50:52 GMT
Author: snoopdave
Date: Sun Feb 13 16:50:52 2011
New Revision: 1070262

URL: http://svn.apache.org/viewvc?rev=1070262&view=rev
Log:
Couple more fixes to MediaFile - MediaFileTag relationship in tests

Modified:
    roller/trunk/weblogger-business/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java

Modified: roller/trunk/weblogger-business/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-business/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java?rev=1070262&r1=1070261&r2=1070262&view=diff
==============================================================================
--- roller/trunk/weblogger-business/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
(original)
+++ roller/trunk/weblogger-business/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
Sun Feb 13 16:50:52 2011
@@ -478,6 +478,7 @@ public class MediaFileTest extends TestC
             rootDirectory.getMediaFiles().add(mf);
 
             MediaFileTag tag = new MediaFileTag("home", mf);
+            tag.setMediaFile(mf);
             Set<MediaFileTag> tags = new HashSet<MediaFileTag>();
             tags.add(tag);
             mf.setTags(tags);
@@ -507,6 +508,7 @@ public class MediaFileTest extends TestC
             rootDirectory.getMediaFiles().add(mf);
 
             MediaFileTag tag = new MediaFileTag("home", mf);
+            tag.setMediaFile(mf);
             Set<MediaFileTag> tags = new HashSet<MediaFileTag>();
             tags.add(tag);
             mf.setTags(tags);



Mime
View raw message