diff options
| author | 2024-07-09 14:23:45 +0000 | |
|---|---|---|
| committer | 2024-07-09 14:23:45 +0000 | |
| commit | 5123555c54db2f69127c5da95825bd4b1758ec2a (patch) | |
| tree | 908ed594710bf3c832b5a408a33fb2ef3ca74cbd /libnativebridge/tests/CodeCacheCreate_test.cpp | |
| parent | 80299ea6cf6a533c05febf239c0f22ac4a292293 (diff) | |
| parent | 270cdb2befd4fd5e4af697700f84eca25016aa4c (diff) | |
Style changes in `libnativebridge-tests`. am: 270cdb2bef
Original change: https://android-review.googlesource.com/c/platform/art/+/3160213
Change-Id: I98ad34b05d3a50e9ad66ac8995a07829b1767110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libnativebridge/tests/CodeCacheCreate_test.cpp')
| -rw-r--r-- | libnativebridge/tests/CodeCacheCreate_test.cpp | 10 |
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()); } |