[Pkg-owncloud-commits] [owncloud-client] 13/70: delete dead code
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat May 17 20:01:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 3d8d4fecd7fb8ef5879412b70b76aa8a5b95078f
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri May 2 11:50:15 2014 +0200
delete dead code
---
csync/tests/csync_tests/check_csync_statedb_query.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/csync/tests/csync_tests/check_csync_statedb_query.c b/csync/tests/csync_tests/check_csync_statedb_query.c
index 151d6d0..6e8e74f 100644
--- a/csync/tests/csync_tests/check_csync_statedb_query.c
+++ b/csync/tests/csync_tests/check_csync_statedb_query.c
@@ -243,19 +243,6 @@ static void check_csync_statedb_get_stat_by_hash_not_found(void **state)
free(tmp);
}
-static void check_csync_statedb_get_stat_by_inode(void **state)
-{
- CSYNC *csync = *state;
- csync_file_stat_t *tmp;
-
- tmp = csync_statedb_get_stat_by_inode(csync, (ino_t) 23);
- assert_non_null(tmp);
-
- assert_int_equal(tmp->phash, 42);
- assert_int_equal(tmp->inode, 23);
-
- free(tmp);
-}
static void check_csync_statedb_get_stat_by_inode_not_found(void **state)
{
@@ -272,14 +259,10 @@ int torture_run_tests(void)
unit_test_setup_teardown(check_csync_statedb_query_statement, setup, teardown),
unit_test_setup_teardown(check_csync_statedb_create_error, setup, teardown),
unit_test_setup_teardown(check_csync_statedb_insert_statement, setup, teardown),
- /* unit_test_setup_teardown(check_csync_statedb_is_empty, setup, teardown), */
- /* unit_test_setup_teardown(check_csync_statedb_create_tables, setup, teardown), */
unit_test_setup_teardown(check_csync_statedb_drop_tables, setup, teardown),
unit_test_setup_teardown(check_csync_statedb_insert_metadata, setup, teardown),
unit_test_setup_teardown(check_csync_statedb_write, setup, teardown),
- /* unit_test_setup_teardown(check_csync_statedb_get_stat_by_hash, setup_db, teardown), */
unit_test_setup_teardown(check_csync_statedb_get_stat_by_hash_not_found, setup_db, teardown),
- /* unit_test_setup_teardown(check_csync_statedb_get_stat_by_inode, setup_db, teardown), */
unit_test_setup_teardown(check_csync_statedb_get_stat_by_inode_not_found, setup_db, teardown),
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list