diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-02-23 14:42:40 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-02-23 14:42:40 +0000 |
commit | 00e2e53301ceafe825a6b56a4e5818fff91f834e (patch) | |
tree | 0f1f6485a0dd2da9f35466acf190c25f66248e9e /STALService/src/test/java/at/gv | |
parent | 24f80ff39e90925e5610a6fc4c3160a6947227d9 (diff) | |
download | mocca-00e2e53301ceafe825a6b56a4e5818fff91f834e.tar.gz mocca-00e2e53301ceafe825a6b56a4e5818fff91f834e.tar.bz2 mocca-00e2e53301ceafe825a6b56a4e5818fff91f834e.zip |
merge STALTranslator changes (translate() name clash workaround)
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@908 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'STALService/src/test/java/at/gv')
-rw-r--r-- | STALService/src/test/java/at/gv/egiz/stal/service/translator/STALTranslatorTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/STALService/src/test/java/at/gv/egiz/stal/service/translator/STALTranslatorTest.java b/STALService/src/test/java/at/gv/egiz/stal/service/translator/STALTranslatorTest.java index 1dad7973..e8930ed2 100644 --- a/STALService/src/test/java/at/gv/egiz/stal/service/translator/STALTranslatorTest.java +++ b/STALService/src/test/java/at/gv/egiz/stal/service/translator/STALTranslatorTest.java @@ -94,7 +94,7 @@ public class STALTranslatorTest { req.setSignedInfo("signedinfo".getBytes()); JAXBElement<? extends RequestType> request = of.createGetNextRequestResponseTypeSignRequest(req); STALTranslator instance = new STALTranslator(); - STALRequest result = instance.translate(request); + STALRequest result = instance.translateWSRequest(request); assertEquals(SignRequest.class, result.getClass()); assertEquals(req.getKeyIdentifier(), ((SignRequest) result).getKeyIdentifier()); assertEquals(req.getSignedInfo(), ((SignRequest) result).getSignedInfo()); @@ -106,7 +106,7 @@ public class STALTranslatorTest { QName n = new QName("http://www.egiz.gv.at/stal", "SignRequest"); JAXBElement<? extends RequestType> request = new JAXBElement<SignRequestType>(n, SignRequestType.class, null); STALTranslator instance = new STALTranslator(); - STALRequest result = instance.translate(request); + STALRequest result = instance.translateWSRequest(request); assertEquals(SignRequest.class, result.getClass()); } @@ -137,7 +137,7 @@ public class STALTranslatorTest { JAXBElement<? extends ResponseType> response = null; STALTranslator instance = new STALTranslator(); STALResponse expResult = null; - STALResponse result = instance.translate(response); + STALResponse result = instance.translateWSResponse(response); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); |