Home
last modified time | relevance | path

Searched refs:test_data (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
DJITDebugReader_test.cpp36 const std::string test_data = "test_data"; in TEST() local
37 ASSERT_TRUE(symfile->WriteEntry(test_data.c_str(), test_data.size())); in TEST()
41 ASSERT_TRUE(android::base::ReadFullyAtOffset(tmpfile.fd, buf, test_data.size(), offset)); in TEST()
42 ASSERT_EQ(strncmp(test_data.c_str(), buf, test_data.size()), 0); in TEST()
/system/core/storaged/tests/
Dstoraged_test.cpp150 std::deque<uint32_t> test_data; in TEST() local
153 test_data.push_back(i); in TEST()
156 EXPECT_EQ((int)standard_deviation(test_data), (int)sstats.get_std()); in TEST()
157 EXPECT_EQ((int)mean(test_data), (int)sstats.get_mean()); in TEST()
161 test_data.pop_front(); in TEST()
164 EXPECT_EQ((int)standard_deviation(test_data), (int)sstats.get_std()); in TEST()
165 EXPECT_EQ((int)mean(test_data), (int)sstats.get_mean()); in TEST()
170 test_data.clear(); in TEST()
175 test_data.push_back(another_data[idx]); in TEST()
178 EXPECT_EQ((int)standard_deviation(test_data), (int)sstats1.get_std()); in TEST()
[all …]
/system/core/init/parser/
Dtokenizer_test.cpp24 #define SETUP_TEST(test_data) \ argument
25 std::string data(test_data); \
/system/update_engine/common/
Dprefs_unittest.cc219 const string test_data = "test data"; in TEST_F() local
220 ASSERT_TRUE(SetValue(kKey, test_data)); in TEST_F()
223 EXPECT_EQ(test_data, value); in TEST_F()