From 82a74501824f3bfb7917c087c517954a329040dd Mon Sep 17 00:00:00 2001 From: Damien Laniel Date: Wed, 13 Jun 2007 13:17:51 +0000 Subject: fixed gcj warnings + added 2 checks --- java/tests/LoginTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'java') diff --git a/java/tests/LoginTest.java b/java/tests/LoginTest.java index 4585639e..5cd93f54 100644 --- a/java/tests/LoginTest.java +++ b/java/tests/LoginTest.java @@ -86,7 +86,7 @@ public class LoginTest extends TestCase { Logout idpLogout, spLogout; SamlAssertion assertion; Server idp, sp; - Session idpSession, spSession; + Session spSession; String artifact, authenticationMethod, authnRequestQuery, authnRequestUrl, idpDump, idpIdentityDump, idpRemoteProviderId, idpSessionDump, nameIdentifier, relayState, responseQuery, responseUrl, soapEndpoint, soapResponseMsg, soapRequestMsg, @@ -149,7 +149,9 @@ public class LoginTest extends TestCase { spLogin.initRequest(responseQuery, method); spLogin.buildRequestMsg(); soapEndpoint = spLogin.getMsgUrl(); + assertNotNull(soapEndpoint); soapRequestMsg = spLogin.getMsgBody(); + assertNotNull(soapRequestMsg); // Identity provider SOAP endpoint. requestType = lasso.getRequestTypeFromSoapMsg(soapRequestMsg); -- cgit