[java-shib-metadata] branch main updated: Re-enable repository accessing tests.
Scott Cantor
cantor.2 at osu.edu
Sun Jul 6 16:08:59 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-shib-metadata.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-metadata.git;a=commit;h=cf729b316c5201be76bd207c50716e79839019a5
The following commit(s) were added to refs/heads/main by this push:
new cf729b31 Re-enable repository accessing tests.
cf729b31 is described below
commit cf729b316c5201be76bd207c50716e79839019a5
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Sun Jul 6 12:08:56 2025 -0400
Re-enable repository accessing tests.
---
.../http/HTTPResourceConfigurationTests.java | 8 ++--
.../DynamicHTTPMetadataProviderParserTest.java | 52 +++++++++++-----------
.../FileBackedHTTPMetadataProviderParserTest.java | 38 ++++++++--------
3 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/shib-metadata-spring/src/test/java/net/shibboleth/spring/http/HTTPResourceConfigurationTests.java b/shib-metadata-spring/src/test/java/net/shibboleth/spring/http/HTTPResourceConfigurationTests.java
index 83651534..c03bc06b 100644
--- a/shib-metadata-spring/src/test/java/net/shibboleth/spring/http/HTTPResourceConfigurationTests.java
+++ b/shib-metadata-spring/src/test/java/net/shibboleth/spring/http/HTTPResourceConfigurationTests.java
@@ -53,7 +53,7 @@ public class HTTPResourceConfigurationTests {
@NonnullBeforeTest private GenericApplicationContext theContext = null;
@NonnullBeforeTest private GenericApplicationContext globalContext = null;
- @BeforeSuite(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void setup() throws IOException {
+ @BeforeSuite public void setup() throws IOException {
final Path p = Files.createTempDirectory("HTTPResourceConfigurationTests");
theDir = p.toFile();
@@ -103,15 +103,15 @@ public class HTTPResourceConfigurationTests {
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void basic() throws IOException {
+ @Test public void basic() throws IOException {
testResource(getResource("basic"));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void inMemory() throws IOException {
+ @Test public void inMemory() throws IOException {
testResource(getResource("inMemory"));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void file() throws IOException {
+ @Test public void file() throws IOException {
testResource(getResource("fileResource"));
}
diff --git a/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/DynamicHTTPMetadataProviderParserTest.java b/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/DynamicHTTPMetadataProviderParserTest.java
index 426c7ec7..fbe796c5 100644
--- a/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/DynamicHTTPMetadataProviderParserTest.java
+++ b/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/DynamicHTTPMetadataProviderParserTest.java
@@ -56,7 +56,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
private static final String TEMPLATE_URL = "opensaml-saml-impl/src/test/resources/org/opensaml/saml/metadata/resolver/impl/${entityID}.xml";
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testDefaults() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicDefaults.xml", "beans.xml");
@@ -97,7 +97,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(resolver.getRequestURLBuilder().getClass(), HTTPEntityIDRequestURLBuilder.class);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testIndexes() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicIndexes.xml", "beans.xml");
@@ -106,7 +106,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(resolver.getIndexes().size(), 3);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testClientSecurityParamsParams() throws Exception {
getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicClientSecurityParams.xml", "beans.xml", "httpClient.xml");
@@ -114,7 +114,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
// We can't really test the actual timeout values, this is just to test that parser, factory bean, etc are ok.
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testTimeoutParams() throws Exception {
getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicTimeouts.xml", "beans.xml", "httpClient.xml");
@@ -122,7 +122,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
// We can't really test the actual timeout values, this is just to test that parser, factory bean, etc are ok.
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testMaxConnectionsParams() throws Exception {
getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicMaxConnections.xml", "beans.xml", "httpClient.xml");
@@ -130,7 +130,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
// We can't really test the actual max values, this is just to test that parser, factory bean, etc are ok.
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testPersistentCacheParamsViaDirectory() throws Exception {
final ApplicationContext appContext = getApplicationContext("dynamicResolverContext",
"dynamicPersistentCacheDirectory.xml", "beans.xml", "httpClient.xml");
@@ -159,7 +159,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(resolver.getBackgroundInitializationFromCacheDelay(), Duration.ofSeconds(30));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testPersistentCacheParamsViaManagerBeanRef() throws Exception {
final ApplicationContext appContext = getApplicationContext("dynamicResolverContext",
"dynamicPersistentCacheBean.xml", "beans.xml", "httpClient.xml");
@@ -188,7 +188,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(resolver.getBackgroundInitializationFromCacheDelay(), Duration.ofSeconds(30));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testBasicParams() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicBasicParams.xml", "beans.xml", "httpClient.xml");
@@ -214,7 +214,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
}
// Test disabled due to target site being unavailable, see IDP-1852
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testWellKnown() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicWellKnown.xml", "beans.xml");
@@ -230,7 +230,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testTemplate() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_OPENSAML, TEMPLATE_URL, false));
@@ -248,7 +248,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testMDQ() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicMetadataQueryProtocol.xml", "beans.xml");
@@ -265,7 +265,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testMDQWithContentTypeOverride() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicMetadataQueryProtocolWithContentTypeOverride.xml", "beans.xml");
@@ -275,7 +275,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
// Note we can't actually execute the request as the test MDQ server only supports application/samlmetadata+xml
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testMDQWithSecondaryURLBuilderForArtifact() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicMetadataQueryProtocolWithSecondaryURLBuilders.xml", "beans.xml");
@@ -297,7 +297,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testRegex() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, "shib-metadata-spring/src/test/resources/net/shibboleth/spring/metadata/$1.xml", false));
@@ -315,7 +315,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHttpCachingNone() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_OPENSAML, TEMPLATE_URL, false));
@@ -333,7 +333,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHttpCachingMemory() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_OPENSAML, TEMPLATE_URL, false));
@@ -351,7 +351,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHttpCachingFile() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_OPENSAML, TEMPLATE_URL, false));
@@ -369,7 +369,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSNoTrustEngine() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_OPENSAML, TEMPLATE_URL, false));
@@ -387,7 +387,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineExplicitKey() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
@@ -405,7 +405,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineExplicitKeyViaParamsRef() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
@@ -423,7 +423,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineExplicitKeyViaParamsRefSameDocument() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
@@ -441,7 +441,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineExplicitKeyViaParamsMerge() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
@@ -472,7 +472,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineInvalidKey() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
@@ -488,7 +488,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertNull(ed);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineValidPKIX() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
@@ -506,7 +506,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineValidPKIXExplicitTrustedName() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
@@ -524,7 +524,7 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
Assert.assertEquals(ed.getEntityID(), entityID);
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
+ @Test
public void testHTTPSTrustEngineInvalidPKIX() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_OPENSAML, TEMPLATE_URL));
diff --git a/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FileBackedHTTPMetadataProviderParserTest.java b/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FileBackedHTTPMetadataProviderParserTest.java
index c583b11d..3be3aaa5 100644
--- a/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FileBackedHTTPMetadataProviderParserTest.java
+++ b/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FileBackedHTTPMetadataProviderParserTest.java
@@ -44,7 +44,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
private static final String ENTITIES_XML = "shib-metadata-spring/src/test/resources/net/shibboleth/spring/metadata/entities.xml";
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void entity() throws Exception {
+ @Test public void entity() throws Exception {
final MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITY_XML, false));
@@ -76,7 +76,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNull(resolver.resolveSingle(criteriaFor(SP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS, expectedExceptions = {BeanCreationException.class}) public void badIFBVF() throws Exception {
+ @Test(expectedExceptions = {BeanCreationException.class}) public void badIFBVF() throws Exception {
final MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITY_XML, false));
@@ -108,7 +108,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS, expectedExceptions = {BeanCreationException.class}) public void badTLS() throws Exception {
+ @Test(expectedExceptions = {BeanCreationException.class}) public void badTLS() throws Exception {
final MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITY_XML, false));
@@ -140,7 +140,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void entities() throws Exception {
+ @Test public void entities() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITIES_XML, false));
@@ -164,7 +164,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpsTrustEngineExplicitKey() throws Exception {
+ @Test public void httpsTrustEngineExplicitKey() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -175,7 +175,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpsTrustEngineExplicitKeyViaParamsRef() throws Exception {
+ @Test public void httpsTrustEngineExplicitKeyViaParamsRef() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -186,7 +186,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpsTrustEngineExplicitKeyViaParamsRefSameDocument() throws Exception {
+ @Test public void httpsTrustEngineExplicitKeyViaParamsRefSameDocument() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -197,7 +197,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpsTrustEngineExplicitKeyParamsMerge() throws Exception {
+ @Test public void httpsTrustEngineExplicitKeyParamsMerge() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -221,7 +221,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS, expectedExceptions=BeanCreationException.class) public void httpsTrustEngineInvalidKey() throws Exception {
+ @Test(expectedExceptions=BeanCreationException.class) public void httpsTrustEngineInvalidKey() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -232,7 +232,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpsTrustEngineValidPKIX() throws Exception {
+ @Test public void httpsTrustEngineValidPKIX() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -243,7 +243,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpsTrustEngineValidPKIXExplicitTrustedName() throws Exception {
+ @Test public void httpsTrustEngineValidPKIXExplicitTrustedName() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -254,7 +254,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS, expectedExceptions=BeanCreationException.class) public void httpsTrustEngineInvalidPKIX() throws Exception {
+ @Test(expectedExceptions=BeanCreationException.class) public void httpsTrustEngineInvalidPKIX() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -279,7 +279,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
getBean(HTTPMetadataResolver.class, propSource, "HTTPProxy.xml", "beans.xml");
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpClient() throws Exception {
+ @Test public void httpClient() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITIES_XML, false));
@@ -292,7 +292,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpCachingNone() throws Exception {
+ @Test public void httpCachingNone() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITY_XML, false));
@@ -303,7 +303,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpCachingMemory() throws Exception {
+ @Test public void httpCachingMemory() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITY_XML, false));
@@ -314,7 +314,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void httpCachingFile() throws Exception {
+ @Test public void httpCachingFile() throws Exception {
System.out.println(System.getProperty("java.io.tmpdir"));
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
@@ -327,7 +327,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void timeouts() throws Exception {
+ @Test public void timeouts() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
@@ -338,7 +338,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void clientSecurityParameters() throws Exception {
+ @Test public void clientSecurityParameters() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPResourceURL(REPO_IDP, ENTITY_XML, false));
@@ -349,7 +349,7 @@ public class FileBackedHTTPMetadataProviderParserTest extends AbstractMetadataPa
assertNotNull(resolver.resolveSingle(criteriaFor(IDP_ID)));
}
- @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void indexes() throws Exception {
+ @Test public void indexes() throws Exception {
MockPropertySource propSource = singletonPropertySource(PROP_MDURL,
RepositorySupport.buildHTTPSResourceURL(REPO_IDP, ENTITY_XML));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list