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_string_split.h>
#include <amxc/amxc_utils.h>
#include "test_amxc_string_split.h"
#include <amxc/amxc_macros.h>
Go to the source code of this file.
Data Structures | |
struct | _test_cases |
Typedefs | |
typedef struct _test_cases | test_cases_t |
typedef struct _test_cases test_cases_t |
void test_amxc_string_split_word | ( | UNUSED void ** | state | ) |
Definition at line 907 of file test_amxc_string_split.c.
void test_amxc_string_split_word_can_start_with_punctuation | ( | UNUSED void ** | state | ) |
Definition at line 990 of file test_amxc_string_split.c.
void test_amxc_string_split_word_quotes2 | ( | UNUSED void ** | state | ) |
Definition at line 938 of file test_amxc_string_split.c.
void test_can_split_csv_string_can_start_with_array_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 374 of file test_amxc_string_split.c.
void test_can_split_csv_string_supports_multi_level_array_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 415 of file test_amxc_string_split.c.
void test_can_split_csv_string_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 200 of file test_amxc_string_split.c.
void test_can_split_csv_string_with_double_quotes_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 476 of file test_amxc_string_split.c.
void test_can_split_csv_string_with_multi_array_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 333 of file test_amxc_string_split.c.
void test_can_split_csv_string_with_single_quotes_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 434 of file test_amxc_string_split.c.
void test_can_split_ssv_string_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 547 of file test_amxc_string_split.c.
void test_can_split_ssv_string_with_multi_array_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 705 of file test_amxc_string_split.c.
void test_can_split_ssv_string_with_single_quotes_to_variant | ( | UNUSED void ** | state | ) |
Definition at line 652 of file test_amxc_string_split.c.
void test_can_split_string_using_separator | ( | UNUSED void ** | state | ) |
Definition at line 76 of file test_amxc_string_split.c.
void test_can_split_string_using_space_separators | ( | UNUSED void ** | state | ) |
Definition at line 111 of file test_amxc_string_split.c.
void test_check_parts_are_correct | ( | UNUSED void ** | state | ) |
Definition at line 140 of file test_amxc_string_split.c.
void test_functions_validates_input_arguments | ( | UNUSED void ** | state | ) |
Definition at line 1006 of file test_amxc_string_split.c.
void test_split_csv_can_handle_empty_sublist | ( | UNUSED void ** | state | ) |
Definition at line 511 of file test_amxc_string_split.c.
void test_split_csv_handles_sequence_of_commas_as_multiple_items | ( | UNUSED void ** | state | ) |
Definition at line 255 of file test_amxc_string_split.c.
void test_split_csv_string_handles_comma_in_quotes_correctly | ( | UNUSED void ** | state | ) |
Definition at line 275 of file test_amxc_string_split.c.
void test_split_csv_string_handles_empty_string_correctly | ( | UNUSED void ** | state | ) |
Definition at line 315 of file test_amxc_string_split.c.
void test_split_ssv_handles_sequence_of_spaces_as_one_separator | ( | UNUSED void ** | state | ) |
Definition at line 592 of file test_amxc_string_split.c.
void test_split_ssv_string_handles_empty_string_correctly | ( | UNUSED void ** | state | ) |
Definition at line 687 of file test_amxc_string_split.c.
void test_split_ssv_string_handles_spaces_in_quotes_correctly | ( | UNUSED void ** | state | ) |
Definition at line 612 of file test_amxc_string_split.c.
void test_split_string_on_new_line | ( | UNUSED void ** | state | ) |
Definition at line 1037 of file test_amxc_string_split.c.
void test_split_word_checks_curly_brackets | ( | UNUSED void ** | state | ) |
Definition at line 790 of file test_amxc_string_split.c.
void test_split_word_checks_quotes | ( | UNUSED void ** | state | ) |
Definition at line 746 of file test_amxc_string_split.c.
void test_split_word_checks_round_brackets | ( | UNUSED void ** | state | ) |
Definition at line 868 of file test_amxc_string_split.c.
void test_split_word_checks_square_brackets | ( | UNUSED void ** | state | ) |
Definition at line 829 of file test_amxc_string_split.c.