libamxc
1.10.3
C Generic Data Containers
|
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#include <ctype.h>
#include <string.h>
#include <setjmp.h>
#include <cmocka.h>
#include <amxc/amxc_variant.h>
#include <amxc/amxc_string.h>
#include <amxc/amxc_utils.h>
#include "test_amxc_string.h"
#include <amxc/amxc_macros.h>
Go to the source code of this file.
Variables | |
char | data [] = "abcdefghij" |
|
static |
Definition at line 1192 of file test_amxc_string.c.
|
static |
Definition at line 1196 of file test_amxc_string.c.
|
static |
Definition at line 1200 of file test_amxc_string.c.
|
static |
Definition at line 1204 of file test_amxc_string.c.
void test_amxc_llist_add_string | ( | UNUSED void ** | state | ) |
Definition at line 896 of file test_amxc_string.c.
void test_amxc_string_append | ( | UNUSED void ** | state | ) |
Definition at line 189 of file test_amxc_string.c.
void test_amxc_string_appendf | ( | UNUSED void ** | state | ) |
Definition at line 572 of file test_amxc_string.c.
void test_amxc_string_appendf_checked__normalcase | ( | UNUSED void ** | state | ) |
Definition at line 1286 of file test_amxc_string.c.
void test_amxc_string_appendf_checked__rejected | ( | UNUSED void ** | state | ) |
Definition at line 1303 of file test_amxc_string.c.
void test_amxc_string_buffer_length | ( | UNUSED void ** | state | ) |
Definition at line 251 of file test_amxc_string.c.
void test_amxc_string_build_byte_array | ( | UNUSED void ** | state | ) |
Definition at line 1039 of file test_amxc_string.c.
void test_amxc_string_build_byte_array_from_incomplete_string | ( | UNUSED void ** | state | ) |
Definition at line 1146 of file test_amxc_string.c.
void test_amxc_string_build_byte_array_with_invalid_string | ( | UNUSED void ** | state | ) |
Definition at line 1118 of file test_amxc_string.c.
void test_amxc_string_build_byte_array_with_separator | ( | UNUSED void ** | state | ) |
Definition at line 1098 of file test_amxc_string.c.
void test_amxc_string_build_hex_binary | ( | UNUSED void ** | state | ) |
Definition at line 1019 of file test_amxc_string.c.
void test_amxc_string_build_hex_binary_using_separator | ( | UNUSED void ** | state | ) |
Definition at line 1086 of file test_amxc_string.c.
void test_amxc_string_copy | ( | UNUSED void ** | state | ) |
Definition at line 967 of file test_amxc_string.c.
void test_amxc_string_dup | ( | UNUSED void ** | state | ) |
Definition at line 409 of file test_amxc_string.c.
void test_amxc_string_get | ( | UNUSED void ** | state | ) |
Definition at line 386 of file test_amxc_string.c.
void test_amxc_string_grow | ( | UNUSED void ** | state | ) |
Definition at line 132 of file test_amxc_string.c.
void test_amxc_string_grow_null | ( | UNUSED void ** | state | ) |
Definition at line 128 of file test_amxc_string.c.
void test_amxc_string_init_reset_clean | ( | UNUSED void ** | state | ) |
Definition at line 104 of file test_amxc_string.c.
void test_amxc_string_init_reset_clean_null | ( | UNUSED void ** | state | ) |
Definition at line 79 of file test_amxc_string.c.
void test_amxc_string_is_numeric | ( | UNUSED void ** | state | ) |
Definition at line 616 of file test_amxc_string.c.
void test_amxc_string_new_delete | ( | UNUSED void ** | state | ) |
Definition at line 86 of file test_amxc_string.c.
void test_amxc_string_new_delete_null | ( | UNUSED void ** | state | ) |
Definition at line 73 of file test_amxc_string.c.
void test_amxc_string_new_resolved | ( | UNUSED void ** | state | ) |
Definition at line 862 of file test_amxc_string.c.
void test_amxc_string_prepend | ( | UNUSED void ** | state | ) |
Definition at line 220 of file test_amxc_string.c.
void test_amxc_string_prependf | ( | UNUSED void ** | state | ) |
Definition at line 594 of file test_amxc_string.c.
void test_amxc_string_remove_at | ( | UNUSED void ** | state | ) |
Definition at line 340 of file test_amxc_string.c.
void test_amxc_string_replace | ( | UNUSED void ** | state | ) |
Definition at line 933 of file test_amxc_string.c.
void test_amxc_string_reset | ( | UNUSED void ** | state | ) |
Definition at line 995 of file test_amxc_string.c.
void test_amxc_string_resolve | ( | UNUSED void ** | state | ) |
Definition at line 773 of file test_amxc_string.c.
void test_amxc_string_resolve_env | ( | UNUSED void ** | state | ) |
Definition at line 687 of file test_amxc_string.c.
void test_amxc_string_resolve_var | ( | UNUSED void ** | state | ) |
Definition at line 730 of file test_amxc_string.c.
void test_amxc_string_search | ( | UNUSED void ** | state | ) |
Definition at line 912 of file test_amxc_string.c.
void test_amxc_string_set | ( | UNUSED void ** | state | ) |
Definition at line 1006 of file test_amxc_string.c.
void test_amxc_string_set_at | ( | UNUSED void ** | state | ) |
Definition at line 287 of file test_amxc_string.c.
void test_amxc_string_set_resolved | ( | UNUSED void ** | state | ) |
Definition at line 830 of file test_amxc_string.c.
void test_amxc_string_setf | ( | UNUSED void ** | state | ) |
Definition at line 549 of file test_amxc_string.c.
void test_amxc_string_shrink | ( | UNUSED void ** | state | ) |
Definition at line 159 of file test_amxc_string.c.
void test_amxc_string_shrink_null | ( | UNUSED void ** | state | ) |
Definition at line 155 of file test_amxc_string.c.
void test_amxc_string_take_push_buffer | ( | UNUSED void ** | state | ) |
Definition at line 523 of file test_amxc_string.c.
void test_amxc_string_text_length | ( | UNUSED void ** | state | ) |
Definition at line 266 of file test_amxc_string.c.
void test_amxc_string_tolower | ( | UNUSED void ** | state | ) |
Definition at line 1178 of file test_amxc_string.c.
void test_amxc_string_toupper | ( | UNUSED void ** | state | ) |
Definition at line 1164 of file test_amxc_string.c.
void test_amxc_string_trim | ( | UNUSED void ** | state | ) |
Definition at line 449 of file test_amxc_string.c.
void test_amxc_string_vappendf_checked | ( | UNUSED void ** | state | ) |
Definition at line 1224 of file test_amxc_string.c.
char data[] = "abcdefghij" |
Definition at line 71 of file test_amxc_string.c.