![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
C unit test to cover a config system draft implementation. More...
Go to the source code of this file.
C unit test to cover a config system draft implementation.
Definition in file test-configloader.c.
#include "lib/tmpbuf.h"#include "common/config.h"#include "common/configitem.h"#include "lib/test/test.h"Functions | |
| TESTS_BEGIN | TEST (init) |
| TEST (configitem_simple) | |
| TEST (lookup) | |
| TEST (change_value) | |
| TEST (basic_set_get) | |
| TEST (number_get) | |
| TEST (number_get_nodefault) | |
| TEST (number_set) | |
| TEST (string_get) | |
| TEST (string_set) | |
| TEST (word_get) | |
| TEST (word_set) | |
| TEST (configitem_simple_ctor_dtor) | |
| TEST (configitem_simple_content_check) | |
| TEST (wordlist_get_nth) | |
| TEST (wordlist_find) | |
| TEST (wordlist_replace) | |
| TEST (wordlist_add) | |
| TESTS_BEGIN TEST | ( | init | ) |
Definition at line 30 of file test-configloader.c.
References lumiera_config_destroy().
Here is the call graph for this function:| TEST | ( | configitem_simple | ) |
Definition at line 44 of file test-configloader.c.
References lumiera_configitem_delete(), lumiera_configitem_new(), and NULL.
Here is the call graph for this function:| TEST | ( | lookup | ) |
Definition at line 66 of file test-configloader.c.
References lumiera_config_lookup_destroy(), lumiera_config_lookup_init(), lumiera_config_lookup_insert(), lumiera_config_lookup_item_find(), lumiera_config_lookup_remove(), and lumiera_configitem_new().
Here is the call graph for this function:| TEST | ( | change_value | ) |
Definition at line 85 of file test-configloader.c.
References lumiera_config_get(), lumiera_config_set(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | basic_set_get | ) |
Definition at line 112 of file test-configloader.c.
References lumiera_config_get(), lumiera_config_set(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | number_get | ) |
Definition at line 133 of file test-configloader.c.
References lumiera_config_number_get(), lumiera_config_setdefault(), lumiera_error(), and lumiera_tmpbuf_snprintf().
Here is the call graph for this function:| TEST | ( | number_get_nodefault | ) |
Definition at line 149 of file test-configloader.c.
References lumiera_config_number_get(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | number_set | ) |
Definition at line 162 of file test-configloader.c.
References lumiera_config_number_get(), lumiera_config_number_set(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | string_get | ) |
Definition at line 179 of file test-configloader.c.
References lumiera_config_setdefault(), lumiera_config_string_get(), lumiera_error(), and lumiera_tmpbuf_snprintf().
Here is the call graph for this function:| TEST | ( | string_set | ) |
Definition at line 195 of file test-configloader.c.
References lumiera_config_string_get(), lumiera_config_string_set(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | word_get | ) |
Definition at line 211 of file test-configloader.c.
References lumiera_config_destroy(), lumiera_config_setdefault(), lumiera_config_word_get(), lumiera_error(), and lumiera_tmpbuf_snprintf().
Here is the call graph for this function:| TEST | ( | word_set | ) |
Definition at line 229 of file test-configloader.c.
References lumiera_config_word_get(), lumiera_config_word_set(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | configitem_simple_ctor_dtor | ) |
Definition at line 245 of file test-configloader.c.
References lumiera_configitem_new().
Here is the call graph for this function:| TEST | ( | configitem_simple_content_check | ) |
Definition at line 255 of file test-configloader.c.
References lumiera_configitem_new().
Here is the call graph for this function:| TEST | ( | wordlist_get_nth | ) |
Definition at line 282 of file test-configloader.c.
References lumiera_config_wordlist_get_nth(), lumiera_config_wordlist_set(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | wordlist_find | ) |
Definition at line 297 of file test-configloader.c.
References lumiera_config_wordlist_find(), lumiera_config_wordlist_set(), and lumiera_error().
Here is the call graph for this function:| TEST | ( | wordlist_replace | ) |
Definition at line 312 of file test-configloader.c.
References lumiera_config_wordlist_replace(), lumiera_config_wordlist_set(), lumiera_error(), and NULL.
Here is the call graph for this function:| TEST | ( | wordlist_add | ) |
Definition at line 332 of file test-configloader.c.
References lumiera_config_wordlist_add(), lumiera_config_wordlist_set(), and lumiera_error().
Here is the call graph for this function: