diff options
author | Andreas Gampe <agampe@google.com> | 2014-09-02 21:17:03 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-09-04 12:57:54 -0700 |
commit | 035bd7541ed909344348b6a4e17a7ef01a434653 (patch) | |
tree | 81254329fce6375215ddb1844673aeb072b022ff /libnativebridge/tests/InvalidCharsNativeBridge_test.cpp | |
parent | 35a76df583a07524bec5ccaae8082a00e0c06867 (diff) | |
download | system_core-035bd7541ed909344348b6a4e17a7ef01a434653.zip system_core-035bd7541ed909344348b6a4e17a7ef01a434653.tar.gz system_core-035bd7541ed909344348b6a4e17a7ef01a434653.tar.bz2 |
NativeBridge: Refactor for new initialization flow
Setup becomes Load, have explicit Initialize and Unload.
Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
Diffstat (limited to 'libnativebridge/tests/InvalidCharsNativeBridge_test.cpp')
-rw-r--r-- | libnativebridge/tests/InvalidCharsNativeBridge_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnativebridge/tests/InvalidCharsNativeBridge_test.cpp b/libnativebridge/tests/InvalidCharsNativeBridge_test.cpp index f37e9c1..8f7973d 100644 --- a/libnativebridge/tests/InvalidCharsNativeBridge_test.cpp +++ b/libnativebridge/tests/InvalidCharsNativeBridge_test.cpp @@ -23,7 +23,7 @@ static const char* kTestName = "../librandom$@-bridge_not.existing.so"; TEST_F(NativeBridgeTest, InvalidChars) { // Do one test actually calling setup. EXPECT_EQ(false, NativeBridgeError()); - SetupNativeBridge(kTestName, nullptr); + LoadNativeBridge(kTestName, nullptr); // This should lead to an error for invalid characters. EXPECT_EQ(true, NativeBridgeError()); |