Lines Matching refs:read_file
46 read_file(const std::string& path) in read_file() function
76 ATF_REQUIRE_EQ("", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
88 ATF_REQUIRE_EQ("PREFIXThis is a single line\n", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
101 read_file("captured.txt")); in ATF_TEST_CASE_BODY()
113 ATF_REQUIRE_EQ("PREFIXFoo\nPREFIX bar baz", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
206 ATF_REQUIRE_EQ("This is a %d test", read_file("test.txt")); in ATF_TEST_CASE_BODY()
242 ATF_REQUIRE_EQ("Child stdout\n", read_file(out_name.str())); in ATF_TEST_CASE_BODY()
243 ATF_REQUIRE_EQ("Child stderr\n", read_file(err_name.str())); in ATF_TEST_CASE_BODY()
304 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
315 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
326 ATF_REQUIRE_EQ(message, read_file("captured.txt")); in ATF_TEST_CASE_BODY()