Home
last modified time | relevance | path

Searched refs:TEST_REQUIRE (Results 1 – 25 of 89) sorted by relevance

1234

/external/llvm-project/libcxx/test/libcxx/containers/sequences/deque/
Dspare_block_handling.pass.cpp82 TEST_REQUIRE(d.size() == 0); in TEST_CASE()
83 TEST_REQUIRE(d.__capacity() == 0); in TEST_CASE()
84 TEST_REQUIRE(d.__block_count() == 0); in TEST_CASE()
89 TEST_REQUIRE(d.size() == 1); in TEST_CASE()
90 TEST_REQUIRE(d.__front_spare() == 0); in TEST_CASE()
91 TEST_REQUIRE(d.__back_spare() == 14); in TEST_CASE()
92 TEST_REQUIRE(d.__back_spare_blocks() == 0); in TEST_CASE()
93 TEST_REQUIRE(d.__capacity() == BS - 1); in TEST_CASE()
94 TEST_REQUIRE(d.__block_count() == 1); in TEST_CASE()
99 TEST_REQUIRE(d.size() == 2); in TEST_CASE()
[all …]
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
Dincrement.pass.cpp53 TEST_REQUIRE(!ec); in TEST_CASE()
57 TEST_REQUIRE(it != endIt); in TEST_CASE()
59 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
77 TEST_REQUIRE(!ec); in TEST_CASE()
81 TEST_REQUIRE(it != endIt); in TEST_CASE()
83 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
101 TEST_REQUIRE(!ec); in TEST_CASE()
105 TEST_REQUIRE(it != endIt); in TEST_CASE()
107 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
109 TEST_REQUIRE(!ec); in TEST_CASE()
[all …]
Dctor.pass.cpp100 TEST_REQUIRE(it != RDI{}); in TEST_CASE()
111 TEST_REQUIRE(ec); in TEST_CASE()
119 TEST_REQUIRE(!ec); in TEST_CASE()
140 TEST_REQUIRE(ec); in TEST_CASE()
148 TEST_REQUIRE(ec); in TEST_CASE()
183 TEST_REQUIRE(!ec); in TEST_CASE()
202 TEST_REQUIRE(ec); in TEST_CASE()
220 TEST_REQUIRE(!ec); in TEST_CASE()
224 TEST_REQUIRE(ec); in TEST_CASE()
225 TEST_REQUIRE(it2 == RDI{}); in TEST_CASE()
[all …]
Dpop.pass.cpp53 TEST_REQUIRE(it != endIt); in TEST_CASE()
62 TEST_REQUIRE(it != endIt); in TEST_CASE()
68 TEST_REQUIRE(!set_ec); in TEST_CASE()
72 TEST_REQUIRE(notSeenDepth0.empty() && notSeenDepth1.empty()); in TEST_CASE()
78 TEST_REQUIRE(!notSeenDepth1.empty()); in TEST_CASE()
85 TEST_REQUIRE(!notSeenDepth0.empty()); in TEST_CASE()
86 TEST_REQUIRE(notSeenDepth1.empty()); in TEST_CASE()
Drecursion_pending.pass.cpp34 TEST_REQUIRE(it.recursion_pending() == true); in TEST_CASE()
48 TEST_REQUIRE(rec_pending_it.recursion_pending() == true); in TEST_CASE()
59 TEST_REQUIRE(rec_pending_it.recursion_pending() == true); in TEST_CASE()
142 TEST_REQUIRE(it != endIt); in TEST_CASE()
147 TEST_REQUIRE(it != endIt); in TEST_CASE()
149 TEST_REQUIRE(it.depth() == 1); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
Dincrement.pass.cpp53 TEST_REQUIRE(!ec); in TEST_CASE()
57 TEST_REQUIRE(it != endIt); in TEST_CASE()
59 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
76 TEST_REQUIRE(!ec); in TEST_CASE()
80 TEST_REQUIRE(it != endIt); in TEST_CASE()
82 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
99 TEST_REQUIRE(!ec); in TEST_CASE()
103 TEST_REQUIRE(it != endIt); in TEST_CASE()
105 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
107 TEST_REQUIRE(!ec); in TEST_CASE()
[all …]
Dctor.pass.cpp100 TEST_REQUIRE(it != RDI{}); in TEST_CASE()
111 TEST_REQUIRE(ec); in TEST_CASE()
119 TEST_REQUIRE(!ec); in TEST_CASE()
140 TEST_REQUIRE(ec); in TEST_CASE()
148 TEST_REQUIRE(ec); in TEST_CASE()
182 TEST_REQUIRE(!ec); in TEST_CASE()
200 TEST_REQUIRE(ec); in TEST_CASE()
217 TEST_REQUIRE(!ec); in TEST_CASE()
221 TEST_REQUIRE(ec); in TEST_CASE()
222 TEST_REQUIRE(it2 == RDI{}); in TEST_CASE()
[all …]
Dpop.pass.cpp53 TEST_REQUIRE(it != endIt); in TEST_CASE()
62 TEST_REQUIRE(it != endIt); in TEST_CASE()
68 TEST_REQUIRE(!set_ec); in TEST_CASE()
72 TEST_REQUIRE(notSeenDepth0.empty() && notSeenDepth1.empty()); in TEST_CASE()
78 TEST_REQUIRE(!notSeenDepth1.empty()); in TEST_CASE()
85 TEST_REQUIRE(!notSeenDepth0.empty()); in TEST_CASE()
86 TEST_REQUIRE(notSeenDepth1.empty()); in TEST_CASE()
Drecursion_pending.pass.cpp34 TEST_REQUIRE(it.recursion_pending() == true); in TEST_CASE()
47 TEST_REQUIRE(rec_pending_it.recursion_pending() == true); in TEST_CASE()
58 TEST_REQUIRE(rec_pending_it.recursion_pending() == true); in TEST_CASE()
138 TEST_REQUIRE(it != endIt); in TEST_CASE()
143 TEST_REQUIRE(it != endIt); in TEST_CASE()
145 TEST_REQUIRE(it.depth() == 1); in TEST_CASE()
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
Dincrement.pass.cpp53 TEST_REQUIRE(!ec); in TEST_CASE()
57 TEST_REQUIRE(it != endIt); in TEST_CASE()
59 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
77 TEST_REQUIRE(!ec); in TEST_CASE()
81 TEST_REQUIRE(it != endIt); in TEST_CASE()
83 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
102 TEST_REQUIRE(!ec); in TEST_CASE()
106 TEST_REQUIRE(it != endIt); in TEST_CASE()
108 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
110 TEST_REQUIRE(!ec); in TEST_CASE()
Dmove_assign.pass.cpp48 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE()
53 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE()
66 TEST_REQUIRE(to != from); in TEST_CASE()
69 TEST_REQUIRE(to == directory_iterator{}); in TEST_CASE()
70 TEST_REQUIRE(from == directory_iterator{}); in TEST_CASE()
80 TEST_REQUIRE(it != endIt); in TEST_CASE()
82 TEST_REQUIRE(it != endIt); in TEST_CASE()
86 TEST_REQUIRE(it2 != it); in TEST_CASE()
91 TEST_REQUIRE(it2 != directory_iterator{}); in TEST_CASE()
Dcopy_assign.pass.cpp42 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE()
47 TEST_REQUIRE(to == from); in TEST_CASE()
61 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE()
64 TEST_REQUIRE(to == from); in TEST_CASE()
76 TEST_REQUIRE(it != endIt); in TEST_CASE()
78 TEST_REQUIRE(it != endIt); in TEST_CASE()
82 TEST_REQUIRE(it2 != it); in TEST_CASE()
87 TEST_REQUIRE(it2 == it); in TEST_CASE()
Dctor.pass.cpp99 TEST_REQUIRE(it != directory_iterator{}); in TEST_CASE()
109 TEST_REQUIRE(ec); in TEST_CASE()
117 TEST_REQUIRE(!ec); in TEST_CASE()
138 TEST_REQUIRE(ec); in TEST_CASE()
146 TEST_REQUIRE(ec); in TEST_CASE()
181 TEST_REQUIRE(!ec); in TEST_CASE()
200 TEST_REQUIRE(ec); in TEST_CASE()
241 TEST_REQUIRE(!ec); in TEST_CASE()
250 TEST_REQUIRE(!ec); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
Dincrement.pass.cpp54 TEST_REQUIRE(!ec); in TEST_CASE()
58 TEST_REQUIRE(it != endIt); in TEST_CASE()
60 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
77 TEST_REQUIRE(!ec); in TEST_CASE()
81 TEST_REQUIRE(it != endIt); in TEST_CASE()
83 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
101 TEST_REQUIRE(!ec); in TEST_CASE()
105 TEST_REQUIRE(it != endIt); in TEST_CASE()
107 TEST_REQUIRE(unseen_entries.erase(entry) == 1); in TEST_CASE()
109 TEST_REQUIRE(!ec); in TEST_CASE()
Dmove_assign.pass.cpp48 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE()
53 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE()
65 TEST_REQUIRE(to != from); in TEST_CASE()
68 TEST_REQUIRE(to == directory_iterator{}); in TEST_CASE()
69 TEST_REQUIRE(from == directory_iterator{}); in TEST_CASE()
78 TEST_REQUIRE(it != endIt); in TEST_CASE()
80 TEST_REQUIRE(it != endIt); in TEST_CASE()
84 TEST_REQUIRE(it2 != it); in TEST_CASE()
89 TEST_REQUIRE(it2 != directory_iterator{}); in TEST_CASE()
Dcopy_assign.pass.cpp42 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE()
47 TEST_REQUIRE(to == from); in TEST_CASE()
60 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE()
63 TEST_REQUIRE(to == from); in TEST_CASE()
74 TEST_REQUIRE(it != endIt); in TEST_CASE()
76 TEST_REQUIRE(it != endIt); in TEST_CASE()
80 TEST_REQUIRE(it2 != it); in TEST_CASE()
85 TEST_REQUIRE(it2 == it); in TEST_CASE()
Dctor.pass.cpp99 TEST_REQUIRE(it != directory_iterator{}); in TEST_CASE()
109 TEST_REQUIRE(ec); in TEST_CASE()
117 TEST_REQUIRE(!ec); in TEST_CASE()
138 TEST_REQUIRE(ec); in TEST_CASE()
146 TEST_REQUIRE(ec); in TEST_CASE()
180 TEST_REQUIRE(!ec); in TEST_CASE()
198 TEST_REQUIRE(ec); in TEST_CASE()
238 TEST_REQUIRE(!ec); in TEST_CASE()
247 TEST_REQUIRE(!ec); in TEST_CASE()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file_large.pass.cpp58 TEST_REQUIRE(outf != nullptr); in TEST_CASE()
62 TEST_REQUIRE(file_size(source) == test_file_size); in TEST_CASE()
69 TEST_REQUIRE(is_regular_file(dest)); in TEST_CASE()
77 TEST_REQUIRE(dest_file != nullptr); in TEST_CASE()
78 TEST_REQUIRE(std::fseek(dest_file, sendfile_size_limit, SEEK_SET) == 0); in TEST_CASE()
79TEST_REQUIRE(std::fread(&out_data[0], sizeof(out_data[0]), additional_size, dest_file) == addition… in TEST_CASE()
Dcopy_file.pass.cpp86 TEST_REQUIRE(fs::copy_file(fifo, dest, ec) == false); in TEST_CASE()
92 TEST_REQUIRE(fs::copy_file(file, fifo, copy_options::overwrite_existing, in TEST_CASE()
108 TEST_REQUIRE(fs::copy_file(file, dest, ec) == true); in TEST_CASE()
136 TEST_REQUIRE(fs::copy_file(file, dest, ec) == true); in TEST_CASE()
148 TEST_REQUIRE(fs::copy_file(file, dest, copy_options::overwrite_existing, in TEST_CASE()
165 TEST_REQUIRE( in TEST_CASE()
170 TEST_REQUIRE( in TEST_CASE()
178 TEST_REQUIRE(fs::copy_file(file, file2, copy_options::skip_existing, ec) == in TEST_CASE()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp71 TEST_REQUIRE(is_other(fifo)); in TEST_CASE()
81 TEST_REQUIRE(ec); in TEST_CASE()
82 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
88 TEST_REQUIRE(ec); in TEST_CASE()
89 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
95 TEST_REQUIRE(ec); in TEST_CASE()
96 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
102 TEST_REQUIRE(ec); in TEST_CASE()
103 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
109 TEST_REQUIRE(ec); in TEST_CASE()
[all …]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
Dcopy.pass.cpp71 TEST_REQUIRE(is_other(fifo)); in TEST_CASE()
81 TEST_REQUIRE(ec); in TEST_CASE()
82 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
88 TEST_REQUIRE(ec); in TEST_CASE()
89 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
95 TEST_REQUIRE(ec); in TEST_CASE()
96 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
102 TEST_REQUIRE(ec); in TEST_CASE()
103 TEST_REQUIRE(ec != test_ec); in TEST_CASE()
109 TEST_REQUIRE(ec); in TEST_CASE()
[all …]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file_large.pass.cpp69 TEST_REQUIRE(outf.good()); in TEST_CASE()
71 TEST_REQUIRE(outf); in TEST_CASE()
73 TEST_REQUIRE(file_size(file) == test_file_size); in TEST_CASE()
80 TEST_REQUIRE(is_regular_file(dest)); in TEST_CASE()
89 TEST_REQUIRE(dest_file); in TEST_CASE()
91 TEST_REQUIRE(dest_file); in TEST_CASE()
Dcopy_file.pass.cpp89 TEST_REQUIRE(fs::copy_file(fifo, dest, ec) == false); in TEST_CASE()
95 TEST_REQUIRE(fs::copy_file(file, fifo, copy_options::overwrite_existing, in TEST_CASE()
111 TEST_REQUIRE(fs::copy_file(file, dest, ec) == true); in TEST_CASE()
139 TEST_REQUIRE(fs::copy_file(file, dest, ec) == true); in TEST_CASE()
151 TEST_REQUIRE(fs::copy_file(file, dest, copy_options::overwrite_existing, in TEST_CASE()
168 TEST_REQUIRE( in TEST_CASE()
173 TEST_REQUIRE( in TEST_CASE()
181 TEST_REQUIRE(fs::copy_file(file, file2, copy_options::skip_existing, ec) == in TEST_CASE()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/
Dcopy_symlink.pass.cpp65 TEST_REQUIRE(ec); in TEST_CASE()
71 TEST_REQUIRE(ec); in TEST_CASE()
77 TEST_REQUIRE(ec); in TEST_CASE()
92 TEST_REQUIRE(!ec); in TEST_CASE()
100 TEST_REQUIRE(!ec); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/
Dcopy_symlink.pass.cpp66 TEST_REQUIRE(ec); in TEST_CASE()
72 TEST_REQUIRE(ec); in TEST_CASE()
78 TEST_REQUIRE(ec); in TEST_CASE()
93 TEST_REQUIRE(!ec); in TEST_CASE()
101 TEST_REQUIRE(!ec); in TEST_CASE()

1234