diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-02-06 12:20:54 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-02-07 01:11:07 +0100 |
commit | d6b47015037cbdebc3cd1c1f352cf7c6109bead3 (patch) | |
tree | 0fbf0e860b8154584e45d0c657c2af173b031aef /lib | |
parent | e92302d7077ec452a95021d5b69789d455955293 (diff) | |
download | samba-d6b47015037cbdebc3cd1c1f352cf7c6109bead3.tar.gz samba-d6b47015037cbdebc3cd1c1f352cf7c6109bead3.tar.bz2 samba-d6b47015037cbdebc3cd1c1f352cf7c6109bead3.zip |
charset/tests: Add prototypes for test functions.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/charset/tests/charset.c | 2 | ||||
-rw-r--r-- | lib/util/charset/tests/convert_string.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/util/charset/tests/charset.c b/lib/util/charset/tests/charset.c index 351b91c7b7..70b6741876 100644 --- a/lib/util/charset/tests/charset.c +++ b/lib/util/charset/tests/charset.c @@ -21,6 +21,8 @@ #include "includes.h" #include "torture/torture.h" +struct torture_suite *torture_local_charset(TALLOC_CTX *mem_ctx); + static bool test_toupper_m(struct torture_context *tctx) { torture_assert_int_equal(tctx, toupper_m('c'), 'C', "c"); diff --git a/lib/util/charset/tests/convert_string.c b/lib/util/charset/tests/convert_string.c index 918be496b6..92de70295f 100644 --- a/lib/util/charset/tests/convert_string.c +++ b/lib/util/charset/tests/convert_string.c @@ -23,6 +23,11 @@ #include "lib/util/charset/charset.h" #include "param/param.h" +struct torture_suite *torture_local_convert_string_handle(TALLOC_CTX *mem_ctx); +struct torture_suite *torture_local_string_case_handle(TALLOC_CTX *mem_ctx); +struct torture_suite *torture_local_convert_string(TALLOC_CTX *mem_ctx); +struct torture_suite *torture_local_string_case(TALLOC_CTX *mem_ctx); + /* The text below is in ancient and a latin charset transliteration of * greek, and an english translation. It from Apology by Plato and sourced from * http://en.wikipedia.org/w/index.php?title=Ancient_Greek&oldid=421361065#Example_text |