/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/ |
H A D | test_roughtime.cpp | 143 …result.test_throws("vector oversize", [&rand64]() {Botan::Roughtime::Nonce nonce_v2(rand64);}); //… in test_nonce() 146 …result.test_throws("vector undersize", [&rand64]() {Botan::Roughtime::Nonce nonce_v2(rand64);}); /… in test_nonce() 176 result.test_throws("non-positive max chain size", [&]() {c1.append(c2.links()[1], 0);}); in test_chain() 177 result.test_throws("1 field", [&]() {Botan::Roughtime::Chain a("ed25519");}); in test_chain() 178 …result.test_throws("2 fields", [&]() {Botan::Roughtime::Chain a("ed25519 bbT+RPS7zKX6w71ssPibzmwWq… in test_chain() 208 result.test_throws("1 field", [&]() {Botan::Roughtime::servers_from_str("A");}); in test_server_information() 209 result.test_throws("2 fields", [&]() {Botan::Roughtime::servers_from_str("A ed25519");}); in test_server_information() 210 …result.test_throws("3 fields", [&]() {Botan::Roughtime::servers_from_str("A ed25519 bbT+RPS7zKX6w7… in test_server_information() 211 …result.test_throws("4 fields", [&]() {Botan::Roughtime::servers_from_str("A ed25519 bbT+RPS7zKX6w7… in test_server_information() 212 …result.test_throws("invalid address", [&]() {Botan::Roughtime::servers_from_str("A ed25519 bbT+RPS… in test_server_information() [all …]
|
H A D | test_aead.cpp | 44 result.test_throws("Unkeyed object throws for encrypt", in test_enc() 48 result.test_throws("Unkeyed object throws for encrypt", in test_enc() 53 result.test_throws("Unkeyed object throws for set AD", in test_enc() 62 result.test_throws("Cannot process data until nonce is set (enc)", in test_enc() 64 result.test_throws("Cannot process data until nonce is set (enc)", in test_enc() 177 result.test_throws("Unkeyed object throws for encrypt after clear", in test_enc() 205 result.test_throws("Unkeyed object throws for decrypt", in test_dec() 209 result.test_throws("Unkeyed object throws for decrypt", in test_dec() 214 result.test_throws("Unkeyed object throws for set AD", in test_dec() 406 result.test_throws("Unkeyed object throws for decrypt", in test_dec() [all …]
|
H A D | test_uri.cpp | 35 … result.test_throws("invalid", []() {Botan::URI(Botan::URI::Type::NotSet, "", 0).to_string();}); in test_uri_tostring() 72 result.test_throws("invalid", [&t]() {Botan::URI::fromIPv4(t.uri);}); in test_uri_factories() 74 result.test_throws("invalid", [&t]() {Botan::URI::fromIPv6(t.uri);}); in test_uri_factories() 76 result.test_throws("invalid", [&t]() {Botan::URI::fromDomain(t.uri);}); in test_uri_factories() 79 result.test_throws("invalid", [&t]() {Botan::URI::fromAny(t.uri);}); in test_uri_factories() 97 result.test_throws("invalid IPv6", [](){ Botan::URI::fromIPv6("]"); }); in test_uri_factories() 98 result.test_throws("invalid IPv6", [](){ Botan::URI::fromIPv6("[::1]1"); }); in test_uri_factories()
|
H A D | test_tls_messages.cpp | 154 result.test_throws("invalid cert_verify input", exception, [&buffer, &pv]() in run_one_test() 161 result.test_throws("invalid client_hello input", exception, [&buffer]() in run_one_test() 168 result.test_throws("invalid hello_verify input", exception, [&buffer]() in run_one_test() 175 result.test_throws("invalid hello_request input", exception, [&buffer]() in run_one_test() 182 result.test_throws("invalid cert_status input", exception, [&buffer]() in run_one_test() 189 result.test_throws("invalid new_session_ticket input", exception, [&buffer]() in run_one_test() 196 result.test_throws("invalid server_hello input", exception, [&buffer]() in run_one_test() 203 result.test_throws("invalid alert input", exception, [&buffer]() in run_one_test()
|
H A D | test_dl_group.cpp | 39 result.test_throws("Uninitialized", in test_dl_errors() 44 result.test_throws("Bad generator param", in test_dl_errors() 134 result.test_throws("DSA seed does not generate group", in run() 138 result.test_throws("DSA seed is too short", in run() 145 … result.test_throws("invalid params", [&]() { Botan::DL_Group invalid(rng, seed, 1024, 224); }); in run() 146 … result.test_throws("invalid params", [&]() { Botan::DL_Group invalid(rng, seed, 3072, 224); }); in run() 147 … result.test_throws("invalid params", [&]() { Botan::DL_Group invalid(rng, seed, 2048, 256); }); in run()
|
/dports/security/botan2/Botan-2.18.2/src/tests/ |
H A D | test_roughtime.cpp | 143 …result.test_throws("vector oversize", [&rand64]() {Botan::Roughtime::Nonce nonce_v2(rand64);}); //… in test_nonce() 146 …result.test_throws("vector undersize", [&rand64]() {Botan::Roughtime::Nonce nonce_v2(rand64);}); /… in test_nonce() 176 result.test_throws("non-positive max chain size", [&]() {c1.append(c2.links()[1], 0);}); in test_chain() 177 result.test_throws("1 field", [&]() {Botan::Roughtime::Chain a("ed25519");}); in test_chain() 178 …result.test_throws("2 fields", [&]() {Botan::Roughtime::Chain a("ed25519 bbT+RPS7zKX6w71ssPibzmwWq… in test_chain() 208 result.test_throws("1 field", [&]() {Botan::Roughtime::servers_from_str("A");}); in test_server_information() 209 result.test_throws("2 fields", [&]() {Botan::Roughtime::servers_from_str("A ed25519");}); in test_server_information() 210 …result.test_throws("3 fields", [&]() {Botan::Roughtime::servers_from_str("A ed25519 bbT+RPS7zKX6w7… in test_server_information() 211 …result.test_throws("4 fields", [&]() {Botan::Roughtime::servers_from_str("A ed25519 bbT+RPS7zKX6w7… in test_server_information() 212 …result.test_throws("invalid address", [&]() {Botan::Roughtime::servers_from_str("A ed25519 bbT+RPS… in test_server_information() [all …]
|
H A D | test_aead.cpp | 44 result.test_throws("Unkeyed object throws for encrypt", in test_enc() 48 result.test_throws("Unkeyed object throws for encrypt", in test_enc() 53 result.test_throws("Unkeyed object throws for set AD", in test_enc() 62 result.test_throws("Cannot process data until nonce is set (enc)", in test_enc() 64 result.test_throws("Cannot process data until nonce is set (enc)", in test_enc() 177 result.test_throws("Unkeyed object throws for encrypt after clear", in test_enc() 205 result.test_throws("Unkeyed object throws for decrypt", in test_dec() 209 result.test_throws("Unkeyed object throws for decrypt", in test_dec() 214 result.test_throws("Unkeyed object throws for set AD", in test_dec() 406 result.test_throws("Unkeyed object throws for decrypt", in test_dec() [all …]
|
H A D | test_uri.cpp | 35 … result.test_throws("invalid", []() {Botan::URI(Botan::URI::Type::NotSet, "", 0).to_string();}); in test_uri_tostring() 72 result.test_throws("invalid", [&t]() {Botan::URI::fromIPv4(t.uri);}); in test_uri_factories() 74 result.test_throws("invalid", [&t]() {Botan::URI::fromIPv6(t.uri);}); in test_uri_factories() 76 result.test_throws("invalid", [&t]() {Botan::URI::fromDomain(t.uri);}); in test_uri_factories() 79 result.test_throws("invalid", [&t]() {Botan::URI::fromAny(t.uri);}); in test_uri_factories() 97 result.test_throws("invalid IPv6", [](){ Botan::URI::fromIPv6("]"); }); in test_uri_factories() 98 result.test_throws("invalid IPv6", [](){ Botan::URI::fromIPv6("[::1]1"); }); in test_uri_factories()
|
H A D | test_tls_messages.cpp | 154 result.test_throws("invalid cert_verify input", exception, [&buffer, &pv]() in run_one_test() 161 result.test_throws("invalid client_hello input", exception, [&buffer]() in run_one_test() 168 result.test_throws("invalid hello_verify input", exception, [&buffer]() in run_one_test() 175 result.test_throws("invalid hello_request input", exception, [&buffer]() in run_one_test() 182 result.test_throws("invalid cert_status input", exception, [&buffer]() in run_one_test() 189 result.test_throws("invalid new_session_ticket input", exception, [&buffer]() in run_one_test() 196 result.test_throws("invalid server_hello input", exception, [&buffer]() in run_one_test() 203 result.test_throws("invalid alert input", exception, [&buffer]() in run_one_test()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/utilities/template.bitset/bitset.members/ |
H A D | set_one.pass.cpp | 18 void test_set_one(bool test_throws) in test_set_one() argument 22 if (test_throws) return; in test_set_one() 31 assert(!test_throws); in test_set_one() 36 assert(test_throws); in test_set_one() 45 assert(!test_throws); in test_set_one() 50 assert(test_throws); in test_set_one()
|
H A D | reset_one.pass.cpp | 18 void test_reset_one(bool test_throws) in test_reset_one() argument 22 if (test_throws) return; in test_reset_one() 36 assert(!test_throws); in test_reset_one() 41 assert(test_throws); in test_reset_one()
|
H A D | test.pass.cpp | 33 void test_test(bool test_throws) in test_test() argument 37 if (test_throws) return; in test_test() 46 assert(!test_throws); in test_test() 51 assert(test_throws); in test_test()
|
H A D | flip_one.pass.cpp | 33 void test_flip_one(bool test_throws) in test_flip_one() argument 37 if (test_throws) return; in test_flip_one() 51 assert(!test_throws); in test_flip_one() 56 assert(test_throws); in test_flip_one()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/utilities/template.bitset/bitset.members/ |
H A D | set_one.pass.cpp | 18 void test_set_one(bool test_throws) in test_set_one() argument 22 if (test_throws) return; in test_set_one() 31 assert(!test_throws); in test_set_one() 36 assert(test_throws); in test_set_one() 45 assert(!test_throws); in test_set_one() 50 assert(test_throws); in test_set_one()
|
H A D | reset_one.pass.cpp | 18 void test_reset_one(bool test_throws) in test_reset_one() argument 22 if (test_throws) return; in test_reset_one() 36 assert(!test_throws); in test_reset_one() 41 assert(test_throws); in test_reset_one()
|
H A D | test.pass.cpp | 33 void test_test(bool test_throws) in test_test() argument 37 if (test_throws) return; in test_test() 46 assert(!test_throws); in test_test() 51 assert(test_throws); in test_test()
|
H A D | flip_one.pass.cpp | 33 void test_flip_one(bool test_throws) in test_flip_one() argument 37 if (test_throws) return; in test_flip_one() 51 assert(!test_throws); in test_flip_one() 56 assert(test_throws); in test_flip_one()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/utilities/template.bitset/bitset.members/ |
H A D | set_one.pass.cpp | 18 void test_set_one(bool test_throws) in test_set_one() argument 22 if (test_throws) return; in test_set_one() 31 assert(!test_throws); in test_set_one() 36 assert(test_throws); in test_set_one() 45 assert(!test_throws); in test_set_one() 50 assert(test_throws); in test_set_one()
|
H A D | reset_one.pass.cpp | 18 void test_reset_one(bool test_throws) in test_reset_one() argument 22 if (test_throws) return; in test_reset_one() 36 assert(!test_throws); in test_reset_one() 41 assert(test_throws); in test_reset_one()
|
H A D | test.pass.cpp | 33 void test_test(bool test_throws) in test_test() argument 37 if (test_throws) return; in test_test() 46 assert(!test_throws); in test_test() 51 assert(test_throws); in test_test()
|
H A D | flip_one.pass.cpp | 33 void test_flip_one(bool test_throws) in test_flip_one() argument 37 if (test_throws) return; in test_flip_one() 51 assert(!test_throws); in test_flip_one() 56 assert(test_throws); in test_flip_one()
|
/dports/devel/libc++/libcxx-10.0.1.src/test/std/utilities/template.bitset/bitset.members/ |
H A D | set_one.pass.cpp | 18 void test_set_one(bool test_throws) in test_set_one() argument 22 if (test_throws) return; in test_set_one() 31 assert(!test_throws); in test_set_one() 36 assert(test_throws); in test_set_one() 45 assert(!test_throws); in test_set_one() 50 assert(test_throws); in test_set_one()
|
H A D | reset_one.pass.cpp | 18 void test_reset_one(bool test_throws) in test_reset_one() argument 22 if (test_throws) return; in test_reset_one() 36 assert(!test_throws); in test_reset_one() 41 assert(test_throws); in test_reset_one()
|
H A D | test.pass.cpp | 33 void test_test(bool test_throws) in test_test() argument 37 if (test_throws) return; in test_test() 46 assert(!test_throws); in test_test() 51 assert(test_throws); in test_test()
|
H A D | flip_one.pass.cpp | 33 void test_flip_one(bool test_throws) in test_flip_one() argument 37 if (test_throws) return; in test_flip_one() 51 assert(!test_throws); in test_flip_one() 56 assert(test_throws); in test_flip_one()
|