[java-identity-provider COMMIT] in /trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding...

noreply at shibboleth.net noreply at shibboleth.net
Thu Feb 27 14:40:27 EST 2014


Author: tzeller
Date: Thu Feb 27 14:40:27 2014
New Revision: 5489

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5489&view=rev
Log:
Typo nits in test class assert messages.

Modified:
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ByteAttributeEncoderTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ScopedStringAttributeEncoderTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1StringAttributeEncoderTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML2ByteAttributeEncoderTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML2ScopedStringAttributeEncoderTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML2StringAttributeEncoderTest.java

Modified: trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ByteAttributeEncoderTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ByteAttributeEncoderTest.java?rev=5489&r1=5488&r2=5489&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ByteAttributeEncoderTest.java (original)
+++ trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ByteAttributeEncoderTest.java Thu Feb 27 14:40:27 2014
@@ -108,7 +108,7 @@
         XMLObject child = children.get(0);
         Assert.assertEquals(child.getElementQName(), AttributeValue.DEFAULT_ELEMENT_NAME);
 
-        Assert.assertTrue(child instanceof XSString, "Child of result attribute shoulld be a string");
+        Assert.assertTrue(child instanceof XSString, "Child of result attribute should be a string");
 
         XSString childAsString = (XSString) child;
 
@@ -136,7 +136,7 @@
         XMLObject child = children.get(0);
         Assert.assertEquals(child.getElementQName(), AttributeValue.DEFAULT_ELEMENT_NAME,
                 "Attribute Value not inside <AttributeValue/>");
-        Assert.assertTrue(child instanceof XSString, "Child of result attribute shoulld be a string");
+        Assert.assertTrue(child instanceof XSString, "Child of result attribute should be a string");
 
         XSString childAsString = (XSString) child;
         Assert.assertEquals(child.getElementQName(), AttributeValue.DEFAULT_ELEMENT_NAME,
@@ -144,7 +144,7 @@
         final byte[] res0 = Base64.decode(childAsString.getValue());
 
         child = children.get(1);
-        Assert.assertTrue(child instanceof XSString, "Child of result attribute shoulld be a string");
+        Assert.assertTrue(child instanceof XSString, "Child of result attribute should be a string");
 
         childAsString = (XSString) child;
         final byte[] res1 = Base64.decode(childAsString.getValue());

Modified: trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ScopedStringAttributeEncoderTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ScopedStringAttributeEncoderTest.java?rev=5489&r1=5488&r2=5489&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ScopedStringAttributeEncoderTest.java (original)
+++ trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/SAML1ScopedStringAttributeEncoderTest.java Thu Feb 27 14:40:27 2014
@@ -147,7 +147,7 @@
         Assert.assertEquals(child.getElementQName(), AttributeValue.DEFAULT_ELEMENT_NAME,
                 "Attribute Value not inside <AttributeValue/>");
 
-        Assert.assertTrue(child instanceof ScopedValue, "Child of result attribute shoulld be a string");
+        Assert.assertTrue(child instanceof ScopedValue, "Child of result attribute should be a string");
 
         final ScopedValue childAsScopedValue = (ScopedValue) child;
 
@@ -174,7 +174,7 @@
         Assert.assertEquals(children.size(), 2, "Encoding two entries");
 
         Assert.assertTrue(children.get(0) instanceof ScopedValue && children.get(1) instanceof ScopedValue,
-                "Child of result attribute shoulld be a string");
+                "Child of result attribute should be a string");
 
         final ScopedValue child1 = (ScopedValue) children.get(0);
         Assert.assertEquals(child1.getElementQName(), AttributeValue.DEFAULT_ELEMENT_NAME,
@@ -241,7 +241,7 @@
         Assert.assertEquals(child.getElementQName(), AttributeValue.DEFAULT_ELEMENT_NAME,
                 "Attribute Value not inside <AttributeValue/>");
 
-        Assert.assertTrue(child instanceof XSString, "Child of result attribute shoulld be a string");

[... 137 lines stripped ...]


More information about the commits mailing list