當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。