• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C++ ADD_SUITE函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中ADD_SUITE函数的典型用法代码示例。如果您正苦于以下问题:C++ ADD_SUITE函数的具体用法?C++ ADD_SUITE怎么用?C++ ADD_SUITE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了ADD_SUITE函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: setupRunner

void 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,代码来源:SetupRunner.cpp


示例2: setupRunner

void 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,代码来源:SetupRunner.cpp


示例3: ADD_SUITE

abts_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,代码来源:testatomic.c


示例4: ADD_SUITE

abts_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,代码来源:testhash.c


示例5: ADD_SUITE

abts_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,代码来源:testnames.c


示例6: ADD_SUITE

abts_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,代码来源:testcrypto.c


示例7: ADD_SUITE

abts_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,代码来源:testdso.c


示例8: ADD_SUITE

abts_suite *testescape(abts_suite *suite)
{
    suite = ADD_SUITE(suite);

    abts_run_test(suite, test_escape, NULL);

    return suite;
}
开发者ID:0jpq0,项目名称:kbengine,代码行数:8,代码来源:testescape.c


示例9: ADD_SUITE

abts_suite *teststrmatch(abts_suite *suite)
{
    suite = ADD_SUITE(suite);

    abts_run_test(suite, test_str, NULL);

    return suite;
}
开发者ID:AbrahamJewowich,项目名称:FreeSWITCH,代码行数:8,代码来源:teststrmatch.c


示例10: ADD_SUITE

abts_suite *testsleep(abts_suite *suite)
{
    suite = ADD_SUITE(suite)

    abts_run_test(suite, sleep_one, NULL);

    return suite;
}
开发者ID:0jpq0,项目名称:kbengine,代码行数:8,代码来源:testsleep.c


示例11: ADD_SUITE

abts_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,代码来源:testreslist.c


示例12: ADD_SUITE

abts_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,代码来源:testrmm.c


示例13: ADD_SUITE

abts_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,代码来源:testflock.c


示例14: ADD_SUITE

abts_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,代码来源:testmd4.c


示例15: ADD_SUITE

abts_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,代码来源:testproc.c


示例16: main

int 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,代码来源:check_harp.c


示例17: ADD_SUITE

abts_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,代码来源:testipsub.c


示例18: ADD_SUITE

abts_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,代码来源:testdup.c


示例19: ADD_SUITE

abts_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,代码来源:testenv.c


示例20: ADD_SUITE

abts_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,代码来源:testpath.c



注:本文中的ADD_SUITE函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ ADD_TEST函数代码示例发布时间:2022-05-30
下一篇:
C++ ADD_STRING函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap