You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2025/05/03 17:40:11 UTC
(jena) 03/03: Code tidy : EnvTest
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
commit 8ae48d0c662c2d4800c055e5e644d0e8a18372da
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Wed Apr 23 07:41:06 2025 +0100
Code tidy : EnvTest
---
.../test/java/org/apache/jena/test/conn/EnvTest.java | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
diff --git a/jena-integration-tests/src/test/java/org/apache/jena/test/conn/EnvTest.java b/jena-integration-tests/src/test/java/org/apache/jena/test/conn/EnvTest.java
index cd3855b81b..7228c7d87c 100644
--- a/jena-integration-tests/src/test/java/org/apache/jena/test/conn/EnvTest.java
+++ b/jena-integration-tests/src/test/java/org/apache/jena/test/conn/EnvTest.java
@@ -55,19 +55,9 @@ import org.eclipse.jetty.security.UserStore;
*/
public class EnvTest {
-/* Cut&Paste
- For MS Windows
-
- private EnvTest env;
-
- @Before public void before() {
- env = EnvTest.create("/ds");
- }
-
- @After public void after() {
- EnvTest.stop(env);
- }
-*/
+ // VERBOSE - development debugging aid for individual tests.
+ // When run in the full Jena suite, logging from Fuseki is off
+ // so no verbose output will be seen.
public static boolean VERBOSE = ConfigureTests.VerboseServer;
public final FusekiServer server;
@@ -91,9 +81,6 @@ public class EnvTest {
return new EnvTest(dsName, dsg, user, password);
}
- // verbose - development debugging aid for individual tests.
- // When run in the full Jena suite, logging from Fuseki is off
- // so no verbose output will be seen.
private EnvTest(String path, DatasetGraph dsg, String user, String password) {
if ( ! path.startsWith("/") )
path = "/"+path;
@@ -141,7 +128,6 @@ public class EnvTest {
public String user() { return user; }
public String password() { return password; }
-
public String serverPath(String path) {
if ( path.startsWith("/") )
path = path.substring(1);