From fce88c72b4a549d60010b7b3ccab6a058a617ccc Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 7 Dec 2012 21:35:34 +0100 Subject: o Better Jenkins importer. --- src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/java') diff --git a/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java b/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java index a6ba2f7..aab523f 100644 --- a/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java +++ b/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java @@ -2,6 +2,7 @@ package io.trygvis.esper.testing.gitorious; import fj.data.*; import junit.framework.*; +import org.apache.abdera.*; import org.dom4j.*; import java.io.*; @@ -25,7 +26,7 @@ public class TestXmlParsing extends TestCase { } public void testEventParsing() throws Exception { - GitoriousAtomFeedParser parser = new GitoriousAtomFeedParser(); + GitoriousAtomFeedParser parser = new GitoriousAtomFeedParser(new Abdera()); try (InputStream stream = getClass().getResourceAsStream("/gitorious/esper-test-project.atom")) { List events = parser.parseStream(stream, Option.none(), "esper-test-project", "esper-test-project"); -- cgit v1.2.3