Lines Matching refs:value
91 void expectContent(const std::string &name, const T &value) { in expectContent() argument
92 mExpectedContent[name] << value << std::endl; in expectContent()
97 void updateContent(const std::string &name, const T &value) { in updateContent() argument
98 std::ofstream(mFileMap[name]) << value << std::endl; in updateContent()
102 void expectAndUpdateContent(const std::string &name, const T &value) { in expectAndUpdateContent() argument
103 expectContent(name, value); in expectAndUpdateContent()
104 updateContent(name, value); in expectAndUpdateContent()
266 int8_t value = std::rand(); in TEST_P() local
268 expectContent(name, +value); in TEST_P()
270 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
277 int8_t value = std::rand(); in TEST_P() local
283 EXPECT_FALSE(func(*mNoApi, value)); in TEST_P()
299 uint8_t value = std::rand(); in TEST_P() local
301 expectContent(name, +value); in TEST_P()
303 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
310 uint8_t value = std::rand(); in TEST_P() local
316 EXPECT_FALSE(func(*mNoApi, value)); in TEST_P()
331 uint32_t value = std::rand(); in TEST_P() local
333 expectContent(name, value); in TEST_P()
335 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
342 uint32_t value = std::rand(); in TEST_P() local
348 EXPECT_FALSE(func(*mNoApi, value)); in TEST_P()
368 std::string value = TemporaryFile().path; in TEST_P() local
370 expectContent(name, value); in TEST_P()
372 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
379 std::string value = TemporaryFile().path; in TEST_P() local
385 EXPECT_FALSE(func(*mNoApi, value)); in TEST_P()