[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 May 2 11:31:17 EDT 2013


Author: rdw
Date: Thu May  2 11:31:17 2013
New Revision: 4455

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4455&view=rev
Log:
IDP-284  test method names loose "test"

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/Saml1XmlObjectAttributeEncoderTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/Saml1XmlObjectSubjectNameIdentifierEncoderTest.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
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/Saml2XmlObjectAttributeEncoderTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/attribute/encoding/Saml2XmlObjectSubjectNameIDEncoderTest.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=4455&r1=4454&r2=4455&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 May  2 11:31:17 2013
@@ -63,7 +63,7 @@
         encoder.initialize();
     }
 
-    @Test(expectedExceptions = {AttributeEncodingException.class,}) public void testEmpty() throws Exception {
+    @Test(expectedExceptions = {AttributeEncodingException.class,}) public void empty() throws Exception {
         final net.shibboleth.idp.attribute.Attribute inputAttribute;
 
         inputAttribute = new net.shibboleth.idp.attribute.Attribute(ATTR_NAME);
@@ -71,7 +71,7 @@
         encoder.encode(inputAttribute);
     }
 
-    @Test(expectedExceptions = {AttributeEncodingException.class,}) public void testInappropriate() throws Exception {
+    @Test(expectedExceptions = {AttributeEncodingException.class,}) public void inappropriate() throws Exception {
         final int[] intArray = {1, 2, 3, 4};
         final Collection<AttributeValue> values =
                 Lists.newArrayList((AttributeValue) new StringAttributeValue("foo"), new ScopedStringAttributeValue(
@@ -87,7 +87,7 @@
         encoder.encode(inputAttribute);
     }
 
-    @Test public void testSingle() throws Exception {
+    @Test public void single() throws Exception {
         final Collection<AttributeValue> values =
                 Lists.newArrayList((AttributeValue) new StringAttributeValue("foo"), new ByteAttributeValue(
                         BYTE_ARRAY_1));
@@ -116,7 +116,7 @@
         Assert.assertEquals(childAsBa, BYTE_ARRAY_1, "Input equals output");
     }
 
-    @Test public void testMulti() throws Exception {
+    @Test public void multi() throws Exception {
         final Collection<AttributeValue> values =
                 Lists.newArrayList((AttributeValue) new ByteAttributeValue(BYTE_ARRAY_1), new ByteAttributeValue(
                         BYTE_ARRAY_2));

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=4455&r1=4454&r2=4455&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 May  2 11:31:17 2013
@@ -74,7 +74,7 @@
         return encoder;
     }
 
-    @Test(expectedExceptions={AttributeEncodingException.class,})   public void testEmpty() throws AttributeEncodingException, ComponentInitializationException {
+    @Test(expectedExceptions={AttributeEncodingException.class,})   public void empty() throws AttributeEncodingException, ComponentInitializationException {
         final net.shibboleth.idp.attribute.Attribute inputAttribute;
 

[... 399 lines stripped ...]


More information about the commits mailing list