Skip to content

Commit

Permalink
[java] Removing HTMLRunner
Browse files Browse the repository at this point in the history
This was a server extracted from the old
Grid server which was used to run HTML test
suites exported from the old Selenium IDE.

Since the old Selenium IDE is not available
anymore, this code can be deleted.
  • Loading branch information
diemol committed May 25, 2022
1 parent a297017 commit 9a43c53
Show file tree
Hide file tree
Showing 24 changed files with 6 additions and 2,328 deletions.
12 changes: 6 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,12 @@ task 'prep-release-zip': [
'//java/src/org/openqa/selenium:client-zip',
'//java/src/org/openqa/selenium/grid:server-zip',
'//java/src/org/openqa/selenium/grid:executable-grid',
'//java/src/org/openqa/selenium/server/htmlrunner:selenium-runner_deploy.jar'
] do
["build/dist/selenium-server-#{version}.zip", "build/dist/selenium-java-#{version}.zip",
"build/dist/selenium-server-#{version}.jar", "build/dist/selenium-html-runner-#{version}.jar"].each do |f|
[
"build/dist/selenium-server-#{version}.zip",
"build/dist/selenium-java-#{version}.zip",
"build/dist/selenium-server-#{version}.jar"
].each do |f|
rm_f(f) if File.exists?(f)
end

Expand All @@ -375,8 +377,6 @@ task 'prep-release-zip': [
chmod 0666, "build/dist/selenium-java-#{version}.zip"
cp Rake::Task['//java/src/org/openqa/selenium/grid:executable-grid'].out, "build/dist/selenium-server-#{version}.jar", preserve: false
chmod 0666, "build/dist/selenium-server-#{version}.jar"
cp Rake::Task['//java/src/org/openqa/selenium/server/htmlrunner:selenium-runner_deploy.jar'].out, "build/dist/selenium-html-runner-#{version}.jar", preserve: false
chmod 0666, "build/dist/selenium-html-runner-#{version}.jar"
end

task 'release-java': %i[prep-release-zip publish-maven]
Expand All @@ -401,7 +401,7 @@ def read_user_pass_from_m2_settings
return [user, pass]
end

task 'publish-maven': JAVA_RELEASE_TARGETS + %w[//java/src/org/openqa/selenium/server/htmlrunner:selenium-runner_deploy.jar] do
task 'publish-maven': JAVA_RELEASE_TARGETS do
creds = read_user_pass_from_m2_settings
JAVA_RELEASE_TARGETS.each do |p|
Bazel::execute('run', ['--stamp', '--define', 'maven_repo=https://oss.sonatype.org/service/local/staging/deploy/maven2', '--define', "maven_user=#{creds[0]}", '--define', "maven_password=#{creds[1]}", '--define', 'gpg_sign=true'], p)
Expand Down
5 changes: 0 additions & 5 deletions java/spotbugs-excludes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,6 @@
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/>
</Match>

<Match>
<Class name="org.openqa.selenium.server.htmlrunner.ReflectivelyDiscoveredSteps"/>
<Bug pattern="SF_SWITCH_FALLTHROUGH"/>
</Match>

<Match>
<Class name="org.openqa.selenium.testing.Pages"/>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
Expand Down
1 change: 0 additions & 1 deletion java/src/com/thoughtworks/selenium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ java_library(
],
visibility = [
"//java/src/com/thoughtworks/selenium:__subpackages__",
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
"//java/test/com/thoughtworks/selenium:__subpackages__",
],
exports = [
Expand Down
1 change: 0 additions & 1 deletion java/src/org/openqa/selenium/grid/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ java_library(
"//java/src/org/openqa/selenium/netty/server:__pkg__",
"//java/src/org/openqa/selenium/remote:__pkg__",
"//java/src/org/openqa/selenium/remote/tracing:__subpackages__",
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
"//java/test/com/thoughtworks/selenium/webdriven:__pkg__",
"//java/test/org/openqa/selenium:__pkg__",
"//java/test/org/openqa/selenium:__subpackages__",
Expand Down
1 change: 0 additions & 1 deletion java/src/org/openqa/selenium/grid/web/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ java_library(
"//java/src/org/openqa/selenium/grid:__subpackages__",
"//java/src/org/openqa/selenium/netty/server:__pkg__",
"//java/src/org/openqa/selenium/remote/server:__subpackages__",
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
"//java/test/org/openqa/selenium:__subpackages__",
],
deps = [
Expand Down
1 change: 0 additions & 1 deletion java/src/org/openqa/selenium/jre/server/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ java_library(
name = "server",
srcs = glob(["*.java"]),
visibility = [
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
"//java/test/com/thoughtworks/selenium/webdriven:__pkg__",
"//java/test/org/openqa/selenium:__subpackages__",
],
Expand Down
37 changes: 0 additions & 37 deletions java/src/org/openqa/selenium/server/htmlrunner/BUILD.bazel

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions java/src/org/openqa/selenium/server/htmlrunner/CoreStep.java

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9a43c53

Please sign in to comment.