[java-opensaml2 COMMIT] in /branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider: EntityRoleFilterTest.j...
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jan 23 14:54:25 EST 2013
Author: scantor
Date: Wed Jan 23 14:54:24 2013
New Revision: 1609
URL: http://svn.shibboleth.net/view/java-opensaml2?rev=1609&view=rev
Log:
JOST-200: Remove dependency on large remote metadata files for unit tests.
Modified:
branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/EntityRoleFilterTest.java
branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/FileBackedHTTPMetadataProviderTest.java
branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/HTTPMetadataProviderTest.java
branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/SchemaValidationFilterTest.java
Modified: branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/EntityRoleFilterTest.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/EntityRoleFilterTest.java?rev=1609&r1=1608&r2=1609&view=diff
==============================================================================
--- branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/EntityRoleFilterTest.java (original)
+++ branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/EntityRoleFilterTest.java Wed Jan 23 14:54:24 2013
@@ -38,7 +38,8 @@
protected void setUp() throws Exception {
super.setUp();
- inCommonMDURL = "http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml";
+ inCommonMDURL = "https://svn.shibboleth.net/java-opensaml2"
+ + "/branches/REL_2/src/test/resources/data/org/opensaml/saml2/metadata/InCommon-metadata.xml";
}
public void testWhiteListSPRole() throws Exception {
Modified: branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/FileBackedHTTPMetadataProviderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/FileBackedHTTPMetadataProviderTest.java?rev=1609&r1=1608&r2=1609&view=diff
==============================================================================
--- branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/FileBackedHTTPMetadataProviderTest.java (original)
+++ branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/FileBackedHTTPMetadataProviderTest.java Wed Jan 23 14:54:24 2013
@@ -39,8 +39,8 @@
protected void setUp() throws Exception {
super.setUp();
- //mdUrl = "http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml";
- mdUrl="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml";
+ mdUrl = "https://svn.shibboleth.net/java-opensaml2"
+ + "/branches/REL_2/src/test/resources/data/org/opensaml/saml2/metadata/ukfederation-metadata.xml";
badMDURL = "http://www.google.com/";
backupFilePath = System.getProperty("java.io.tmpdir") + System.getProperty("file.separator") + "metadata.xml";
metadataProvider = new FileBackedHTTPMetadataProvider(mdUrl, 1000 * 5, backupFilePath);
Modified: branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/HTTPMetadataProviderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/HTTPMetadataProviderTest.java?rev=1609&r1=1608&r2=1609&view=diff
==============================================================================
--- branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/HTTPMetadataProviderTest.java (original)
+++ branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/HTTPMetadataProviderTest.java Wed Jan 23 14:54:24 2013
@@ -40,7 +40,8 @@
protected void setUp() throws Exception {
super.setUp();
- inCommonMDURL = "http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml";
+ inCommonMDURL = "https://svn.shibboleth.net/java-opensaml2"
+ + "/branches/REL_2/src/test/resources/data/org/opensaml/saml2/metadata/InCommon-metadata.xml";
entitiesDescriptorName = "urn:mace:incommon";
entityID = "urn:mace:incommon:washington.edu";
supportedProtocol ="urn:oasis:names:tc:SAML:1.1:protocol";
Modified: branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/SchemaValidationFilterTest.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/SchemaValidationFilterTest.java?rev=1609&r1=1608&r2=1609&view=diff
==============================================================================
--- branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/SchemaValidationFilterTest.java (original)
+++ branches/REL_2/src/test/java/org/opensaml/saml2/metadata/provider/SchemaValidationFilterTest.java Wed Jan 23 14:54:24 2013
@@ -31,7 +31,8 @@
protected void setUp() throws Exception {
super.setUp();
- inCommonMDURL = "http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml";
+ inCommonMDURL = "https://svn.shibboleth.net/java-opensaml2"
[... 5 lines stripped ...]
More information about the commits
mailing list