这篇教程C++ ADD_TEST函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中ADD_TEST函数的典型用法代码示例。如果您正苦于以下问题:C++ ADD_TEST函数的具体用法?C++ ADD_TEST怎么用?C++ ADD_TEST使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了ADD_TEST函数的28个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: test_udp_declarevoidtest_udp_declare(void) { ADD_TEST(udp, stream_ipv4); ADD_TEST(udp, stream_ipv6); ADD_TEST(udp, datagram_ipv4); ADD_TEST(udp, datagram_ipv6);}
开发者ID:harish-agr,项目名称:network_lib,代码行数:7,
示例2: test_error_declarestatic voidtest_error_declare(void) { ADD_TEST(error, error); ADD_TEST(error, context); ADD_TEST(error, thread); ADD_TEST(error, output);}
开发者ID:rampantpixels,项目名称:foundation_lib,代码行数:7,
示例3: test_exception_declarestatic voidtest_exception_declare(void) { ADD_TEST(exception, assert_handler); ADD_TEST(exception, error); ADD_TEST(exception, exception_handler); ADD_TEST(exception, exception_thread);}
开发者ID:rampantpixels,项目名称:foundation_lib,代码行数:7,
示例4: test_ringbuffer_declarevoid test_ringbuffer_declare( void ){ ADD_TEST( ringbuffer, allocate ); ADD_TEST( ringbuffer, io ); ADD_TEST( ringbufferstream, threadedio );}
开发者ID:DanielTillett,项目名称:foundation_lib,代码行数:7,
示例5: ADD_TESTQuadInterptest::QuadInterptest(){ ADD_TEST(QuadInterptest::test_QuadInterp); ADD_TEST(QuadInterptest::test_flat); ADD_TEST(QuadInterptest::test_calc); ADD_TEST(QuadInterptest::test_calc_nocalc);}
开发者ID:alriddoch,项目名称:dymaxion,代码行数:7,
示例6: test_declarevoid test_declare( void ){ ADD_TEST( hashmap, allocation ); ADD_TEST( hashmap, insert ); ADD_TEST( hashmap, erase ); ADD_TEST( hashmap, lookup );}
开发者ID:NocturnDragon,项目名称:foundation_lib,代码行数:7,
示例7: setup_testsint setup_tests(void){#ifndef OPENSSL_NO_BF# ifdef CHARSET_EBCDIC int n; ebcdic2ascii(cbc_data, cbc_data, strlen(cbc_data)); for (n = 0; n < 2; n++) { ebcdic2ascii(bf_key[n], bf_key[n], strlen(bf_key[n])); }# endif if (test_get_argument(0) != NULL) { print_test_data(); } else { ADD_ALL_TESTS(test_bf_ecb_raw, 2); ADD_ALL_TESTS(test_bf_ecb, NUM_TESTS); ADD_ALL_TESTS(test_bf_set_key, KEY_TEST_NUM-1); ADD_TEST(test_bf_cbc); ADD_TEST(test_bf_cfb64); ADD_TEST(test_bf_ofb64); }#endif return 1;}
开发者ID:lookfun,项目名称:openssl,代码行数:25,
示例8: o_url_resolve_suitevoid o_url_resolve_suite(){ ADD_TEST(test_o_url_resolve_type, "Test a resolve of type from url"); ADD_TEST(test_o_url_resolve_information, "Test a url resolver information"); ADD_TEST(test_o_url_resolve_host_port_from_path, "Test a host and port resolve from path"); ADD_TEST(test_o_url_resolve_host_from_path, "Test an only host resolve from path");}
开发者ID:jcbaillie,项目名称:orientdb-c,代码行数:7,
示例9: test_profile_declarestatic void test_profile_declare( void ){ ADD_TEST( profile, initialize ); ADD_TEST( profile, output ); ADD_TEST( profile, thread ); ADD_TEST( profile, stream );}
开发者ID:emoon,项目名称:foundation_lib,代码行数:7,
示例10: mainint main(int argc, char *argv[]){ QCoreApplication app(argc, argv); TestRunner &runner = *(new TestRunner()); qDebug() << app.arguments(); bool all = (app.arguments().size() <= 1);#define ADD_TEST(TestName) / qDebug() << "Test " << #TestName << " is enabled " / << (all || app.arguments().contains(#TestName)); / if (all || app.arguments().contains(#TestName)) { / runner << new TestName##Test(); / } ADD_TEST(Query) ADD_TEST(ResultSet) ADD_TEST(ResultSetQuickCheck) ADD_TEST(ResultWatcher) runner.start();#undef ADD_TEST return app.exec(); // QTest::qExec(&tc, argc, argv);}
开发者ID:KDE,项目名称:kactivities-stats,代码行数:28,
示例11: mainint main(int argc, char **argv){ ADD_TEST(test_tbl_standard); ADD_TEST(test_standard_methods); return run_tests(argv[0]);}
开发者ID:quanah,项目名称:openssl,代码行数:7,
示例12: ADD_TESTLinktest::Linktest(){ ADD_TEST(Linktest::test_send); ADD_TEST(Linktest::test_send_connected); ADD_TEST(Linktest::test_sendError); ADD_TEST(Linktest::test_sendError_connected); ADD_TEST(Linktest::test_disconnect);}
开发者ID:9cat,项目名称:cyphesis,代码行数:8,
示例13: test_event_declarestatic void test_event_declare( void ){ ADD_TEST( event, empty ); ADD_TEST( event, immediate ); ADD_TEST( event, delay ); ADD_TEST( event, immediate_threaded ); ADD_TEST( event, delay_threaded );}
开发者ID:apprisi,项目名称:foundation_lib,代码行数:8,
示例14: setup_testsint setup_tests(void){ ADD_TEST(test_int_stack); ADD_TEST(test_uchar_stack); ADD_TEST(test_SS_stack); ADD_TEST(test_SU_stack); return 1;}
开发者ID:lookfun,项目名称:openssl,代码行数:8,
示例15: ADD_TESTPlanttest::Planttest(){ ADD_TEST(Planttest::test_getDisplacement); ADD_TEST(Planttest::test_setDisplacement_wfmath); ADD_TEST(Planttest::test_setDisplacement); ADD_TEST(Planttest::test_getOrientation); ADD_TEST(Planttest::test_setHeight);}
开发者ID:alriddoch,项目名称:dymaxion,代码行数:8,
示例16: setup_testsint setup_tests(void){ ADD_TEST(test_builtin_provider);#ifndef OPENSSL_NO_MODULE ADD_TEST(test_loaded_provider);#endif return 1;}
开发者ID:dgalaxy,项目名称:openssl,代码行数:8,
示例17: setup_testsint setup_tests(void){ ADD_TEST(test_builtin_provider);#ifndef NO_PROVIDER_MODULE ADD_TEST(test_loaded_provider); ADD_TEST(test_configured_provider);#endif return 1;}
开发者ID:Ana06,项目名称:openssl,代码行数:9,
示例18: FGameplayEffectsTest FGameplayEffectsTest(const FString& InName) : FAutomationTestBase(InName, false) { // list all test functions here ADD_TEST(Test_InstantDamage); ADD_TEST(Test_InstantDamageRemap); ADD_TEST(Test_ManaBuff); ADD_TEST(Test_PeriodicDamage); }
开发者ID:frobro98,项目名称:UnrealSource,代码行数:9,
示例19: setup_testsint setup_tests(void){ ADD_TEST(test_kdf_tls1_prf); ADD_TEST(test_kdf_hkdf);#ifndef OPENSSL_NO_SCRYPT ADD_TEST(test_kdf_scrypt);#endif return 1;}
开发者ID:Ana06,项目名称:openssl,代码行数:9,
示例20: register_testsvoid register_tests(void){#ifdef OPENSSL_NO_SRP printf("No SRP support/n");#else ADD_TEST(run_srp_tests); ADD_TEST(run_srp_kat);#endif}
开发者ID:dgervais,项目名称:openssl,代码行数:9,
示例21: make_runtime_suite} END_TESTSuite* make_runtime_suite(void) { Suite* s = suite_create(__FILE__); ADD_TEST(test_cc_oci_config_check, s); ADD_TEST(test_cc_oci_config_file_path, s); return s;}
开发者ID:grahamwhaley,项目名称:cc-oci-runtime,代码行数:10,
示例22: make_semver_suite} END_TESTSuite* make_semver_suite(void) { Suite* s = suite_create(__FILE__); ADD_TEST(test_cc_oci_semver_cmp, s); ADD_TEST(test_cc_oci_string_is_numeric, s); return s;}
开发者ID:WeiZhang555,项目名称:cc-oci-runtime,代码行数:10,
示例23: setup_testsint setup_tests(void){#ifdef OPENSSL_NO_EC TEST_note("Elliptic curves are disabled.");#else ADD_TEST(x9_62_tests); ADD_TEST(test_builtin);#endif return 1;}
开发者ID:Vonage,项目名称:openssl,代码行数:10,
示例24: ADD_TESTCppUnit::Test *FixedPointTest::suite() { CppUnit::TestSuite *suiteOfTests = new CppUnit::TestSuite("FixedPointTest"); ADD_TEST(FixedPointTest, testAddSubtract); ADD_TEST(FixedPointTest, testMultDiv); ADD_TEST(FixedPointTest, testNeg); ADD_TEST(FixedPointTest, testSqRt); ADD_TEST(FixedPointTest, testPrecision); return suiteOfTests;}
开发者ID:MoLAoS,项目名称:Mandate,代码行数:10,
示例25: setup_testsint setup_tests(void){#if OPENSSL_API_COMPAT < 0x10200000L ADD_TEST(test_long);#endif ADD_TEST(test_int32); ADD_TEST(test_uint32); ADD_TEST(test_int64); ADD_TEST(test_uint64); return 1;}
开发者ID:IIJ-NetBSD,项目名称:netbsd-src,代码行数:11,
示例26: make_pod_suite} END_TESTSuite* make_pod_suite(void) { Suite* s = suite_create(__FILE__); ADD_TEST (test_cc_pod_container_id, s); ADD_TEST (test_cc_pod_is_sandbox, s); ADD_TEST (test_cc_pod_is_vm, s); return s;}
开发者ID:amshinde,项目名称:cc-oci-runtime-1,代码行数:11,
示例27: mainint main(int argc, char **argv){ int result = 0; ADD_TEST(test_default_cipherlist_implicit); ADD_TEST(test_default_cipherlist_explicit); result = run_tests(argv[0]); return result;}
开发者ID:1234-,项目名称:openssl,代码行数:11,
示例28: setup_testsint setup_tests(void){ if (!TEST_ptr(ctx = BN_CTX_new())) return 0; ADD_TEST(test_is_prime_enhanced); ADD_ALL_TESTS(test_is_composite_enhanced, (int)OSSL_NELEM(composites)); ADD_TEST(test_bn_small_factors); return 1;}
开发者ID:mattcaswell,项目名称:openssl,代码行数:11,
注:本文中的ADD_TEST函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ ADD_U_INT16函数代码示例 C++ ADD_SUITE函数代码示例 |