summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Tahsin Loqman <tahsinl@google.com> 2022-12-19 16:27:25 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-12-19 16:27:25 +0000
commit77dc7d0839c53d76092e7b75ba3c3d4734542bbd (patch)
tree1a4a81ebfdcb690ca78693761cd6ed33fb2e1caa /java/java_test.go
parent8ec823cba166a41eb0e9e5ff8fe679e691fec678 (diff)
Revert "Allow adding extra tradefed options in the Android.bp file"
This reverts commit 8ec823cba166a41eb0e9e5ff8fe679e691fec678. Reason for revert: DroidMonitor: Potential culprit for Bug b/262965953 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: I236cc36981d8b30527ca286632727f8ca267e969
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 62a372cd9..dff1fd07f 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -1945,25 +1945,3 @@ func TestJavaApiLibraryJarGeneration(t *testing.T) {
}
}
}
-
-func TestTradefedOptions(t *testing.T) {
- result := PrepareForTestWithJavaBuildComponents.RunTestWithBp(t, `
-java_test_host {
- name: "foo",
- test_options: {
- tradefed_options: [
- {
- name: "exclude-path",
- value: "org/apache"
- }
- ]
- }
-}
-`)
- args := result.ModuleForTests("foo", "linux_glibc_common").
- Output("out/soong/.intermediates/foo/linux_glibc_common/foo.config").Args
- expected := proptools.NinjaAndShellEscape("<option name=\"exclude-path\" value=\"org/apache\" />")
- if args["extraConfigs"] != expected {
- t.Errorf("Expected args[\"extraConfigs\"] to equal %q, was %q", expected, args["extraConfigs"])
- }
-}