Add variant of "setServer" that takes a DatasetGraph.
Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/806fd199 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/806fd199 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/806fd199 Branch: refs/heads/master Commit: 806fd199593b5efb0b4f9fd96fa0570d9d24cf8d Parents: a363223 Author: Andy Seaborne <[email protected]> Authored: Sun May 28 21:18:14 2017 +0100 Committer: Andy Seaborne <[email protected]> Committed: Sun May 28 21:18:14 2017 +0100 ---------------------------------------------------------------------- .../src/test/java/org/apache/jena/fuseki/TestAuth.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/806fd199/jena-fuseki2/jena-fuseki-core/src/test/java/org/apache/jena/fuseki/TestAuth.java ---------------------------------------------------------------------- diff --git a/jena-fuseki2/jena-fuseki-core/src/test/java/org/apache/jena/fuseki/TestAuth.java b/jena-fuseki2/jena-fuseki-core/src/test/java/org/apache/jena/fuseki/TestAuth.java index c2fba36..7eb0a76 100644 --- a/jena-fuseki2/jena-fuseki-core/src/test/java/org/apache/jena/fuseki/TestAuth.java +++ b/jena-fuseki2/jena-fuseki-core/src/test/java/org/apache/jena/fuseki/TestAuth.java @@ -34,7 +34,6 @@ import org.apache.http.impl.client.BasicCredentialsProvider; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.jena.atlas.logging.LogCtl ; import org.apache.jena.atlas.web.HttpException ; -import org.apache.jena.fuseki.server.FusekiEnv ; import org.apache.jena.query.DatasetAccessor ; import org.apache.jena.query.DatasetAccessorFactory ; import org.apache.jena.query.QueryExecutionFactory ; @@ -59,7 +58,7 @@ public class TestAuth { // Use different port etc because sometimes the previous testing servers // don't release ports fast enough (OS issue / Linux) - public static final int authPort = FusekiEnv.choosePort() ; + public static final int authPort = FusekiLib.choosePort() ; public static final String authUrlRoot = "http://localhost:"+authPort+"/" ; public static final String authDatasetPath = "/dataset" ; public static final String authServiceUpdate = "http://localhost:"+authPort+authDatasetPath+"/update" ;
