Lumiera  0.pre.03
»edit your freedom«
test-configloader.c File Reference

Go to the source code of this file.

Description

C unit test to cover a config system draft implementation.

Deprecated:
as of 2017 it is very likely we'll use a different approach

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)