Skip to content

Commit

Permalink
Updating .NET tests to include new test website jar name
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Jun 3, 2019
1 parent 5fa554f commit 65d4d19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dotnet/test/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ SUPPORTED_BROWSERS = [
data = [
"appconfig.json",
"//common/src/web",
"//java/client/test/org/openqa/selenium/environment:WebServer",
"//java/client/test/org/openqa/selenium/environment:WebServer_deploy.jar",
"//java/client/test/org/openqa/selenium/environment:appserver",
"//java/client/test/org/openqa/selenium/environment:appserver_deploy.jar",
],
dotnet_context_data = "@io_bazel_rules_dotnet//:net_context_data_net47",
visibility = ["//visibility:public"],
Expand Down
4 changes: 2 additions & 2 deletions dotnet/test/common/Environment/TestWebServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class TestWebServer
{
private Process webserverProcess;

private string standaloneTestJar = @"java/client/test/org/openqa/selenium/environment/WebServer_deploy.jar";
private string standaloneTestJar = @"java/client/test/org/openqa/selenium/environment/appserver_deploy.jar";
private string projectRootPath;

private StringBuilder outputData = new StringBuilder();
Expand All @@ -32,7 +32,7 @@ public void Start()
string.Format(
"Test webserver jar at {0} didn't exist. Project root is {2}. Please build it using something like {1}.",
standaloneTestJar,
"bazel build //java/client/test/org/openqa/selenium/environment:WebServer_deploy.jar",
"bazel build //java/client/test/org/openqa/selenium/environment:appserver_deploy.jar",
projectRootPath));
}

Expand Down

0 comments on commit 65d4d19

Please sign in to comment.