From 570d90d7d0635c85db21efaa12e1ecf3582edd6b Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sat, 19 Nov 2011 07:34:13 -0500
Subject: [PATCH] Removed legacy css file
---
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