libcopp 2.3.1
|
#include <libcopp/coroutine/coroutine_context_container.h>
#include <libcopp/coroutine/coroutine_context_fiber_container.h>
#include <libcopp/coroutine/stackful_channel.h>
#include <cstdio>
#include <cstring>
#include <iostream>
#include "frame/test_macros.h"
Go to the source code of this file.
Typedefs | |
using | test_context_channel_coroutine_context_test_type = copp::coroutine_context_container< copp::allocator::stack_allocator_memory > |
Functions | |
CASE_TEST (coroutine_channel, channel_int) | |
CASE_TEST (coroutine_channel, channel_pointer) | |
Variables | |
static int | g_test_coroutine_channel_status = 0 |
using test_context_channel_coroutine_context_test_type = copp::coroutine_context_container<copp::allocator::stack_allocator_memory> |
Definition at line 13 of file coroutine_context_channel_test.cpp.
CASE_TEST | ( | coroutine_channel | , |
channel_int | |||
) |
Definition at line 87 of file coroutine_context_channel_test.cpp.
References test_context_channel_foo_runner< TCTX, T >::call_times, CASE_EXPECT_EQ, CASE_EXPECT_TRUE, g_test_coroutine_channel_status, test_context_channel_foo_runner< TCTX, T >::last_value, test_context_channel_foo_runner< TCTX, T >::sender, and test_context_channel_foo_runner< TCTX, T >::use_error_transform.
CASE_TEST | ( | coroutine_channel | , |
channel_pointer | |||
) |
Definition at line 188 of file coroutine_context_channel_test.cpp.
References test_context_channel_foo_runner< TCTX, T >::call_times, CASE_EXPECT_EQ, CASE_EXPECT_TRUE, g_test_coroutine_channel_status, test_context_channel_foo_runner< TCTX, T >::last_value, test_context_channel_foo_runner< TCTX, T >::sender, and test_context_channel_foo_runner< TCTX, T >::use_error_transform.
|
static |
Definition at line 21 of file coroutine_context_channel_test.cpp.
Referenced by CASE_TEST(), CASE_TEST(), test_context_channel_foo_error_transform< int * >::operator()(), and test_context_channel_foo_runner< TCTX, T >::operator()().