[java-shib-shared] branch main updated: Redirect test URLs into the refactored repository.

Scott Cantor cantor.2 at osu.edu
Wed Sep 14 19:52:52 UTC 2022


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=96d6a88bd32a639a9478c6e62d5f297274cc94f0

The following commit(s) were added to refs/heads/main by this push:
     new 96d6a88b Redirect test URLs into the refactored repository.
96d6a88b is described below

commit 96d6a88bd32a639a9478c6e62d5f297274cc94f0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Sep 14 15:52:49 2022 -0400

    Redirect test URLs into the refactored repository.
---
 .../shared/spring/httpclient/resource/ConditionalResourceTest.java | 4 ++--
 .../spring/httpclient/resource/FileBackedHTTPResourceTest.java     | 5 ++---
 .../shared/spring/httpclient/resource/HTTPResourceTest.java        | 7 ++++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/ConditionalResourceTest.java b/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/ConditionalResourceTest.java
index 88f61d44..c8bd22f6 100644
--- a/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/ConditionalResourceTest.java
+++ b/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/ConditionalResourceTest.java
@@ -44,9 +44,9 @@ public class ConditionalResourceTest {
 
     private final String documentPath = "/net/shibboleth/shared/spring/httpclient/resource/document.xml";
 
-    private final String existsURL = RepositorySupport.buildHTTPResourceURL("spring-extensions", "src/test/resources/net/shibboleth/ext/spring/resource/document.xml",false);
+    private final String existsURL = RepositorySupport.buildHTTPResourceURL("java-shib-shared", "shib-networking-spring/src/test/resources/net/shibboleth/shared/spring/httpclient/resource/document.xml",false);
 
-    private final String nonExistsURL = RepositorySupport.buildHTTPResourceURL("spring-extensions.git", "trunk/src/test/resources/data/document.xml",false);
+    private final String nonExistsURL = RepositorySupport.buildHTTPResourceURL("java-shib-shared", "trunk/src/test/resources/data/document.xml",false);
 
     private HttpClient client;
 
diff --git a/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/FileBackedHTTPResourceTest.java b/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/FileBackedHTTPResourceTest.java
index c852b12d..a58362bf 100644
--- a/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/FileBackedHTTPResourceTest.java
+++ b/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/FileBackedHTTPResourceTest.java
@@ -46,10 +46,9 @@ public class FileBackedHTTPResourceTest {
     private final String documentPath = "/net/shibboleth/shared/spring/httpclient/resource/document.xml";
 
     private final String existsURL =
-            "https://git.shibboleth.net/view/?p=spring-extensions.git;a=blob_plain;f=src/test/resources/data/document.xml;h=e8ec7c0d20c7a6b8193e1868398cda0c28df45ed;hb=HEAD";
+            RepositorySupport.buildHTTPResourceURL("java-shib-shared", "shib-networking-spring/src/test/resources/net/shibboleth/shared/spring/httpclient/resource/document.xml",false);
 
-    private final String nonExistsURL =
-            "http://svn.shibboleth.net/view/utilities/spring-extensions/trunk/src/test/resources/data/documxent.xml?view=co";
+    private final String nonExistsURL = RepositorySupport.buildHTTPResourceURL("java-shib-shared", "trunk/src/test/resources/data/document.xml",false);
 
     private String existsFile;
 
diff --git a/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/HTTPResourceTest.java b/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/HTTPResourceTest.java
index 48a7992f..287bdba9 100644
--- a/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/HTTPResourceTest.java
+++ b/shib-networking-spring/src/test/java/net/shibboleth/shared/spring/httpclient/resource/HTTPResourceTest.java
@@ -50,10 +50,11 @@ public class HTTPResourceTest {
     private final String documentPath = "/net/shibboleth/shared/spring/httpclient/resource/document.xml";
     
     private final String existsURL =
-            "https://git.shibboleth.net/view/?p=spring-extensions.git;a=blob_plain;f=src/test/resources/data/document.xml;h=e8ec7c0d20c7a6b8193e1868398cda0c28df45ed;hb=HEAD";
+            "http://git.shibboleth.net/view/?p=java-shib-shared.git;a=blob_plain;f=shib-networking-spring/src/test/resources/net/shibboleth/shared/spring/httpclient/resource/document.xml;h=e8ec7c0d20c7a6b8193e1868398cda0c28df45ed;hb=HEAD";
+//    private final String existsURL =
+//            RepositorySupport.buildHTTPResourceURL("java-shib-shared", "shib-networking-spring/src/test/resources/net/shibboleth/shared/spring/httpclient/resource/document.xml",false);
 
-    private final String nonExistsURL =
-            "http://svn.shibboleth.net/view/utilities/spring-extensions/trunk/src/test/resources/data/documxent.xml?view=co";
+    private final String nonExistsURL = RepositorySupport.buildHTTPResourceURL("java-shib-shared", "trunk/src/test/resources/data/document.xml",false);
 
     private HttpClient client;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list