libamxc
1.10.3
C Generic Data Containers
|
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <amxc/amxc_array.h>
#include "test_amxc_array.h"
#include <amxc/amxc_macros.h>
Go to the source code of this file.
Variables | |
static int | counter = 0 |
static amxc_array_t * | array1 = NULL |
char | data [] = "abcdefghij" |
|
static |
Definition at line 79 of file test_amxc_array.c.
|
static |
Definition at line 71 of file test_amxc_array.c.
void test_amxc_array_append_data | ( | UNUSED void ** | state | ) |
Definition at line 726 of file test_amxc_array.c.
void test_amxc_array_append_data_null | ( | UNUSED void ** | state | ) |
Definition at line 722 of file test_amxc_array.c.
void test_amxc_array_capacity | ( | UNUSED void ** | state | ) |
Definition at line 481 of file test_amxc_array.c.
void test_amxc_array_capacity_null | ( | UNUSED void ** | state | ) |
Definition at line 477 of file test_amxc_array.c.
void test_amxc_array_clean_cb | ( | UNUSED void ** | state | ) |
Definition at line 144 of file test_amxc_array.c.
void test_amxc_array_get_at | ( | UNUSED void ** | state | ) |
Definition at line 185 of file test_amxc_array.c.
void test_amxc_array_get_at_null | ( | UNUSED void ** | state | ) |
Definition at line 170 of file test_amxc_array.c.
void test_amxc_array_get_first | ( | UNUSED void ** | state | ) |
Definition at line 205 of file test_amxc_array.c.
void test_amxc_array_get_first_empty | ( | UNUSED void ** | state | ) |
Definition at line 213 of file test_amxc_array.c.
void test_amxc_array_get_first_free | ( | UNUSED void ** | state | ) |
Definition at line 232 of file test_amxc_array.c.
void test_amxc_array_get_first_free_full | ( | UNUSED void ** | state | ) |
Definition at line 282 of file test_amxc_array.c.
void test_amxc_array_get_first_free_null | ( | UNUSED void ** | state | ) |
Definition at line 226 of file test_amxc_array.c.
void test_amxc_array_get_first_null | ( | UNUSED void ** | state | ) |
Definition at line 199 of file test_amxc_array.c.
void test_amxc_array_get_last | ( | UNUSED void ** | state | ) |
Definition at line 246 of file test_amxc_array.c.
void test_amxc_array_get_last_empty | ( | UNUSED void ** | state | ) |
Definition at line 254 of file test_amxc_array.c.
void test_amxc_array_get_last_free | ( | UNUSED void ** | state | ) |
Definition at line 273 of file test_amxc_array.c.
void test_amxc_array_get_last_free_full | ( | UNUSED void ** | state | ) |
Definition at line 291 of file test_amxc_array.c.
void test_amxc_array_get_last_free_null | ( | UNUSED void ** | state | ) |
Definition at line 267 of file test_amxc_array.c.
void test_amxc_array_get_last_null | ( | UNUSED void ** | state | ) |
Definition at line 240 of file test_amxc_array.c.
void test_amxc_array_grow | ( | UNUSED void ** | state | ) |
Definition at line 489 of file test_amxc_array.c.
void test_amxc_array_grow_null | ( | UNUSED void ** | state | ) |
Definition at line 485 of file test_amxc_array.c.
void test_amxc_array_init_clean | ( | UNUSED void ** | state | ) |
Definition at line 126 of file test_amxc_array.c.
void test_amxc_array_init_clean_null | ( | UNUSED void ** | state | ) |
Definition at line 120 of file test_amxc_array.c.
void test_amxc_array_is_empty | ( | UNUSED void ** | state | ) |
Definition at line 463 of file test_amxc_array.c.
void test_amxc_array_is_empty_null | ( | UNUSED void ** | state | ) |
Definition at line 459 of file test_amxc_array.c.
void test_amxc_array_it_get_data | ( | UNUSED void ** | state | ) |
Definition at line 444 of file test_amxc_array.c.
void test_amxc_array_it_get_data_null | ( | UNUSED void ** | state | ) |
Definition at line 440 of file test_amxc_array.c.
void test_amxc_array_it_get_next | ( | UNUSED void ** | state | ) |
Definition at line 306 of file test_amxc_array.c.
void test_amxc_array_it_get_next_free | ( | UNUSED void ** | state | ) |
Definition at line 330 of file test_amxc_array.c.
void test_amxc_array_it_get_next_free_null | ( | UNUSED void ** | state | ) |
Definition at line 324 of file test_amxc_array.c.
void test_amxc_array_it_get_next_null | ( | UNUSED void ** | state | ) |
Definition at line 300 of file test_amxc_array.c.
void test_amxc_array_it_get_previous | ( | UNUSED void ** | state | ) |
Definition at line 364 of file test_amxc_array.c.
void test_amxc_array_it_get_previous_free | ( | UNUSED void ** | state | ) |
Definition at line 397 of file test_amxc_array.c.
void test_amxc_array_it_get_previous_free_null | ( | UNUSED void ** | state | ) |
Definition at line 391 of file test_amxc_array.c.
void test_amxc_array_it_get_previous_null | ( | UNUSED void ** | state | ) |
Definition at line 358 of file test_amxc_array.c.
void test_amxc_array_it_index | ( | UNUSED void ** | state | ) |
Definition at line 893 of file test_amxc_array.c.
void test_amxc_array_it_index_null | ( | UNUSED void ** | state | ) |
Definition at line 889 of file test_amxc_array.c.
void test_amxc_array_it_set_data | ( | UNUSED void ** | state | ) |
Definition at line 699 of file test_amxc_array.c.
void test_amxc_array_it_set_data_null | ( | UNUSED void ** | state | ) |
Definition at line 688 of file test_amxc_array.c.
void test_amxc_array_it_take_data | ( | UNUSED void ** | state | ) |
Definition at line 864 of file test_amxc_array.c.
void test_amxc_array_it_take_data_null | ( | UNUSED void ** | state | ) |
Definition at line 860 of file test_amxc_array.c.
void test_amxc_array_new_delete_null | ( | UNUSED void ** | state | ) |
Definition at line 111 of file test_amxc_array.c.
void test_amxc_array_prepend_data | ( | UNUSED void ** | state | ) |
Definition at line 769 of file test_amxc_array.c.
void test_amxc_array_prepend_data_null | ( | UNUSED void ** | state | ) |
Definition at line 765 of file test_amxc_array.c.
void test_amxc_array_set_at | ( | UNUSED void ** | state | ) |
Definition at line 639 of file test_amxc_array.c.
void test_amxc_array_set_at_null | ( | UNUSED void ** | state | ) |
Definition at line 635 of file test_amxc_array.c.
int test_amxc_array_setup | ( | UNUSED void ** | state | ) |
Definition at line 84 of file test_amxc_array.c.
void test_amxc_array_shift_left | ( | UNUSED void ** | state | ) |
Definition at line 544 of file test_amxc_array.c.
void test_amxc_array_shift_left_all | ( | UNUSED void ** | state | ) |
Definition at line 576 of file test_amxc_array.c.
void test_amxc_array_shift_null | ( | UNUSED void ** | state | ) |
Definition at line 539 of file test_amxc_array.c.
void test_amxc_array_shift_right | ( | UNUSED void ** | state | ) |
Definition at line 589 of file test_amxc_array.c.
void test_amxc_array_shift_right_all | ( | UNUSED void ** | state | ) |
Definition at line 621 of file test_amxc_array.c.
void test_amxc_array_shrink | ( | UNUSED void ** | state | ) |
Definition at line 507 of file test_amxc_array.c.
void test_amxc_array_shrink_null | ( | UNUSED void ** | state | ) |
Definition at line 503 of file test_amxc_array.c.
void test_amxc_array_size | ( | UNUSED void ** | state | ) |
Definition at line 473 of file test_amxc_array.c.
void test_amxc_array_size_null | ( | UNUSED void ** | state | ) |
Definition at line 469 of file test_amxc_array.c.
void test_amxc_array_sort | ( | UNUSED void ** | state | ) |
Definition at line 913 of file test_amxc_array.c.
void test_amxc_array_take_first_data | ( | UNUSED void ** | state | ) |
Definition at line 812 of file test_amxc_array.c.
void test_amxc_array_take_first_data_null | ( | UNUSED void ** | state | ) |
Definition at line 808 of file test_amxc_array.c.
void test_amxc_array_take_last_data | ( | UNUSED void ** | state | ) |
Definition at line 838 of file test_amxc_array.c.
void test_amxc_array_take_last_data_null | ( | UNUSED void ** | state | ) |
Definition at line 834 of file test_amxc_array.c.
int test_amxc_array_teardown | ( | UNUSED void ** | state | ) |
Definition at line 104 of file test_amxc_array.c.
|
static |
Definition at line 900 of file test_amxc_array.c.
|
static |
Definition at line 68 of file test_amxc_array.c.
|
static |
Definition at line 66 of file test_amxc_array.c.
char data[] = "abcdefghij" |
Definition at line 69 of file test_amxc_array.c.