1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

lib/util/charset Rename convert_string test to allow a 'non_handle' test

A future commit will test (with a subset of tests) the varient of this
function without _handle.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
Andrew Bartlett 2011-04-11 21:37:01 +10:00 committed by Andrew Tridgell
parent 7bbd701a13
commit a2c691ab9a
2 changed files with 3 additions and 4 deletions

View File

@ -834,15 +834,14 @@ static bool test_plato_case_utf8(struct torture_context *tctx)
return true;
}
struct torture_suite *torture_local_convert_string(TALLOC_CTX *mem_ctx)
struct torture_suite *torture_local_convert_string_handle(TALLOC_CTX *mem_ctx)
{
struct torture_suite *suite = torture_suite_create(mem_ctx, "convert_string_talloc");
struct torture_suite *suite = torture_suite_create(mem_ctx, "convert_string_handle");
torture_suite_add_simple_test(suite, "gd_iso8859_cp850", test_gd_iso8859_cp850);
torture_suite_add_simple_test(suite, "plato_english_iso8859_cp850", test_plato_english_iso8859_cp850);
torture_suite_add_simple_test(suite, "plato_cp850_utf8", test_plato_cp850_utf8);
torture_suite_add_simple_test(suite, "plato_latin_cp850_utf8", test_plato_latin_cp850_utf8);
torture_suite_add_simple_test(suite, "plato_ascii_cp850_utf8", test_plato_latin_cp850_utf8);
return suite;
}

View File

@ -60,7 +60,7 @@
torture_local_share,
torture_local_loadparm,
torture_local_charset,
torture_local_convert_string,
torture_local_convert_string_handle,
torture_local_string_case,
torture_local_compression,
torture_local_event,