[java-opensaml2 COMMIT] in /branches/REL_2/src/test/java/org/opensaml: saml1/binding/encoding/HTTPPostEncoderTest.jav...
noreply at shibboleth.net
noreply at shibboleth.net
Fri Mar 8 15:35:47 EST 2013
Author: scantor
Date: Fri Mar 8 15:35:47 2013
New Revision: 1629
URL: http://svn.shibboleth.net/view/java-opensaml2?rev=1629&view=rev
Log:
Fix unit tests with new hash codes.
Modified:
branches/REL_2/src/test/java/org/opensaml/saml1/binding/encoding/HTTPPostEncoderTest.java
branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostEncoderTest.java
branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java
Modified: branches/REL_2/src/test/java/org/opensaml/saml1/binding/encoding/HTTPPostEncoderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/test/java/org/opensaml/saml1/binding/encoding/HTTPPostEncoderTest.java?rev=1629&r1=1628&r2=1629&view=diff
==============================================================================
--- branches/REL_2/src/test/java/org/opensaml/saml1/binding/encoding/HTTPPostEncoderTest.java (original)
+++ branches/REL_2/src/test/java/org/opensaml/saml1/binding/encoding/HTTPPostEncoderTest.java Fri Mar 8 15:35:47 2013
@@ -82,6 +82,6 @@
assertEquals("Unexpected content type", "text/html", response.getContentType());
assertEquals("Unexpected character encoding", response.getCharacterEncoding(), "UTF-8");
assertEquals("Unexpected cache controls", "no-cache, no-store", response.getHeader("Cache-control"));
- assertEquals(833805436, response.getContentAsString().hashCode());
+ assertEquals(1849646075, response.getContentAsString().hashCode());
}
}
Modified: branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostEncoderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostEncoderTest.java?rev=1629&r1=1628&r2=1629&view=diff
==============================================================================
--- branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostEncoderTest.java (original)
+++ branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostEncoderTest.java Fri Mar 8 15:35:47 2013
@@ -102,7 +102,7 @@
assertEquals("Unexpected content type", "text/html", response.getContentType());
assertEquals("Unexpected character encoding", response.getCharacterEncoding(), "UTF-8");
assertEquals("Unexpected cache controls", "no-cache, no-store", response.getHeader("Cache-control"));
- assertEquals(-1392008902, response.getContentAsString().hashCode());
+ assertEquals(1080099645, response.getContentAsString().hashCode());
}
@SuppressWarnings("unchecked")
@@ -136,6 +136,6 @@
assertEquals("Unexpected content type", "text/html", response.getContentType());
assertEquals("Unexpected character encoding", response.getCharacterEncoding(), "UTF-8");
assertEquals("Unexpected cache controls", "no-cache, no-store", response.getHeader("Cache-control"));
- assertEquals(-1355812539, response.getContentAsString().hashCode());
+ assertEquals(1039626476, response.getContentAsString().hashCode());
}
}
Modified: branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java?rev=1629&r1=1628&r2=1629&view=diff
==============================================================================
--- branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java (original)
+++ branches/REL_2/src/test/java/org/opensaml/saml2/binding/encoding/HTTPPostSimpleSignEncoderTest.java Fri Mar 8 15:35:47 2013
@@ -105,7 +105,7 @@
assertEquals("Unexpected content type", "text/html", response.getContentType());
assertEquals("Unexpected character encoding", response.getCharacterEncoding(), "UTF-8");
assertEquals("Unexpected cache controls", "no-cache, no-store", response.getHeader("Cache-control"));
- assertEquals(742802882, response.getContentAsString().hashCode());
+ assertEquals(621462245, response.getContentAsString().hashCode());
}
@SuppressWarnings("unchecked")
@@ -139,7 +139,7 @@
assertEquals("Unexpected content type", "text/html", response.getContentType());
assertEquals("Unexpected character encoding", response.getCharacterEncoding(), "UTF-8");
assertEquals("Unexpected cache controls", "no-cache, no-store", response.getHeader("Cache-control"));
- assertEquals(-481805865, response.getContentAsString().hashCode());
+ assertEquals(-169497068, response.getContentAsString().hashCode());
}
@SuppressWarnings("unchecked")
More information about the commits
mailing list