Home
last modified time | relevance | path

Searched refs:threw (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/node/test/addons/no-addons/
Dtest.js20 let threw = false; variable
26 threw = true;
29 assert(threw);
33 let threw = false;
39 threw = true;
42 assert(threw);
/third_party/node/test/parallel/
Dtest-vm-module-reevaluate.js31 let threw = false;
36 threw = true;
38 assert(threw);
40 threw = false;
45 threw = true;
47 assert(threw);
Dtest-assert-if-error.js24 let threw = false;
35 threw = true;
37 assert(threw);
77 let threw = false; variable
84 threw = true;
88 assert(threw);
Dtest-vm-module-dynamic-import.js17 let threw = false;
21 threw = true;
25 assert(threw);
79 let threw = false;
83 threw = true;
86 assert(threw);
Dtest-assert.js50 let threw = false; variable
54 threw = true;
57 assert.ok(threw, 'Error: ok(false)');
143 let threw = false;
147 threw = true;
150 assert(threw, 'a.doesNotThrow with an explicit error is eating extra errors');
155 let threw = false;
159 threw = true;
163 assert.ok(threw, 'a.doesNotThrow is not catching type matching errors');
198 let threw = false;
[all …]
Dtest-timers-immediate-queue-throw.js16 let threw = false; variable
39 if (threw)
48 threw = true;
Dtest-assert-builtins-not-read-from-filesystem.js17 let threw = false; variable
32 threw = true;
34 assert.ok(threw);
Dtest-worker-message-port-move.js45 let threw = false;
52 threw = true;
54 assert(threw);
/third_party/node/deps/npm/test/tap/
Dnpm-api-not-loaded-error.js15 var threw = true
18 threw = false
22 t.ok(threw, 'get before load should throw')
25 threw = true
28 threw = false
32 t.ok(threw, 'set before load should throw')
/third_party/boost/libs/contract/test/disable/
Daudit.hpp14 bool threw = false; in main() local
22 } catch(boost::contract::assertion_failure const&) { threw = true; } in main()
25 BOOST_TEST(threw); in main()
27 BOOST_TEST(!threw); in main()
/third_party/boost/libs/contract/test/check/
Daudit.hpp18 bool threw = false; in main() local
26 } catch(err const&) { threw = true; } in main()
29 BOOST_TEST(threw); in main()
31 BOOST_TEST(!threw); in main()
/third_party/boost/libs/contract/test/destructor/
Ddecl_post_all.cpp38 std::string ok_b(bool threw = false) { in ok_b() argument
50 << (threw ? "b::inv\n" : "") in ok_b()
53 << (!threw ? "b::dtor::post\n" : "") // This can fail. in ok_b()
59 std::string ok_c(bool threw = false) { in ok_c() argument
71 << (threw ? "c::inv\n" : "") in ok_c()
74 << (!threw ? "c::dtor::post\n" : "") // This can fail. in ok_c()
Ddecl_exit_static_inv_ends.cpp39 std::string ok_b(bool threw = false) { in ok_b() argument
49 << (threw ? "b::inv\n" : "") in ok_b()
52 << (!threw ? "b::dtor::post\n" : "") in ok_b()
58 enum checked { passed, failed, threw }; enumerator
72 << (check == threw ? "c::inv\n" : "") in ok_c()
138 << ok_c(BOOST_CONTRACT_TEST_exit_inv ? threw : passed) in main()
Ddecl_entry_static_inv_ends.cpp39 std::string ok_b(bool threw = false) { in ok_b() argument
49 << (threw ? "b::inv\n" : "") in ok_b()
52 << (!threw ? "b::dtor::post\n" : "") in ok_b()
58 std::string ok_c(bool threw = false) { in ok_c() argument
70 << (threw ? "c::inv\n" : "") in ok_c()
73 << (!threw ? "c::dtor::post\n" : "") in ok_c()
Ddecl_entry_inv_all.cpp40 enum checked { passed, failed, threw }; enumerator
56 << (check == threw ? "b::inv\n" : "") in ok_b()
79 << (check == threw ? "c::inv\n" : "") in ok_c()
135 << ok_b(BOOST_CONTRACT_TEST_entry_inv ? threw : passed) in main()
136 << ok_c(BOOST_CONTRACT_TEST_entry_inv ? threw : passed) in main()
159 << ok_c(BOOST_CONTRACT_TEST_entry_inv ? threw : passed) in main()
Ddecl_entry_static_inv_all.cpp39 std::string ok_b(bool threw = false) { in ok_b() argument
51 << (threw ? "b::inv\n" : "") in ok_b()
54 << (!threw ? "b::dtor::post\n" : "") in ok_b()
60 std::string ok_c(bool threw = false) { in ok_c() argument
72 << (threw ? "c::inv\n" : "") in ok_c()
75 << (!threw ? "c::dtor::post\n" : "") in ok_c()
Ddecl_exit_static_inv_all.cpp39 enum checked { passed, failed, threw }; enumerator
53 << (check == threw ? "b::inv\n" : "") in ok_b()
74 << (check == threw ? "c::inv\n" : "") in ok_c()
139 << ok_b(BOOST_CONTRACT_TEST_exit_inv ? threw : passed) in main()
140 << ok_c(BOOST_CONTRACT_TEST_exit_inv ? threw : passed) in main()
165 << ok_c(BOOST_CONTRACT_TEST_exit_inv ? threw : passed) in main()
Ddecl_post_ends.cpp38 std::string ok_b(bool threw = false) { in ok_b() argument
50 << (threw ? "b::inv\n" : "") in ok_b()
56 std::string ok_c(bool threw = false) { in ok_c() argument
68 << (threw ? "c::inv\n" : "") in ok_c()
71 << (!threw ? "c::dtor::post\n" : "") // This can fail. in ok_c()
Ddecl_entry_inv_ends.cpp40 std::string ok_b(bool threw = false) { in ok_b() argument
54 << (!threw ? "b::dtor::post\n" : "") in ok_b()
60 enum checked { passed, failed, threw }; enumerator
76 << (check == threw ? "c::inv\n" : "") in ok_c()
133 << ok_c(BOOST_CONTRACT_TEST_entry_inv ? threw : passed) in main()
Ddecl_exit_static_inv_mid.cpp55 std::string ok_c(bool threw = false) { in ok_c() argument
65 << (threw ? "c::inv\n" : "") in ok_c()
68 << (!threw ? "c::dtor::post\n" : "") in ok_c()
Ddecl_entry_static_inv_mid.cpp55 std::string ok_c(bool threw = false) { in ok_c() argument
65 << (threw ? "c::inv\n" : "") in ok_c()
68 << (!threw ? "c::dtor::post\n" : "") in ok_c()
/third_party/node/deps/npm/node_modules/asap/
Dasap.js38 var threw = true;
41 threw = false;
50 if (threw) {
/third_party/node/deps/npm/node_modules/infer-owner/
Dindex.js39 let threw = true variable
42 threw = false
47 if (threw && parent !== path) {
/third_party/node/deps/npm/node_modules/fs-minipass/
Dindex.js161 let threw = true
164 threw = false
166 if (threw)
172 let threw = true
185 threw = false
187 if (threw)
/third_party/node/deps/npm/node_modules/graceful-fs/
Dpolyfills.js179 var threw = true
183 threw = false
185 if (threw) {
216 var threw = true
219 threw = false
221 if (threw) {

1234