From 8b3db6ef6307191609d2dab837032db16aa13375 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 9 Nov 2012 12:55:43 +0100 Subject: wip --- src/test/java/io/trygvis/esper/testing/gitorious/TestXmlParsing.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java/io/trygvis/esper/testing') 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 projects = GitoriousProject.projectsFromXml("http://gitorious.org", document.getRootElement()); + List 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()); } -- cgit v1.2.3