diff options
author | Colin Cross <ccross@android.com> | 2021-04-17 05:17:45 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-04-17 05:17:45 +0000 |
commit | de1b8916904909ca659caa09c272123b38ed5a8e (patch) | |
tree | 992fa3482db1be0cb24eaa3ba1d57ad2299b501b /java/java_test.go | |
parent | aef14db78a8593aa25f7170aa0fe976ae8b6bdbc (diff) | |
parent | 26616d4cfd4ca582ad450a7062408ebbe2fb0ae6 (diff) |
Merge "Revert "Add jni_libs property to java tests""
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/java/java_test.go b/java/java_test.go index 4fc35265f..052345871 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -462,32 +462,6 @@ func TestBinary(t *testing.T) { } } -func TestTest(t *testing.T) { - ctx, _ := testJava(t, ` - java_test_host { - name: "foo", - srcs: ["a.java"], - jni_libs: ["libjni"], - } - - cc_library_shared { - name: "libjni", - host_supported: true, - device_supported: false, - stl: "none", - } - `) - - buildOS := android.BuildOs.String() - - foo := ctx.ModuleForTests("foo", buildOS+"_common").Module().(*TestHost) - - fooTestData := foo.data - if len(fooTestData) != 1 || fooTestData[0].Rel() != "lib64/libjni.so" { - t.Errorf(`expected foo test data relative path ["lib64/libjni.so"], got %q`, fooTestData.Strings()) - } -} - func TestHostBinaryNoJavaDebugInfoOverride(t *testing.T) { bp := ` java_library { |