[java-identity-provider COMMIT] in /trunk: idp-profile-api/pom.xml idp-profile-api/src/main/java/net/shibboleth/idp/p...

noreply at shibboleth.net noreply at shibboleth.net
Wed Dec 7 12:57:46 GMT 2011


Author: lajoie
Date: Wed Dec  7 12:57:46 2011
New Revision: 4084

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4084&view=rev
Log:
more unit testing
pull some testing support methods from the saml-impl module into profile-impl module

Added:
    trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/AbstractIdentityProviderActionTest.java   (with props)
    trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/ActionTestingSupport.java   (with props)
    trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/config/
    trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/config/AbstractProfileConfigurationTest.java   (contents, props changed)
      - copied, changed from r4083, trunk/idp-profile-api/src/test/java/net/shibboleth/idp/relyingparty/AbstractProfileConfigurationTest.java
    trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/SchemaValidateXmlMessage.java   (with props)
Removed:
    trunk/idp-profile-api/src/test/java/net/shibboleth/idp/relyingparty/AbstractProfileConfigurationTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/SamlActionTestingSupport.java
Modified:
    trunk/idp-profile-api/pom.xml
    trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java
    trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/ProfileConfiguration.java
    trunk/idp-profile-api/src/main/java/net/shibboleth/idp/relyingparty/RelyingPartyConfiguration.java
    trunk/idp-saml-impl/pom.xml
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/saml1/AddAudienceRestrictionToAssertionsTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/saml1/AddDoNotCacheConditionToAssertionsTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/saml1/AddNotBeforeConditionToAssertionsTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/saml1/AddNotOnOrAfterConditionToAssertionsTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/saml1/AddResponseShellTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/saml1/CheckRequestVersionTest.java
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/profile/saml1/Saml1ActionTestingSupport.java

Modified: trunk/idp-profile-api/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/pom.xml?rev=4084&r1=4083&r2=4084&view=diff
==============================================================================
--- trunk/idp-profile-api/pom.xml (original)
+++ trunk/idp-profile-api/pom.xml Wed Dec  7 12:57:46 2011
@@ -52,7 +52,11 @@
         <!-- Runtime Dependencies -->
 
         <!-- Test Dependencies -->
-
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-all</artifactId>
+        </dependency>
+        
     </dependencies>
 
 </project>

Modified: trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java?rev=4084&r1=4083&r2=4084&view=diff
==============================================================================
--- trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java (original)
+++ trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/AbstractProfileConfiguration.java Wed Dec  7 12:57:46 2011
@@ -16,7 +16,6 @@
  */
 
 package net.shibboleth.idp.profile.config;
-
 
 import org.opensaml.util.Assert;
 import org.opensaml.util.ObjectSupport;

Modified: trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/ProfileConfiguration.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/ProfileConfiguration.java?rev=4084&r1=4083&r2=4084&view=diff
==============================================================================
--- trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/ProfileConfiguration.java (original)
+++ trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/config/ProfileConfiguration.java Wed Dec  7 12:57:46 2011
@@ -17,6 +17,8 @@
 
 package net.shibboleth.idp.profile.config;
 
+//TODO should this be an identifiable component?
+//TODO should this be immutable after initialization?
 
 /** Represents the configuration of a particular Identity Provider communication profile. */
 public interface ProfileConfiguration {

Modified: trunk/idp-profile-api/src/main/java/net/shibboleth/idp/relyingparty/RelyingPartyConfiguration.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/src/main/java/net/shibboleth/idp/relyingparty/RelyingPartyConfiguration.java?rev=4084&r1=4083&r2=4084&view=diff

[... 927 lines stripped ...]


More information about the commits mailing list