summaryrefslogtreecommitdiff
path: root/libnativebridge/tests/CodeCacheCreate_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libnativebridge/tests/CodeCacheCreate_test.cpp')
-rw-r--r--libnativebridge/tests/CodeCacheCreate_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libnativebridge/tests/CodeCacheCreate_test.cpp b/libnativebridge/tests/CodeCacheCreate_test.cpp
index 57b1abc4c5..9af226c596 100644
--- a/libnativebridge/tests/CodeCacheCreate_test.cpp
+++ b/libnativebridge/tests/CodeCacheCreate_test.cpp
@@ -26,25 +26,25 @@ namespace android {
// exist.
TEST_F(NativeBridgeTest, CodeCacheCreate) {
// Make sure that code_cache does not exist
- rmdir(codeCache());
+ rmdir(CodeCache());
struct stat st;
- ASSERT_EQ(-1, stat(codeCache(), &st));
+ ASSERT_EQ(-1, stat(CodeCache(), &st));
ASSERT_EQ(ENOENT, errno);
// Init
ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary, nullptr));
- ASSERT_TRUE(PreInitializeNativeBridge(appDataDir(), "isa"));
+ ASSERT_TRUE(PreInitializeNativeBridge(AppDataDir(), "isa"));
ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
ASSERT_TRUE(NativeBridgeAvailable());
ASSERT_FALSE(NativeBridgeError());
// Check that code_cache was created
- ASSERT_EQ(0, stat(codeCache(), &st));
+ ASSERT_EQ(0, stat(CodeCache(), &st));
ASSERT_TRUE(S_ISDIR(st.st_mode));
// Clean up
UnloadNativeBridge();
- ASSERT_EQ(0, rmdir(codeCache()));
+ ASSERT_EQ(0, rmdir(CodeCache()));
ASSERT_FALSE(NativeBridgeError());
}