|
OpenVPN
|
#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <stdarg.h>#include <stdint.h>#include <string.h>#include <setjmp.h>#include <cmocka.h>#include "utils.h"
Go to the source code of this file.
Functions | |
| static void | pass_any_null_param__returns_null (void **state) |
| static void | pass_any_empty_string__returns_null (void **state) |
| static void | replace_single_char__one_time__match_is_replaced (void **state) |
| static void | replace_single_char__multiple_times__match_all_matches_are_replaced (void **state) |
| static void | replace_longer_text__multiple_times__match_all_matches_are_replaced (void **state) |
| static void | pattern_not_found__returns_original (void **state) |
| int | main (void) |
| int main | ( | void | ) |
Definition at line 79 of file test_search_and_replace.c.
References pass_any_empty_string__returns_null(), pass_any_null_param__returns_null(), pattern_not_found__returns_original(), replace_longer_text__multiple_times__match_all_matches_are_replaced(), replace_single_char__multiple_times__match_all_matches_are_replaced(), and replace_single_char__one_time__match_is_replaced().
|
static |
Definition at line 23 of file test_search_and_replace.c.
References searchandreplace().
Referenced by main().
|
static |
Definition at line 13 of file test_search_and_replace.c.
References searchandreplace().
Referenced by main().
|
static |
Definition at line 67 of file test_search_and_replace.c.
References searchandreplace().
Referenced by main().
|
static |
Definition at line 56 of file test_search_and_replace.c.
References searchandreplace().
Referenced by main().
|
static |
Definition at line 45 of file test_search_and_replace.c.
References searchandreplace().
Referenced by main().
|
static |
Definition at line 34 of file test_search_and_replace.c.
References searchandreplace().
Referenced by main().