diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-09-21 18:37:25 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-09-21 18:37:25 (GMT) |
commit | 816655ed98893382b82569ccbbebdb04c4af9127 (patch) | |
tree | 10274e693352516e36837b7bdbc88d979ee54f61 /test | |
parent | 88c4b4ac3e8609049d6ccd6de9f57d5eaef67558 (diff) | |
download | stroke-816655ed98893382b82569ccbbebdb04c4af9127.zip stroke-816655ed98893382b82569ccbbebdb04c4af9127.tar.bz2 |
Update some interfaces for consistency with Swiften.
Makes ClientOptions do more.
Diffstat (limited to 'test')
-rw-r--r-- | test/com/isode/stroke/parser/XMLParserTest.java | 2 | ||||
-rw-r--r-- | test/com/isode/stroke/parser/payloadparsers/PayloadsParserTester.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/com/isode/stroke/parser/XMLParserTest.java b/test/com/isode/stroke/parser/XMLParserTest.java index a1b5d1c..d9406bd 100644 --- a/test/com/isode/stroke/parser/XMLParserTest.java +++ b/test/com/isode/stroke/parser/XMLParserTest.java @@ -27,7 +27,7 @@ public class XMLParserTest { } private XMLParser parser() { - return PlatformXMLParserFactory.createXMLParser(client_, new SimpleEventLoop()); + return PlatformXMLParserFactory.createXMLParser(client_); } private void join(XMLParser parser) { diff --git a/test/com/isode/stroke/parser/payloadparsers/PayloadsParserTester.java b/test/com/isode/stroke/parser/payloadparsers/PayloadsParserTester.java index d5614fb..429892e 100644 --- a/test/com/isode/stroke/parser/payloadparsers/PayloadsParserTester.java +++ b/test/com/isode/stroke/parser/payloadparsers/PayloadsParserTester.java @@ -26,7 +26,7 @@ public class PayloadsParserTester implements XMLParserClient { public PayloadsParserTester(EventLoop eventLoop) { level = 0; - xmlParser = PlatformXMLParserFactory.createXMLParser(this, eventLoop); + xmlParser = PlatformXMLParserFactory.createXMLParser(this); } public boolean parse(String data) { |