diff options
| author | 2022-12-20 16:24:20 +0000 | |
|---|---|---|
| committer | 2022-12-20 16:24:20 +0000 | |
| commit | 1d174b185fe8b69aad48c1bf1d324411cda79870 (patch) | |
| tree | 508087b596ebb3d99eb2f49551b840c7f3531178 /java/java_test.go | |
| parent | 1c6ca9493510ec0666de2864d9adbef7fbb72e7a (diff) | |
| parent | 77dc7d0839c53d76092e7b75ba3c3d4734542bbd (diff) | |
Merge "Revert "Allow adding extra tradefed options in the Android.bp file""
Diffstat (limited to 'java/java_test.go')
| -rw-r--r-- | java/java_test.go | 22 | 
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"]) -	} -} |