diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2018-03-01 15:53:55 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-04 16:41:38 +0300 |
commit | 0443f8dd4d957a9870dbeda9ec2da2dc6e90a4ca (patch) | |
tree | c2d09763e8585d5ef5422cba0e437790f7b82e5f /test | |
parent | 5df1af79c5dd249abdc6f93d05c5328fbc2c3772 (diff) |
csync: Simplify csync_walk_local_tree/csync_walk_remote_tree
Small refactoring
Diffstat (limited to 'test')
-rw-r--r-- | test/csync/csync_tests/check_csync_update.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/csync/csync_tests/check_csync_update.cpp b/test/csync/csync_tests/check_csync_update.cpp index 504ea2096..b4eca074d 100644 --- a/test/csync/csync_tests/check_csync_update.cpp +++ b/test/csync/csync_tests/check_csync_update.cpp @@ -325,16 +325,6 @@ static void check_csync_detect_update_db_new(void **state) csync_set_status(csync, 0xFFFF); } -static void check_csync_detect_update_null(void **state) -{ - CSYNC *csync = (CSYNC*)*state; - std::unique_ptr<csync_file_stat_t> fs; - int rc; - - rc = _csync_detect_update(csync, NULL); - assert_int_equal(rc, -1); -} - static void check_csync_ftw(void **state) { CSYNC *csync = (CSYNC*)*state; @@ -370,7 +360,6 @@ int torture_run_tests(void) cmocka_unit_test_setup_teardown(check_csync_detect_update_db_eval, setup, teardown), cmocka_unit_test_setup_teardown(check_csync_detect_update_db_rename, setup, teardown), cmocka_unit_test_setup_teardown(check_csync_detect_update_db_new, setup, teardown_rm), - cmocka_unit_test_setup_teardown(check_csync_detect_update_null, setup, teardown_rm), cmocka_unit_test_setup_teardown(check_csync_ftw, setup_ftw, teardown_rm), cmocka_unit_test_setup_teardown(check_csync_ftw_empty_uri, setup_ftw, teardown_rm), |