theCore C++ embedded framework
|
#include "memory.hpp"
#include <cstdlib>
#include <map>
#include <iostream>
#include <algorithm>
#include <CppUTest/TestHarness.h>
#include <CppUTest/CommandLineTestRunner.h>
#include <CppUTestExt/MockSupport.h>
Data Structures | |
struct | dummy_type |
struct | chunk_info |
struct | dummy_allocator< T > |
Functions | |
TEST_GROUP (empty_shared) | |
TEST (empty_shared, default_constructed) | |
TEST (empty_shared, constructed_from_empty_pointer) | |
TEST (empty_shared, moved_from_empty_poitner) | |
TEST (empty_shared, assigned_empty_to_empty) | |
TEST_GROUP (basic_shared) | |
TEST (basic_shared, create_destroy) | |
TEST (basic_shared, copy_constructed) | |
TEST (basic_shared, assigned) | |
TEST (basic_shared, move_constructed) | |
TEST (basic_shared, move_assigned) | |
int | main (int argc, char *argv[]) |
Variables | |
static std::map< void *, chunk_info > | allocations |
static dummy_allocator< dummy_type > | alloc |
TEST_GROUP | ( | empty_shared | ) |
TEST | ( | empty_shared | , |
default_constructed | |||
) |
TEST | ( | empty_shared | , |
constructed_from_empty_pointer | |||
) |
TEST | ( | empty_shared | , |
moved_from_empty_poitner | |||
) |
TEST | ( | empty_shared | , |
assigned_empty_to_empty | |||
) |
TEST_GROUP | ( | basic_shared | ) |
TEST | ( | basic_shared | , |
create_destroy | |||
) |
TEST | ( | basic_shared | , |
copy_constructed | |||
) |
TEST | ( | basic_shared | , |
assigned | |||
) |
TEST | ( | basic_shared | , |
move_constructed | |||
) |
TEST | ( | basic_shared | , |
move_assigned | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |