这篇教程C++ ADD_SUITE函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中ADD_SUITE函数的典型用法代码示例。如果您正苦于以下问题:C++ ADD_SUITE函数的具体用法?C++ ADD_SUITE怎么用?C++ ADD_SUITE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了ADD_SUITE函数的30个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: setupRunnervoid setupRunner(TestRunner &runner){ // execute tests in test dir with defined structure ADD_SUITE(runner, SybCTnewDATest); ADD_SUITE(runner, SybCTnewDAImplTest); ADD_SUITE(runner, SybCTThreadTest); ADD_SUITE(runner, ConfiguredActionTest);}
开发者ID:chenbk85,项目名称:CuteTestForCoastTest,代码行数:8,
示例2: setupRunnervoid setupRunner(TestRunner &runner) { // Use this work suite to debug a failing TestCase ADD_SUITE(runner, StressAppTest); ADD_SUITE(runner, RemoteStresserTest); ADD_SUITE(runner, FlowControllerTest); ADD_SUITE(runner, HTTPFlowControllerTest); ADD_SUITE(runner, HTTPFlowControllerPrepareTest); ADD_SUITE(runner, ConfiguredActionTest); ADD_SUITE(runner, HTMLComparerTest); ADD_SUITE(runner, NewRendererTest); ADD_SUITE(runner, HTMLParserTest);} // setupRunner
开发者ID:chenbk85,项目名称:CuteTestForCoastTest,代码行数:12,
示例3: ADD_SUITEabts_suite *testatomic(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_init, NULL); abts_run_test(suite, test_set32, NULL); abts_run_test(suite, test_read32, NULL); abts_run_test(suite, test_dec32, NULL); abts_run_test(suite, test_xchg32, NULL); abts_run_test(suite, test_cas_equal, NULL); abts_run_test(suite, test_cas_equal_nonnull, NULL); abts_run_test(suite, test_cas_notequal, NULL); abts_run_test(suite, test_casptr_equal, NULL); abts_run_test(suite, test_casptr_equal_nonnull, NULL); abts_run_test(suite, test_casptr_notequal, NULL); abts_run_test(suite, test_add32, NULL); abts_run_test(suite, test_inc32, NULL); abts_run_test(suite, test_set_add_inc_sub, NULL); abts_run_test(suite, test_wrap_zero, NULL); abts_run_test(suite, test_inc_neg1, NULL);#if APR_HAS_THREADS abts_run_test(suite, test_atomics_threaded, NULL);#endif return suite;}
开发者ID:AAthresh,项目名称:quantlib,代码行数:27,
示例4: ADD_SUITEabts_suite *testhash(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, hash_make, NULL); abts_run_test(suite, hash_set, NULL); abts_run_test(suite, hash_reset, NULL); abts_run_test(suite, same_value, NULL); abts_run_test(suite, same_value_custom, NULL); abts_run_test(suite, key_space, NULL); abts_run_test(suite, delete_key, NULL); abts_run_test(suite, hash_count_0, NULL); abts_run_test(suite, hash_count_1, NULL); abts_run_test(suite, hash_count_5, NULL); abts_run_test(suite, hash_clear, NULL); abts_run_test(suite, hash_traverse, NULL); abts_run_test(suite, summation_test, NULL); abts_run_test(suite, overlay_empty, NULL); abts_run_test(suite, overlay_2unique, NULL); abts_run_test(suite, overlay_same, NULL); abts_run_test(suite, overlay_fetch, NULL); return suite;}
开发者ID:ohmann,项目名称:checkapi,代码行数:27,
示例5: ADD_SUITEabts_suite *testnames(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, merge_aboveroot, NULL); abts_run_test(suite, merge_belowroot, NULL); abts_run_test(suite, merge_noflag, NULL); abts_run_test(suite, merge_dotdot, NULL); abts_run_test(suite, merge_secure, NULL); abts_run_test(suite, merge_notrel, NULL); abts_run_test(suite, merge_notrelfail, NULL); abts_run_test(suite, merge_notabs, NULL); abts_run_test(suite, merge_notabsfail, NULL); abts_run_test(suite, merge_dotdot_dotdot_dotdot, NULL);#if defined(WIN32) abts_run_test(suite, merge_lowercasedrive, NULL);#endif abts_run_test(suite, root_absolute, NULL); abts_run_test(suite, root_relative, NULL); abts_run_test(suite, root_from_slash, NULL); abts_run_test(suite, root_from_cwd_and_back, NULL); return suite;}
开发者ID:Kiddinglife,项目名称:geco-game-engine,代码行数:25,
示例6: ADD_SUITEabts_suite *testcrypto(abts_suite *suite) { suite = ADD_SUITE(suite); /* test simple init and shutdown */ abts_run_test(suite, test_crypto_init, NULL); /* test a simple encrypt / decrypt operation - openssl */ abts_run_test(suite, test_crypto_block_openssl, NULL); /* test a padded encrypt / decrypt operation - openssl */ abts_run_test(suite, test_crypto_block_openssl_pad, NULL); /* test a simple encrypt / decrypt operation - nss */ abts_run_test(suite, test_crypto_block_nss, NULL); /* test a padded encrypt / decrypt operation - nss */ abts_run_test(suite, test_crypto_block_nss_pad, NULL); /* test encrypt nss / decrypt openssl */ abts_run_test(suite, test_crypto_block_nss_openssl, NULL); /* test padded encrypt nss / decrypt openssl */ abts_run_test(suite, test_crypto_block_nss_openssl_pad, NULL); /* test encrypt openssl / decrypt nss */ abts_run_test(suite, test_crypto_block_openssl_nss, NULL); /* test padded encrypt openssl / decrypt nss */ abts_run_test(suite, test_crypto_block_openssl_nss_pad, NULL); return suite;}
开发者ID:dtrebbien,项目名称:apr,代码行数:32,
示例7: ADD_SUITEabts_suite *testdso(abts_suite *suite){ suite = ADD_SUITE(suite)#if APR_HAS_DSO apr_filepath_merge(&modname, NULL, MOD_NAME, 0, p); abts_run_test(suite, test_load_module, NULL); abts_run_test(suite, test_dso_sym, NULL); abts_run_test(suite, test_dso_sym_return_value, NULL); abts_run_test(suite, test_unload_module, NULL);#ifdef LIB_NAME apr_filepath_merge(&libname, NULL, LIB_NAME, 0, p); abts_run_test(suite, test_load_library, NULL); abts_run_test(suite, test_dso_sym_library, NULL); abts_run_test(suite, test_dso_sym_return_value_library, NULL); abts_run_test(suite, test_unload_library, NULL);#endif abts_run_test(suite, test_load_notthere, NULL);#endif /* APR_HAS_DSO */ return suite;}
开发者ID:AbrahamJewowich,项目名称:FreeSWITCH,代码行数:26,
示例8: ADD_SUITEabts_suite *testescape(abts_suite *suite){ suite = ADD_SUITE(suite); abts_run_test(suite, test_escape, NULL); return suite;}
开发者ID:0jpq0,项目名称:kbengine,代码行数:8,
示例9: ADD_SUITEabts_suite *teststrmatch(abts_suite *suite){ suite = ADD_SUITE(suite); abts_run_test(suite, test_str, NULL); return suite;}
开发者ID:AbrahamJewowich,项目名称:FreeSWITCH,代码行数:8,
示例10: ADD_SUITEabts_suite *testsleep(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, sleep_one, NULL); return suite;}
开发者ID:0jpq0,项目名称:kbengine,代码行数:8,
示例11: ADD_SUITEabts_suite *testreslist(abts_suite *suite){ suite = ADD_SUITE(suite);#if APR_HAS_THREADS abts_run_test(suite, test_reslist, NULL);#endif return suite;}
开发者ID:QsBBQ,项目名称:masspinger,代码行数:10,
示例12: ADD_SUITEabts_suite *testrmm(abts_suite *suite){ suite = ADD_SUITE(suite);#if APR_HAS_SHARED_MEMORY abts_run_test(suite, test_rmm, NULL);#endif return suite;}
开发者ID:0jpq0,项目名称:kbengine,代码行数:10,
示例13: ADD_SUITEabts_suite *testflock(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_withlock, NULL); abts_run_test(suite, test_withoutlock, NULL); abts_run_test(suite, remove_lockfile, NULL); return suite;}
开发者ID:TaoheGit,项目名称:hmi_sdl_android,代码行数:10,
示例14: ADD_SUITEabts_suite *testmd4(abts_suite *suite){ suite = ADD_SUITE(suite); for (count=0; count < num_sums; count++) { abts_run_test(suite, test_md4sum, NULL); } return suite;}
开发者ID:AbrahamJewowich,项目名称:FreeSWITCH,代码行数:10,
示例15: ADD_SUITEabts_suite *testproc(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_create_proc, NULL); abts_run_test(suite, test_proc_wait, NULL); abts_run_test(suite, test_file_redir, NULL); return suite;}
开发者ID:AAthresh,项目名称:quantlib,代码行数:10,
示例16: mainint main(int argc, char **argv) { int failure_count = 0; Suite *suite; SRunner *suite_runner; ADD_SUITE(list_suite); ADD_SUITE(harp_config_suite); ADD_SUITE(harp_config_find_suite); ADD_SUITE(connection_suite); ADD_SUITE(request_suite); ADD_SUITE(resolve_suite); ADD_SUITE(response_suite); ADD_SUITE(worker_suite); ADD_SUITE(utils_suite); ADD_SUITE(harp_config_write_suite); return (failure_count == 0 ? EXIT_SUCCESS : EXIT_FAILURE);}
开发者ID:pyzishads,项目名称:harp,代码行数:19,
示例17: ADD_SUITEabts_suite *testipsub(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_bad_input, NULL); abts_run_test(suite, test_singleton_subnets, NULL); abts_run_test(suite, test_interesting_subnets, NULL); abts_run_test(suite, test_badmask_str, NULL); abts_run_test(suite, test_badip_str, NULL); return suite;}
开发者ID:AAthresh,项目名称:quantlib,代码行数:11,
示例18: ADD_SUITEabts_suite *testdup(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_file_dup, NULL); abts_run_test(suite, test_file_readwrite, NULL); abts_run_test(suite, test_dup2, NULL); abts_run_test(suite, test_dup2_readwrite, NULL); return suite;}
开发者ID:Ga-vin,项目名称:apache,代码行数:11,
示例19: ADD_SUITEabts_suite *testenv(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_setenv, NULL); abts_run_test(suite, test_getenv, NULL); abts_run_test(suite, test_delenv, NULL); abts_run_test(suite, test_emptyenv, NULL); return suite;}
开发者ID:AAthresh,项目名称:quantlib,代码行数:11,
示例20: ADD_SUITEabts_suite *testpath(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, list_split_multi, NULL); abts_run_test(suite, list_split_single, NULL); abts_run_test(suite, list_merge_multi, NULL); abts_run_test(suite, list_merge_single, NULL); return suite;}
开发者ID:0jpq0,项目名称:kbengine,代码行数:11,
示例21: open_ram_storeTestSuite *ts_1710(TestSuite *suite){ Store *store = open_ram_store(); suite = ADD_SUITE(suite); tst_run_test(suite, test_problem_text, store); store_deref(store); return suite;}
开发者ID:BubDZombie,项目名称:ferret,代码行数:12,
示例22: ADD_SUITEabts_suite *testfilecopy(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, copy_short_file, NULL); abts_run_test(suite, copy_over_existing, NULL); abts_run_test(suite, append_nonexist, NULL); abts_run_test(suite, append_exist, NULL); return suite;}
开发者ID:cmjonze,项目名称:apr,代码行数:12,
示例23: ADD_SUITEabts_suite *testfileinfo(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_info_get, NULL); abts_run_test(suite, test_stat, NULL); abts_run_test(suite, test_stat_eq_finfo, NULL); abts_run_test(suite, test_buffered_write_size, NULL); abts_run_test(suite, test_mtime_set, NULL); return suite;}
开发者ID:AAthresh,项目名称:quantlib,代码行数:12,
示例24: ADD_SUITEabts_suite *testgetopt(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, no_options, NULL); abts_run_test(suite, no_options_found, NULL); abts_run_test(suite, required_option, NULL); abts_run_test(suite, required_option_notgiven, NULL); abts_run_test(suite, optional_option, NULL); abts_run_test(suite, optional_option_notgiven, NULL); return suite;}
开发者ID:ohmann,项目名称:checkapi,代码行数:13,
示例25: ADD_SUITEabts_suite *testsock(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, test_addr_info, NULL); abts_run_test(suite, test_create_bind_listen, NULL); abts_run_test(suite, test_send, NULL); abts_run_test(suite, test_recv, NULL); abts_run_test(suite, test_timeout, NULL); abts_run_test(suite, test_get_addr, NULL); return suite;}
开发者ID:AAthresh,项目名称:quantlib,代码行数:13,
示例26: ADD_SUITETestSuite *ts_q_parser(TestSuite *suite){ suite = ADD_SUITE(suite); tst_run_test(suite, test_q_parser, NULL); tst_run_test(suite, test_q_parser_standard_analyzer, NULL); tst_run_test(suite, test_qp_clean_str, NULL); tst_run_test(suite, test_qp_bad_queries, NULL); tst_run_test(suite, test_qp_prefix_query, NULL); tst_run_test(suite, test_qp_keyword_switch, NULL); return suite;}
开发者ID:Bira,项目名称:ferret,代码行数:13,
示例27: ADD_SUITEabts_suite *testoc(abts_suite *suite){ suite = ADD_SUITE(suite)#if !APR_HAS_OTHER_CHILD abts_run_test(suite, oc_not_impl, NULL);#else abts_run_test(suite, test_child_kill, NULL); #endif return suite;}
开发者ID:AbrahamJewowich,项目名称:FreeSWITCH,代码行数:13,
示例28: ADD_SUITEabts_suite *testpass(abts_suite *suite){ suite = ADD_SUITE(suite); abts_run_test(suite, test_crypt, NULL);#if APR_HAS_THREADS abts_run_test(suite, test_threadsafe, NULL);#endif abts_run_test(suite, test_shapass, NULL); abts_run_test(suite, test_md5pass, NULL); return suite;}
开发者ID:QsBBQ,项目名称:masspinger,代码行数:13,
示例29: ADD_SUITEabts_suite *testsockopt(abts_suite *suite){ suite = ADD_SUITE(suite) abts_run_test(suite, create_socket, NULL); abts_run_test(suite, set_keepalive, NULL); abts_run_test(suite, set_debug, NULL); abts_run_test(suite, remove_keepalive, NULL); abts_run_test(suite, corkable, NULL); abts_run_test(suite, close_socket, NULL); return suite;}
开发者ID:Ga-vin,项目名称:apache,代码行数:13,
示例30: ADD_SUITEabts_suite *testlock(abts_suite *suite){ suite = ADD_SUITE(suite)#if !APR_HAS_THREADS abts_run_test(suite, threads_not_impl, NULL);#else abts_run_test(suite, test_thread_mutex, NULL); abts_run_test(suite, test_thread_rwlock, NULL); abts_run_test(suite, test_cond, NULL); abts_run_test(suite, test_timeoutcond, NULL);#endif return suite;}
开发者ID:skizhak,项目名称:open-media-flow-controller,代码行数:15,
注:本文中的ADD_SUITE函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ ADD_TEST函数代码示例 C++ ADD_STRING函数代码示例 |