|
libcopp 2.3.1
|
#include <libcopp/utils/config/libcopp_build_features.h>#include <cstdio>#include <cstring>#include <iostream>#include "frame/test_macros.h"#include "libcopp/fcontext/all.hpp"
Go to the source code of this file.
Functions | |
| void | test_core_fcontext_func_a (LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t src) |
| void | test_core_fcontext_func_b (LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t src) |
| CASE_TEST (core, fcontext) | |
Variables | |
| copp::fcontext::fcontext_t | test_core_fcontext_main_func |
| copp::fcontext::fcontext_t | test_core_fcontext_a_func |
| copp::fcontext::fcontext_t | test_core_fcontext_b_func |
| char | test_core_fcontext_stack_a [128 *1024] = {0} |
| char | test_core_fcontext_stack_b [128 *1024] = {0} |
| int | g_test_core_fcontext_status = 0 |
| CASE_TEST | ( | core | , |
| fcontext | |||
| ) |
Definition at line 52 of file fcontext_test.cpp.
References CASE_EXPECT_EQ, g_test_core_fcontext_status, test_core_fcontext_a_func, test_core_fcontext_b_func, test_core_fcontext_func_a(), test_core_fcontext_func_b(), test_core_fcontext_stack_a, and test_core_fcontext_stack_b.
| void test_core_fcontext_func_a | ( | LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t | src | ) |
Definition at line 21 of file fcontext_test.cpp.
References CASE_EXPECT_EQ, g_test_core_fcontext_status, test_core_fcontext_a_func, test_core_fcontext_b_func, and test_core_fcontext_main_func.
Referenced by CASE_TEST().
| void test_core_fcontext_func_b | ( | LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t | src | ) |
Definition at line 41 of file fcontext_test.cpp.
References CASE_EXPECT_EQ, g_test_core_fcontext_status, test_core_fcontext_a_func, and test_core_fcontext_b_func.
Referenced by CASE_TEST().
| int g_test_core_fcontext_status = 0 |
Definition at line 19 of file fcontext_test.cpp.
Referenced by CASE_TEST(), test_core_fcontext_func_a(), and test_core_fcontext_func_b().
| copp::fcontext::fcontext_t test_core_fcontext_a_func |
Definition at line 16 of file fcontext_test.cpp.
Referenced by CASE_TEST(), test_core_fcontext_func_a(), and test_core_fcontext_func_b().
| copp::fcontext::fcontext_t test_core_fcontext_b_func |
Definition at line 16 of file fcontext_test.cpp.
Referenced by CASE_TEST(), test_core_fcontext_func_a(), and test_core_fcontext_func_b().
| copp::fcontext::fcontext_t test_core_fcontext_main_func |
Definition at line 16 of file fcontext_test.cpp.
Referenced by test_core_fcontext_func_a().
| char test_core_fcontext_stack_a[128 *1024] = {0} |
Definition at line 17 of file fcontext_test.cpp.
Referenced by CASE_TEST().
| char test_core_fcontext_stack_b[128 *1024] = {0} |
Definition at line 18 of file fcontext_test.cpp.
Referenced by CASE_TEST().