Home
last modified time | relevance | path

Searched refs:g_configTest (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_config_test.cpp28 auto& g_configTest = BatteryConfig::GetInstance(); variable
39 EXPECT_TRUE(g_configTest.ParseConfig());
75 if (!g_configTest.IsExist(key)) {
94 if (!g_configTest.IsExist(key)) {
114 if (!g_configTest.IsExist(key)) {
134 if (!g_configTest.IsExist(key)) {
153 if (!g_configTest.IsExist(key)) {
212 EXPECT_TRUE(g_configTest.ParseConfig());
225 if (!g_configTest.IsExist(key)) {
230 int32_t highSoc = g_configTest.GetInt(key, defVal);
[all …]
H A Dbattery_config_mock_test.cpp34 BatteryConfig& g_configTest = BatteryConfig::GetInstance();; variable
45 bool ret = g_configTest.ParseConfig();