summaryrefslogtreecommitdiff
path: root/libnativebridge/tests/NativeBridge3UnloadLibrary_test.cpp
AgeCommit message (Collapse)Author
2021-06-09Fix bitrot in the libnativebridge tests.Martin Stjernholm
- Bitrot 1: NativeBridge2Signal_test stopped working when version 3 was added in https://r.android.com/234059. - Bitrot 2: The code path that PreInitializeNativeBridgeFail1_test tested was removed completely when missing app data directory was allowed in https://r.android.com/1208629, so delete the test. - Use cc_test_library for the dynamic test libs so they are installed in the test directory rather than in system/lib(64). - Use test_per_src since native_bridge.cc doesn't support reloading the native bridge implementation lib after unloading. - Add a custom script to run the tests and a preupload check that the script is run. (Configuring atest for these tests still TBD in b/189484095 - test_per_src is a complication.) Cherry-picked from https://r.android.com/1721410. Test: art/libnativebridge/tests/runtests.sh Bug: 122710865 Bug: 189484095 Change-Id: Ib2b387e1d858127ca4bb44c548a5105ea8b838d8 Merged-In: Ib2b387e1d858127ca4bb44c548a5105ea8b838d8
2020-07-27libnativebridge: updates for Android's inclusive language guidanceOrion Hodson
Based on: https://source.android.com/setup/contribute/respectful-code Bug: 161896447 Bug: 161850439 Bug: 161336379 Test: treehugger Change-Id: I11c2bc377bccb84c5ad587350c76972614262c23
2019-10-11Move libnative{bridge,loader} to art/Orion Hodson
This change moves system/core/libnative{bridge,loader} under art/. Bug: 137364733 Test: m Change-Id: I9be7333d00fcd3f36cd80520e50a30ea840187ad