#gpowerd rename test cases in persistent_storage_impl_test.cc.
Remove the "test" prefix from test names to align with Google's C++ testing best practices.
PiperOrigin-RevId: 834876548
Change-Id: Ibc0db40c4923e17ea3a60409674b23ec6738a0dc
diff --git a/persistent_storage_impl_test.cc b/persistent_storage_impl_test.cc
index 1711a06..45cae09 100644
--- a/persistent_storage_impl_test.cc
+++ b/persistent_storage_impl_test.cc
@@ -186,7 +186,7 @@
}
}
-TEST(PersistentStorageBMC, testDropOldestProto) {
+TEST(PersistentStorageBMC, DropOldestProto) {
std::string dir_name = CreateNewTestDir();
safepower_agent_config::PersistentStorageConfig config;
config.set_dir_path(dir_name);
@@ -238,7 +238,7 @@
}
}
-TEST(PersistentStorageBMC, testInitializeSavedActions) {
+TEST(PersistentStorageBMC, InitializeSavedActions) {
std::string dir_name = CreateNewTestDir();
std::ofstream out_file(absl::StrCat(dir_name, "/test_file"));
ASSERT_TRUE(out_file.is_open());