libcopp  1.2.0
Data Structures | Typedefs | Functions | Variables
stack_pool_test.cpp File Reference
#include <cstdio>
#include <cstring>
#include <iostream>
#include <vector>
#include <libcopp/stack/stack_pool.h>
#include <libcotask/task.h>
#include "frame/test_macros.h"
Include dependency graph for stack_pool_test.cpp:

Go to the source code of this file.

Data Structures

struct  stack_pool_test_macro_coroutine
 

Typedefs

typedef copp::stack_pool< copp::allocator::stack_allocator_mallocstack_pool_t
 
typedef cotask::task< stack_pool_test_macro_coroutinestack_pool_test_task_t
 

Functions

static int stack_pool_test_task_action (void *)
 
 CASE_TEST (stack_pool_test, stack_context)
 
 CASE_TEST (stack_pool_test, basic)
 
 CASE_TEST (stack_pool_test, full_number)
 
 CASE_TEST (stack_pool_test, custom_gc)
 
 CASE_TEST (stack_pool_test, gc_once)
 
 CASE_TEST (stack_pool_test, full_size)
 

Variables

static stack_pool_t::ptr_t global_stack_pool
 

Typedef Documentation

Definition at line 11 of file stack_pool_test.cpp.

Definition at line 19 of file stack_pool_test.cpp.

Function Documentation

CASE_TEST ( stack_pool_test  ,
stack_context   
)
CASE_TEST ( stack_pool_test  ,
basic   
)
CASE_TEST ( stack_pool_test  ,
full_number   
)
CASE_TEST ( stack_pool_test  ,
custom_gc   
)
CASE_TEST ( stack_pool_test  ,
gc_once   
)
CASE_TEST ( stack_pool_test  ,
full_size   
)
static int stack_pool_test_task_action ( void *  )
static

Definition at line 21 of file stack_pool_test.cpp.

Referenced by CASE_TEST().

Variable Documentation

stack_pool_t::ptr_t global_stack_pool
static

Definition at line 17 of file stack_pool_test.cpp.

Referenced by CASE_TEST().