From 9c9d66c1a06610332aa57bf1bbed0f572386e6a5 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 22 Jun 2011 16:13:48 +0100 Subject: [PATCH] _dbus_pending_call_test: remove stub --- dbus/dbus-pending-call.c | 16 ---------------- dbus/dbus-test.c | 2 -- dbus/dbus-test.h | 1 - 3 files changed, 19 deletions(-) diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c index f9613195..e7f5cd98 100644 --- a/dbus/dbus-pending-call.c +++ b/dbus/dbus-pending-call.c @@ -808,19 +808,3 @@ dbus_pending_call_get_data (DBusPendingCall *pending, } /** @} */ - -#ifdef DBUS_BUILD_TESTS - -/** - * @ingroup DBusPendingCallInternals - * Unit test for DBusPendingCall. - * - * @returns #TRUE on success. - */ -dbus_bool_t -_dbus_pending_call_test (const char *test_data_dir) -{ - - return TRUE; -} -#endif /* DBUS_BUILD_TESTS */ diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index 00384833..b2eeb724 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -170,8 +170,6 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci run_data_test ("auth", specific_test, _dbus_auth_test, test_data_dir); - run_data_test ("pending-call", specific_test, _dbus_pending_call_test, test_data_dir); - printf ("%s: completed successfully\n", "dbus-test"); #else printf ("Not compiled with unit tests, not running any\n"); diff --git a/dbus/dbus-test.h b/dbus/dbus-test.h index 7c921d41..d97d142a 100644 --- a/dbus/dbus-test.h +++ b/dbus/dbus-test.h @@ -50,7 +50,6 @@ dbus_bool_t _dbus_spawn_test (const char *test_data_dir); dbus_bool_t _dbus_userdb_test (const char *test_data_dir); dbus_bool_t _dbus_memory_test (void); dbus_bool_t _dbus_object_tree_test (void); -dbus_bool_t _dbus_pending_call_test (const char *test_data_dir); dbus_bool_t _dbus_credentials_test (const char *test_data_dir); void dbus_internal_do_not_use_run_tests (const char *test_data_dir, -- 2.34.1