diff options
author | Kai Blin <kai@samba.org> | 2007-12-24 13:04:56 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-26 11:57:05 -0600 |
commit | 3c744ddd2c33a9a06013f357261b8ea86804e8e8 (patch) | |
tree | 431d069898a963280398c88b94f56498ac678aa8 /source4/librpc/tests | |
parent | 95b1f554b2c57a9f975a0cc27ca51bec6c7594d6 (diff) | |
download | samba-3c744ddd2c33a9a06013f357261b8ea86804e8e8.tar.gz samba-3c744ddd2c33a9a06013f357261b8ea86804e8e8.tar.bz2 samba-3c744ddd2c33a9a06013f357261b8ea86804e8e8.zip |
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
Diffstat (limited to 'source4/librpc/tests')
-rw-r--r-- | source4/librpc/tests/binding_string.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source4/librpc/tests/binding_string.c b/source4/librpc/tests/binding_string.c index 362848049b..5e6fb04515 100644 --- a/source4/librpc/tests/binding_string.c +++ b/source4/librpc/tests/binding_string.c @@ -154,17 +154,18 @@ static bool test_no_transport(struct torture_context *tctx) struct torture_suite *torture_local_binding_string(TALLOC_CTX *mem_ctx) { int i; - struct torture_suite *suite = torture_suite_create(mem_ctx, - "BINDING"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "BINDING"); for (i = 0; i < ARRAY_SIZE(test_strings); i++) { - torture_suite_add_simple_tcase(suite, test_strings[i], - test_BindingString, test_strings[i]); + torture_suite_add_simple_tcase_const(suite, test_strings[i], + test_BindingString, + test_strings[i]); } - torture_suite_add_simple_test(suite, "no transport", test_no_transport); + torture_suite_add_simple_test(suite, "no transport",test_no_transport); - torture_suite_add_simple_test(suite, "parsing results", test_parse_check_results); + torture_suite_add_simple_test(suite, "parsing results", + test_parse_check_results); return suite; } |