Author: anil.saldhana(a)jboss.com
Date: 2012-02-28 11:01:27 -0500 (Tue, 28 Feb 2012)
New Revision: 1447
Modified:
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2MixedBindingGlobalLogOutUnitTestCase.java
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2PostBindingGlobalLogOutUnitTestCase.java
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2RedirectBindingGlobalLogOutUnitTestCase.java
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2ResponseParsingUnitTestCase.java
Log:
clear WebConversation
Modified:
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2MixedBindingGlobalLogOutUnitTestCase.java
===================================================================
---
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2MixedBindingGlobalLogOutUnitTestCase.java 2012-02-27
19:10:45 UTC (rev 1446)
+++
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2MixedBindingGlobalLogOutUnitTestCase.java 2012-02-28
16:01:27 UTC (rev 1447)
@@ -119,6 +119,8 @@
assertTrue( " Reached the Login page ", webResponse.getText().contains(
"Login" ));
System.out.println("Trying "+ url2);
webResponse = webConversation.getResponse( url2 );
- assertTrue( " Reached the Login page ", webResponse.getText().contains(
"Login" ));
+ assertTrue( " Reached the Login page ", webResponse.getText().contains(
"Login" ));
+
+ webConversation.clearContents();
}
}
Modified:
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2PostBindingGlobalLogOutUnitTestCase.java
===================================================================
---
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2PostBindingGlobalLogOutUnitTestCase.java 2012-02-27
19:10:45 UTC (rev 1446)
+++
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2PostBindingGlobalLogOutUnitTestCase.java 2012-02-28
16:01:27 UTC (rev 1447)
@@ -88,7 +88,8 @@
//Hit the Employee App again
System.out.println("Trying "+ getService2URL());
webResponse = webConversation.getResponse( getService2URL() );
- assertTrue( " Reached the Login page ", webResponse.getText().contains(
"Login" ));
+ assertTrue( " Reached the Login page ", webResponse.getText().contains(
"Login" ));
+ webConversation.clearContents();
}
public String getService1URL()
Modified:
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2RedirectBindingGlobalLogOutUnitTestCase.java
===================================================================
---
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2RedirectBindingGlobalLogOutUnitTestCase.java 2012-02-27
19:10:45 UTC (rev 1446)
+++
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2RedirectBindingGlobalLogOutUnitTestCase.java 2012-02-28
16:01:27 UTC (rev 1447)
@@ -90,6 +90,8 @@
//Hit the Employee App again
System.out.println("Trying "+ SERVICE_2_URL);
webResponse = webConversation.getResponse( SERVICE_2_URL );
- assertTrue( " Reached the Login page ", webResponse.getText().contains(
"Login" ));
+ assertTrue( " Reached the Login page ", webResponse.getText().contains(
"Login" ));
+
+ webConversation.clearContents();
}
}
\ No newline at end of file
Modified:
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2ResponseParsingUnitTestCase.java
===================================================================
---
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2ResponseParsingUnitTestCase.java 2012-02-27
19:10:45 UTC (rev 1446)
+++
integration-tests/trunk/picketlink-saml-tests/src/test/java/org/picketlink/test/integration/saml2/SAML2ResponseParsingUnitTestCase.java 2012-02-28
16:01:27 UTC (rev 1447)
@@ -50,5 +50,7 @@
WebResponse webResponse = webConversation.getResponse( serviceRequest1 );
assertEquals( 200, webResponse.getResponseCode());
+
+ webConversation.clearContents();
}
}
\ No newline at end of file
Show replies by date