• Home
  • Raw
  • Download

Lines Matching refs:TEST

24     TEST(f << contents);  in create_file()
30 TEST(stream); in get_file_contents()
44 TEST(f); in make_ifstream()
46 TEST(f >> s); in make_ifstream()
47 TEST(s == "Hello"); in make_ifstream()
57 TEST(f); in test_ifstream()
59 TEST(f >> s); in test_ifstream()
60 TEST(s == "World"); in test_ifstream()
69 TEST(f); in test_ifstream()
71 TEST(f >> s); in test_ifstream()
72 TEST(s == "World"); in test_ifstream()
80 TEST(!f2.is_open()); in test_ifstream()
82 TEST(f); in test_ifstream()
84 TEST(f >> s); in test_ifstream()
85 TEST(s == "World"); in test_ifstream()
87 TEST(nw::remove(filename.c_str()) == 0); in test_ifstream()
93 TEST(f); in make_ofstream()
94 TEST(f << "Hello"); in make_ofstream()
103 TEST(f); in test_ofstream()
104 TEST(f << " world"); in test_ofstream()
106 TEST(get_file_contents(filename) == "Hello world"); in test_ofstream()
115 TEST(f); in test_ofstream()
116 TEST(f << " world"); in test_ofstream()
118 TEST(get_file_contents(filename) == "Hello world"); in test_ofstream()
126 TEST(!f2.is_open()); in test_ofstream()
128 TEST(f); in test_ofstream()
129 TEST(f << " world"); in test_ofstream()
131 TEST(get_file_contents(filename) == "Hello world"); in test_ofstream()
133 TEST(nw::remove(filename.c_str()) == 0); in test_ofstream()
140 TEST(f << "Hello"); in make_fstream()
149 TEST(f); in test_fstream()
150 TEST(f << " world"); in test_fstream()
152 TEST(get_file_contents(f) == "Hello world"); in test_fstream()
161 TEST(f); in test_fstream()
162 TEST(f << " world"); in test_fstream()
164 TEST(get_file_contents(f) == "Hello world"); in test_fstream()
172 TEST(!f2.is_open()); in test_fstream()
174 TEST(f); in test_fstream()
175 TEST(f << " world"); in test_fstream()
177 TEST(get_file_contents(f) == "Hello world"); in test_fstream()
179 TEST(nw::remove(filename.c_str()) == 0); in test_fstream()