[java-shib-attribute] branch main updated: Re-enable repository accessing tests.
Scott Cantor
cantor.2 at osu.edu
Sun Jul 6 16:09:21 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-attribute.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=d60a6f19fdf03e68fe36cd91f3054f2d2afed022
The following commit(s) were added to refs/heads/main by this push:
new d60a6f19f Re-enable repository accessing tests.
d60a6f19f is described below
commit d60a6f19fdf03e68fe36cd91f3054f2d2afed022
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Sun Jul 6 12:09:19 2025 -0400
Re-enable repository accessing tests.
---
.../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 e45bc6643..ea70f9799 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(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void test() throws ComponentInitializationException, ResolutionException, ScriptException, IOException {
+ @Test 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(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void resolveWithCache() throws ComponentInitializationException, ResolutionException, ScriptException, IOException {
+ @Test 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 072be6043..3ce3b7406 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(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2Config() throws Exception {
+ @Test 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(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2GoodProtocolsViaRef() throws Exception {
+ @Test 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(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2Certificate() throws Exception {
+ @Test 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(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void v2ClientCertificate() throws Exception {
+ @Test 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(enabled=RepositorySupport.ENABLE_GITWEB_TESTS) public void hybridConfig() throws Exception {
+ @Test 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