mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-19 20:08:26 +02:00
daemon: Remove unused test declarations
All those test functions were removed in 6ba8629 and are now unused.
This commit is contained in:
parent
402640bee0
commit
3e06274e00
4 changed files with 0 additions and 31 deletions
|
|
@ -36,31 +36,3 @@ up_native_get_native_path (GObject *object)
|
|||
{
|
||||
return up_acpi_native_get_path (UP_ACPI_NATIVE (object));
|
||||
}
|
||||
|
||||
/***************************************************************************
|
||||
*** MAKE CHECK TESTS ***
|
||||
***************************************************************************/
|
||||
#ifdef EGG_TEST
|
||||
#include "egg-test.h"
|
||||
|
||||
void
|
||||
up_native_test (gpointer user_data)
|
||||
{
|
||||
EggTest *test = (EggTest *) user_data;
|
||||
UpAcpiNative *dan;
|
||||
const gchar *path;
|
||||
|
||||
if (!egg_test_start (test, "UpNative"))
|
||||
return;
|
||||
|
||||
/************************************************************/
|
||||
egg_test_title (test, "get instance");
|
||||
dan = up_acpi_native_new_driver_unit ("battery", 0);
|
||||
path = up_native_get_native_path (dan);
|
||||
egg_test_assert (test, (g_strcmp0 (path, "dev.battery.0") == 0));
|
||||
g_object_unref (dan);
|
||||
|
||||
egg_test_end (test);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ typedef struct
|
|||
|
||||
GType up_backend_get_type (void);
|
||||
UpBackend *up_backend_new (void);
|
||||
void up_backend_test (gpointer user_data);
|
||||
|
||||
gboolean up_backend_coldplug (UpBackend *backend,
|
||||
UpDaemon *daemon);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ typedef enum
|
|||
GQuark up_daemon_error_quark (void);
|
||||
GType up_daemon_get_type (void);
|
||||
UpDaemon *up_daemon_new (void);
|
||||
void up_daemon_test (gpointer user_data);
|
||||
|
||||
/* private */
|
||||
guint up_daemon_get_number_devices_of_type (UpDaemon *daemon,
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ typedef struct
|
|||
|
||||
GType up_device_list_get_type (void);
|
||||
UpDeviceList *up_device_list_new (void);
|
||||
void up_device_list_test (gpointer user_data);
|
||||
|
||||
GObject *up_device_list_lookup (UpDeviceList *list,
|
||||
GObject *native);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue