[java-shib-attribute] branch main updated: Supress GITWEB tests for now
Rod Widdowson
rdw at steadingsoftware.com
Sat Jul 5 15:31:28 UTC 2025
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-shib-attribute.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=cb8f4ab814b4855e02238ecd9635d96b672c364a
The following commit(s) were added to refs/heads/main by this push:
new cb8f4ab81 Supress GITWEB tests for now
cb8f4ab81 is described below
commit cb8f4ab814b4855e02238ecd9635d96b672c364a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jul 5 16:31:03 2025 +0100
Supress GITWEB tests for now
---
.../attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java | 4 ++--
.../spring/dc/http/impl/HTTPDataConnectorParserTest.java | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java b/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java
index ea70f9799..e45bc6643 100644
--- a/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java
+++ b/shib-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/HTTPDataConnectorTest.java
@@ -90,7 +90,7 @@ public class HTTPDataConnectorTest {
connector.setHttpClient(builder.buildClient());
}
- @Test public void test() throws ComponentInitializationException, ResolutionException, ScriptException, IOException {
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void test() throws ComponentInitializationException, ResolutionException, ScriptException, IOException {
final HttpClientSecurityParameters params = new HttpClientSecurityParameters();
params.setTLSProtocols(CollectionSupport.singleton("TLSv1"));
@@ -248,7 +248,7 @@ public class HTTPDataConnectorTest {
assertTrue(attrs == null || attrs.isEmpty());
}
- @Test public void resolveWithCache() throws ComponentInitializationException, ResolutionException, ScriptException, IOException {
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void resolveWithCache() throws ComponentInitializationException, ResolutionException, ScriptException, IOException {
final TemplatedURLBuilder builder = new TemplatedURLBuilder();
builder.setTemplateText(TEST_URL);
builder.setVelocityEngine(VelocityEngine.newVelocityEngine());
diff --git a/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/impl/HTTPDataConnectorParserTest.java b/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/impl/HTTPDataConnectorParserTest.java
index 3ce3b7406..072be6043 100644
--- a/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/impl/HTTPDataConnectorParserTest.java
+++ b/shib-attribute-resolver-spring/src/test/java/net/shibboleth/idp/attribute/resolver/spring/dc/http/impl/HTTPDataConnectorParserTest.java
@@ -78,7 +78,7 @@ public class HTTPDataConnectorParserTest {
pendingTeardownContext = context;
}
- @Test public void v2Config() throws Exception {
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2Config() throws Exception {
final MockPropertySource propSource = singletonPropertySource("serviceURL", TEST_URL);
propSource.setProperty("scriptPath", (SCRIPT_PATH) + "test.js");
@@ -109,7 +109,7 @@ public class HTTPDataConnectorParserTest {
assertTrue(cache.size() == 1);
}
- @Test public void v2GoodProtocolsViaRef() throws Exception {
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2GoodProtocolsViaRef() throws Exception {
final MockPropertySource propSource = singletonPropertySource("serviceURL", TEST_URL);
propSource.setProperty("scriptPath", (SCRIPT_PATH) + "test.js");
@@ -231,7 +231,7 @@ public class HTTPDataConnectorParserTest {
assertTrue(attrs == null || attrs.isEmpty());
}
- @Test public void v2Certificate() throws Exception {
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2Certificate() throws Exception {
final MockPropertySource propSource = singletonPropertySource("serviceURL", TEST_URL);
propSource.setProperty("scriptPath", (SCRIPT_PATH) + "test.js");
@@ -300,7 +300,7 @@ public class HTTPDataConnectorParserTest {
connector.resolve(context);
}
- @Test public void v2ClientCertificate() throws Exception {
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2ClientCertificate() throws Exception {
// Could use a better test for this end to end.
@@ -334,7 +334,7 @@ public class HTTPDataConnectorParserTest {
assertEquals(((StringAttributeValue)attrs.get("bar").getValues().get(1)).getValue(), "bar2");
}
- @Test public void hybridConfig() throws Exception {
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void hybridConfig() throws Exception {
final MockPropertySource propSource = singletonPropertySource("serviceURL", TEST_URL);
propSource.setProperty("scriptPath", (SCRIPT_PATH) + "test.js");
propSource.setProperty("userAgent", "disguised/1.0.0 hidden/3.4.5");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list