• Home
  • Raw
  • Download

Lines Matching refs:TEST

42     TEST(f);  in create_test_file()
43 TEST(std::fputs("test\n", f) >= 0); in create_test_file()
66 TEST(f); in test_main()
68 TEST(std::fgets(buf, 16, f) != 0); in test_main()
69 TEST(strcmp(buf, "test\n") == 0); in test_main()
75 TEST(file_exists(filename)); in test_main()
76 TEST(boost::nowide::remove(filename.c_str()) == 0); in test_main()
77 TEST(!file_exists(filename)); in test_main()
82 TEST(!file_exists(filename)); in test_main()
83 TEST(boost::nowide::fopen(filename.c_str(), "r") == NULL); in test_main()
84 TEST(!file_exists(filename)); in test_main()
90 TEST(f); in test_main()
94 TEST(std::fgets(buf, 32, f) != 0); in test_main()
95 TEST(strcmp(buf, "test\n") == 0); in test_main()
96 TEST(std::fseek(f, 0, SEEK_END) == 0); in test_main()
97 TEST(std::fputs("foobar\n", f) >= 0); in test_main()
107 TEST(f2 == f); in test_main()
108 TEST(std::fputs("not-written\n", f) < 0); in test_main()
109 TEST(std::fseek(f, 0, SEEK_SET) == 0); in test_main()
111 TEST(std::fgets(buf, 32, f) != 0); in test_main()
112 TEST(strcmp(buf, "test\n") == 0); in test_main()
113 TEST(std::fgets(buf, 32, f) != 0); in test_main()
114 TEST(strcmp(buf, "foobar\n") == 0); in test_main()
118 TEST(boost::nowide::freopen(filename2.c_str(), "w", f) == f); in test_main()
121 TEST(std::fputs("baz\n", f) >= 0); in test_main()
124 TEST(f); in test_main()
125 TEST(std::fgets(buf, 32, f) != 0); in test_main()
126 TEST(strcmp(buf, "baz\n") == 0); in test_main()
136 TEST(file_exists(filename)); in test_main()
137 TEST(!file_exists(filename2)); in test_main()
138 TEST(boost::nowide::rename(filename.c_str(), filename2.c_str()) == 0); in test_main()
139 TEST(!file_exists(filename)); in test_main()
140 TEST(file_exists(filename2)); in test_main()
141 TEST(boost::nowide::remove(filename.c_str()) < 0); in test_main()
142 TEST(boost::nowide::remove(filename2.c_str()) == 0); in test_main()