aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-11-09 12:55:43 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-11-09 12:55:43 +0100
commit8b3db6ef6307191609d2dab837032db16aa13375 (patch)
tree06147ba8a404a0bc122830b8b8aedbd4bb60ff49 /src/test/java
parent796336d8ce3593e10b44f40a05de56a6cc2ba4e7 (diff)
downloadesper-testing-8b3db6ef6307191609d2dab837032db16aa13375.tar.gz
esper-testing-8b3db6ef6307191609d2dab837032db16aa13375.tar.bz2
esper-testing-8b3db6ef6307191609d2dab837032db16aa13375.tar.xz
esper-testing-8b3db6ef6307191609d2dab837032db16aa13375.zip
wip
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java4
1 files changed, 2 insertions, 2 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 63ae319..2d5945e 100644
--- a/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java
+++ b/src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java
@@ -11,12 +11,12 @@ public class TestXmlParsing extends TestCase {
try (InputStream stream = getClass().getResourceAsStream("/gitorious/projects-2.xml")) {
Document document = GitoriousClient.xmlReader.readDocument(stream);
- List<GitoriousProject> projects = GitoriousProject.projectsFromXml("http://gitorious.org", document.getRootElement());
+ List<GitoriousProjectXml> projects = GitoriousProjectXml.projectsFromXml(document.getRootElement());
assertNotNull(projects);
assertEquals(20, projects.size());
- GitoriousProject project = projects.get(3);
+ GitoriousProjectXml project = projects.get(3);
assertEquals("aed-ii", project.slug);
assertEquals(2, project.repositories.size());
}