diff options
Diffstat (limited to 'libnativebridge/tests/UnavailableNativeBridge_test.cpp')
| -rw-r--r-- | libnativebridge/tests/UnavailableNativeBridge_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libnativebridge/tests/UnavailableNativeBridge_test.cpp b/libnativebridge/tests/UnavailableNativeBridge_test.cpp index 27d1233..ec96c32 100644 --- a/libnativebridge/tests/UnavailableNativeBridge_test.cpp +++ b/libnativebridge/tests/UnavailableNativeBridge_test.cpp @@ -20,9 +20,10 @@ namespace android { TEST_F(NativeBridgeTest, NoNativeBridge) { EXPECT_EQ(false, NativeBridgeAvailable()); - // This should lead to an error for trying to initialize a not-setup - // native bridge. + // Try to initialize. This should fail as we are not set up. + EXPECT_EQ(false, InitializeNativeBridge()); EXPECT_EQ(true, NativeBridgeError()); + EXPECT_EQ(false, NativeBridgeAvailable()); } } // namespace android |
