Skip to content

Commit

Permalink
Open-source Google test ConvenienceSymlinkTest (#18890)
Browse files Browse the repository at this point in the history
In support of #18854.

PiperOrigin-RevId: 546346128
Change-Id: Ie3f6976b74cba351573a7f35b0d09391da10fb55

Co-authored-by: Googler <gregce@google.com>
  • Loading branch information
iancha1992 and gregestren authored Jul 11, 2023
1 parent 2f9e8c1 commit 70c2056
Show file tree
Hide file tree
Showing 2 changed files with 1,155 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/test/java/com/google/devtools/build/lib/buildtool/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -675,3 +675,37 @@ java_test(
"@com_google_testparameterinjector//:testparameterinjector",
],
)

java_test(
name = "ConvenienceSymlinkTest",
srcs = [
"ConvenienceSymlinkTest.java",
],
tags = ["no_windows"], # Creates symbolic links.
deps = [
"//src/main/java/com/google/devtools/build/lib:runtime",
"//src/main/java/com/google/devtools/build/lib/analysis:actions/file_write_action_context",
"//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster",
"//src/main/java/com/google/devtools/build/lib/analysis:config/build_options",
"//src/main/java/com/google/devtools/build/lib/analysis:config/fragment",
"//src/main/java/com/google/devtools/build/lib/analysis:config/fragment_options",
"//src/main/java/com/google/devtools/build/lib/analysis:config/transition_factories",
"//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/patch_transition",
"//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/transition_factory",
"//src/main/java/com/google/devtools/build/lib/cmdline",
"//src/main/java/com/google/devtools/build/lib/events",
"//src/main/java/com/google/devtools/build/lib/exec:file_write_strategy",
"//src/main/java/com/google/devtools/build/lib/exec:module_action_context_registry",
"//src/main/java/com/google/devtools/build/lib/packages",
"//src/main/java/com/google/devtools/build/lib/vfs",
"//src/main/java/com/google/devtools/build/lib/vfs:pathfragment",
"//src/main/java/com/google/devtools/common/options",
"//src/test/java/com/google/devtools/build/lib/analysis/util",
"//src/test/java/com/google/devtools/build/lib/buildtool/util",
"//src/test/java/com/google/devtools/build/lib/testutil:TestConstants",
"//third_party:guava",
"//third_party:junit4",
"//third_party:truth",
"@com_google_testparameterinjector//:testparameterinjector",
],
)
Loading

0 comments on commit 70c2056

Please sign in to comment.