From ee458f82b8502e238a96e6582e910cb366059ead Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 07 Nov 2011 22:12:38 -0500
Subject: [PATCH] Log feature based on Search dialog. Renamed some classes.

---
 tests/com/gitblit/tests/SyndicationUtilsTest.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/com/gitblit/tests/SyndicationUtilsTest.java b/tests/com/gitblit/tests/SyndicationUtilsTest.java
index 0746642..0a2420f 100644
--- a/tests/com/gitblit/tests/SyndicationUtilsTest.java
+++ b/tests/com/gitblit/tests/SyndicationUtilsTest.java
@@ -25,15 +25,15 @@
 import junit.framework.TestCase;
 
 import com.gitblit.Constants.SearchType;
-import com.gitblit.models.SyndicatedEntryModel;
+import com.gitblit.models.FeedEntryModel;
 import com.gitblit.utils.SyndicationUtils;
 
 public class SyndicationUtilsTest extends TestCase {
 
 	public void testSyndication() throws Exception {
-		List<SyndicatedEntryModel> entries = new ArrayList<SyndicatedEntryModel>();
+		List<FeedEntryModel> entries = new ArrayList<FeedEntryModel>();
 		for (int i = 0; i < 10; i++) {
-			SyndicatedEntryModel entry = new SyndicatedEntryModel();
+			FeedEntryModel entry = new FeedEntryModel();
 			entry.title = "Title " + i;
 			entry.author = "Author " + i;
 			entry.link = "Link " + i;
@@ -61,13 +61,13 @@
 	public void testFeedRead() throws Exception {
 		Set<String> links = new HashSet<String>();
 		for (int i = 0; i < 2; i++) {
-			List<SyndicatedEntryModel> feed = SyndicationUtils.readFeed(GitBlitSuite.url,
+			List<FeedEntryModel> feed = SyndicationUtils.readFeed(GitBlitSuite.url,
 					"ticgit.git", "master", 5, i, GitBlitSuite.account,
 					GitBlitSuite.password.toCharArray());
 			assertTrue(feed != null);
 			assertTrue(feed.size() > 0);
 			assertEquals(5, feed.size());
-			for (SyndicatedEntryModel entry : feed) {
+			for (FeedEntryModel entry : feed) {
 				links.add(entry.link);
 			}
 		}
@@ -76,7 +76,7 @@
 	}
 
 	public void testSearchFeedRead() throws Exception {
-		List<SyndicatedEntryModel> feed = SyndicationUtils.readSearchFeed(GitBlitSuite.url,
+		List<FeedEntryModel> feed = SyndicationUtils.readSearchFeed(GitBlitSuite.url,
 				"ticgit.git", null, "test", null, 5, 0, GitBlitSuite.account,
 				GitBlitSuite.password.toCharArray());
 		assertTrue(feed != null);

--
Gitblit v1.9.1