当前位置: 首页>>代码示例>>C++>>正文


C++ ADD_SUITE函数代码示例

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


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


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