Lines Matching refs:get
18 const char* EnvImpl::get(const char* key) const in get() function in env::EnvImpl
20 return mockEnv.get(key); in get()
55 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F()
57 EXPECT_CALL(env::mockEnv, get(StrEq("GPIO_temp5"))).WillOnce(Return("")); in TEST_F()
60 EXPECT_CALL(env::mockEnv, get(StrEq("GAIN_temp5"))).WillOnce(Return("")); in TEST_F()
61 EXPECT_CALL(env::mockEnv, get(StrEq("OFFSET_temp5"))).WillOnce(Return("")); in TEST_F()
62 EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5"))) in TEST_F()
66 std::make_unique<sensor::Sensor>(sensorKey, hwmonio_mock.get(), path); in TEST_F()
87 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F()
89 EXPECT_CALL(env::mockEnv, get(StrEq("GPIO_temp5"))).WillOnce(Return("5")); in TEST_F()
97 EXPECT_CALL(env::mockEnv, get(StrEq("GAIN_temp5"))).WillOnce(Return("")); in TEST_F()
98 EXPECT_CALL(env::mockEnv, get(StrEq("OFFSET_temp5"))).WillOnce(Return("")); in TEST_F()
99 EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5"))) in TEST_F()
103 std::make_unique<sensor::Sensor>(sensorKey, hwmonio_mock.get(), path); in TEST_F()
119 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F()
121 EXPECT_CALL(env::mockEnv, get(StrEq("GPIO_temp5"))).WillOnce(Return("")); in TEST_F()
123 EXPECT_CALL(env::mockEnv, get(StrEq("GAIN_temp5"))).WillOnce(Return("10")); in TEST_F()
124 EXPECT_CALL(env::mockEnv, get(StrEq("OFFSET_temp5"))) in TEST_F()
126 EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5"))) in TEST_F()
130 std::make_unique<sensor::Sensor>(sensorKey, hwmonio_mock.get(), path); in TEST_F()