test/string_tests.h

Fri, 12 Oct 2012 12:46:54 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 12 Oct 2012 12:46:54 +0200
changeset 74
dc8bade7f2a3
parent 59
c80c910fe191
child 97
499e1b465d77
permissions
-rw-r--r--

made the code work with g++ and without warnings

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