test/string_tests.h

Fri, 08 Feb 2013 10:37:24 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 08 Feb 2013 10:37:24 +0100
changeset 81
86a23238d8a1
parent 59
c80c910fe191
child 97
499e1b465d77
permissions
-rw-r--r--

changed logger to behave more like printf + added possibility to specify write function

39
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 /*
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 *
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 */
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 #ifndef STRING_TESTS_H
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 #define STRING_TESTS_H
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 #include "ucx/test.h"
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 #include "ucx/string.h"
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 #ifdef __cplusplus
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 extern "C" {
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 #endif
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14
59
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 54
diff changeset
15 UCX_TEST_DECLARE(test_sstr);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 54
diff changeset
16 UCX_TEST_DECLARE(test_sstr_len_cat);
c80c910fe191 added semicolons to UCX_TEST_DECLARE calls
Mike Becker <universe@uap-core.de>
parents: 54
diff changeset
17 UCX_TEST_DECLARE(test_sstrsplit);
39
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 #ifdef __cplusplus
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 }
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 #endif
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22
54
f634f790661a added logging API
Mike Becker <universe@uap-core.de>
parents: 47
diff changeset
23 #endif /* STRING_TESTS_H */
39
bf8ab7bb74ff added sstrsplit function
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24

mercurial