[java-opensaml COMMIT] in /trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml: saml1/binding/encoding/HTTPPostE...

noreply at shibboleth.net noreply at shibboleth.net
Fri Mar 8 15:41:40 EST 2013


Author: scantor
Date: Fri Mar  8 15:41:40 2013
New Revision: 3264

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3264&view=rev
Log:
Fix unit tests with new hash codes.

Modified:
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/HTTPPostEncoderTest.java
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostEncoderTest.java
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java

Modified: trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/HTTPPostEncoderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/HTTPPostEncoderTest.java?rev=3264&r1=3263&r2=3264&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/HTTPPostEncoderTest.java (original)
+++ trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/HTTPPostEncoderTest.java Fri Mar  8 15:41:40 2013
@@ -95,6 +95,6 @@
         Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
         Assert.assertEquals("UTF-8", response.getCharacterEncoding(), "Unexpected character encoding");
         Assert.assertEquals(response.getHeader("Cache-control"), "no-cache, no-store", "Unexpected cache controls");
-        Assert.assertEquals(response.getContentAsString().hashCode(), 833805436);
+        Assert.assertEquals(response.getContentAsString().hashCode(), 1849646075);
     }
 }

Modified: trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostEncoderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostEncoderTest.java?rev=3264&r1=3263&r2=3264&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostEncoderTest.java (original)
+++ trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostEncoderTest.java Fri Mar  8 15:41:40 2013
@@ -114,7 +114,7 @@
         Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
         Assert.assertEquals("UTF-8", response.getCharacterEncoding(), "Unexpected character encoding");
         Assert.assertEquals(response.getHeader("Cache-control"), "no-cache, no-store", "Unexpected cache controls");
-        Assert.assertEquals(response.getContentAsString().hashCode(), -1392008902);
+        Assert.assertEquals(response.getContentAsString().hashCode(), 1080099645);
     }
 
     @Test
@@ -155,6 +155,6 @@
         Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
         Assert.assertEquals("UTF-8", response.getCharacterEncoding(), "Unexpected character encoding");
         Assert.assertEquals(response.getHeader("Cache-control"), "no-cache, no-store", "Unexpected cache controls");
-        Assert.assertEquals(response.getContentAsString().hashCode(), -1355812539);
+        Assert.assertEquals(response.getContentAsString().hashCode(), 1039626476);
     }
 }

Modified: trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java?rev=3264&r1=3263&r2=3264&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java (original)
+++ trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java Fri Mar  8 15:41:40 2013
@@ -120,7 +120,7 @@
         Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
         Assert.assertEquals("UTF-8", response.getCharacterEncoding(), "Unexpected character encoding");
         Assert.assertEquals(response.getHeader("Cache-control"), "no-cache, no-store", "Unexpected cache controls");
-        Assert.assertEquals(response.getContentAsString().hashCode(), 742802882);
+        Assert.assertEquals(response.getContentAsString().hashCode(), 621462245);
     }
 
     @Test
@@ -161,7 +161,7 @@
         Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
         Assert.assertEquals("UTF-8", response.getCharacterEncoding(), "Unexpected character encoding");
         Assert.assertEquals(response.getHeader("Cache-control"), "no-cache, no-store", "Unexpected cache controls");
-        Assert.assertEquals(response.getContentAsString().hashCode(), -481805865);
+        Assert.assertEquals(response.getContentAsString().hashCode(), -169497068);
     }
     
     @Test



More information about the commits mailing list