diff options
| author | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-13 13:17:51 +0000 |
|---|---|---|
| committer | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-13 13:17:51 +0000 |
| commit | 82a74501824f3bfb7917c087c517954a329040dd (patch) | |
| tree | e9ccfdc8c463cf84f3f899bd780e3157066b7cc4 /java | |
| parent | 1915d25a8a0cfc7000f913f042dcde55a1569c4f (diff) | |
| download | lasso-82a74501824f3bfb7917c087c517954a329040dd.tar.gz lasso-82a74501824f3bfb7917c087c517954a329040dd.tar.xz lasso-82a74501824f3bfb7917c087c517954a329040dd.zip | |
fixed gcj warnings + added 2 checks
Diffstat (limited to 'java')
| -rw-r--r-- | java/tests/LoginTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
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); |
