From 2beded5445fb86f1b8d46b6594cad1b5ba962690 Mon Sep 17 00:00:00 2001 From: tkellner Date: Tue, 30 Aug 2011 18:03:49 +0000 Subject: Update to sjsxp 1.0.2 This version doesn't support creating an XMLEventReader from a StreamSource git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@964 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bkucommon/src/test') diff --git a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java index 435ae92e..d95216fa 100644 --- a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java +++ b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java @@ -29,7 +29,6 @@ import static org.junit.Assert.assertTrue; import java.io.Reader; import java.io.StringReader; -import javax.xml.transform.Source; import javax.xml.transform.stream.StreamSource; import org.junit.Before; @@ -65,7 +64,7 @@ public class SLCommandFactoryTest { public void createNullOperationCommand() throws SLCommandException, SLRuntimeException, SLRequestException, SLVersionException { Reader requestReader = new StringReader( ""); - Source source = new StreamSource(requestReader); + StreamSource source = new StreamSource(requestReader); SLCommand slCommand = factory.createSLCommand(source); @@ -76,7 +75,7 @@ public class SLCommandFactoryTest { public void createUnsupportedCommand() throws SLCommandException, SLRuntimeException, SLRequestException, SLVersionException { Reader requestReader = new StringReader( ""); - Source source = new StreamSource(requestReader); + StreamSource source = new StreamSource(requestReader); factory.createSLCommand(source); @@ -88,7 +87,7 @@ public class SLCommandFactoryTest { "" + "missplacedContent" + ""); - Source source = new StreamSource(requestReader); + StreamSource source = new StreamSource(requestReader); factory.createSLCommand(source); -- cgit v1.2.3