Lines Matching refs:testdata
87 std::string testdata = "FdBuffer test string"; in TEST_F() local
88 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
90 AssertBufferReadSuccessful(testdata.size()); in TEST_F()
91 AssertBufferContent(testdata.c_str()); in TEST_F()
100 std::string testdata = "FdBuffer test string"; in TEST_F() local
101 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
107 EXPECT_EQ(it.next(), (uint8_t)testdata[i++]); in TEST_F()
112 EXPECT_EQ(it.bytesRead(), testdata.size()); in TEST_F()
139 std::string testdata = "simply test read in stream"; in TEST_F() local
140 std::string expected = HEAD + testdata; in TEST_F()
141 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
162 AssertBufferReadSuccessful(HEAD.size() + testdata.size()); in TEST_F()
169 std::string testdata = "child process flushes only after all data are read."; in TEST_F() local
170 std::string expected = HEAD + testdata; in TEST_F()
171 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
195 AssertBufferReadSuccessful(HEAD.size() + testdata.size()); in TEST_F()
267 std::string testdata = "timeout test"; in TEST_F() local
268 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()