aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-07 21:35:34 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-07 21:35:34 +0100
commitfce88c72b4a549d60010b7b3ccab6a058a617ccc (patch)
tree7676a4ad2e4689f5188aea4a3d393b4a5b9c8c90 /src/test
parent1ad9401c3f0c9ebc63546fb9e6905110a474a9dd (diff)
downloadesper-testing-fce88c72b4a549d60010b7b3ccab6a058a617ccc.tar.gz
esper-testing-fce88c72b4a549d60010b7b3ccab6a058a617ccc.tar.bz2
esper-testing-fce88c72b4a549d60010b7b3ccab6a058a617ccc.tar.xz
esper-testing-fce88c72b4a549d60010b7b3ccab6a058a617ccc.zip
o Better Jenkins importer.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java3
1 files changed, 2 insertions, 1 deletions
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<GitoriousEvent> events = parser.parseStream(stream, Option.<Date>none(), "esper-test-project", "esper-test-project");