summaryrefslogtreecommitdiff
path: root/bkucommon/src/test
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-08-30 18:03:49 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-08-30 18:03:49 +0000
commit2beded5445fb86f1b8d46b6594cad1b5ba962690 (patch)
treef1ac126fd56e41d2f251b1b0a9e40fdc5c01972d /bkucommon/src/test
parent56230b91a944a2f5edac2bb3a513d4afd384ea94 (diff)
downloadmocca-2beded5445fb86f1b8d46b6594cad1b5ba962690.tar.gz
mocca-2beded5445fb86f1b8d46b6594cad1b5ba962690.tar.bz2
mocca-2beded5445fb86f1b8d46b6594cad1b5ba962690.zip
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
Diffstat (limited to 'bkucommon/src/test')
-rw-r--r--bkucommon/src/test/java/at/gv/egiz/bku/slcommands/SLCommandFactoryTest.java7
1 files changed, 3 insertions, 4 deletions
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(
"<NullOperationRequest xmlns=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2#\"/>");
- 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(
"<CreateCMSSignatureRequest xmlns=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2#\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2# file:/home/clemens/IAIK/BKU2/svn/bku/utils/src/main/schema/Core-1.2.xsd\" Structure=\"detached\"><KeyboxIdentifier></KeyboxIdentifier><DataObject><MetaInfo><MimeType></MimeType></MetaInfo><Content><Base64Content></Base64Content></Content></DataObject></CreateCMSSignatureRequest>");
- Source source = new StreamSource(requestReader);
+ StreamSource source = new StreamSource(requestReader);
factory.createSLCommand(source);
@@ -88,7 +87,7 @@ public class SLCommandFactoryTest {
"<NullOperationRequest xmlns=\"http://www.buergerkarte.at/namespaces/securitylayer/1.2#\">" +
"missplacedContent" +
"</NullOperationRequest>");
- Source source = new StreamSource(requestReader);
+ StreamSource source = new StreamSource(requestReader);
factory.createSLCommand(source);