2007-07-14 02:44:01 +00:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
2018-10-03 19:15:38 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright 2002-2009 Red Hat, Inc.
|
|
|
|
|
* Copyright 2011-2018 Collabora Ltd.
|
2003-01-09 01:31:35 +00:00
|
|
|
*
|
2004-08-10 03:07:01 +00:00
|
|
|
* Licensed under the Academic Free License version 2.1
|
2018-12-17 10:56:38 +00:00
|
|
|
*
|
2003-01-09 01:31:35 +00:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
2018-12-17 10:56:38 +00:00
|
|
|
*
|
2003-01-09 01:31:35 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
2009-07-10 19:32:38 -04:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2003-01-09 01:31:35 +00:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2010-03-19 12:36:49 +01:00
|
|
|
#include <config.h>
|
2003-01-09 01:31:35 +00:00
|
|
|
|
2018-10-03 19:15:38 +01:00
|
|
|
#include "dbus/dbus-internals.h"
|
|
|
|
|
#include "dbus/dbus-test.h"
|
2018-11-15 14:08:03 +00:00
|
|
|
#include "test/test-utils.h"
|
2014-10-24 13:41:13 +01:00
|
|
|
|
2018-09-03 14:53:24 -07:00
|
|
|
static DBusTestCase tests[] =
|
2003-01-09 01:31:35 +00:00
|
|
|
{
|
2018-09-03 14:53:24 -07:00
|
|
|
{ "string", _dbus_string_test },
|
|
|
|
|
{ "sysdeps", _dbus_sysdeps_test },
|
|
|
|
|
{ "data-slot", _dbus_data_slot_test },
|
|
|
|
|
{ "misc", _dbus_misc_test },
|
|
|
|
|
{ "address", _dbus_address_test },
|
|
|
|
|
{ "server", _dbus_server_test },
|
|
|
|
|
{ "object-tree", _dbus_object_tree_test },
|
|
|
|
|
{ "signature", _dbus_signature_test },
|
|
|
|
|
{ "marshalling", _dbus_marshal_test },
|
|
|
|
|
{ "marshal-recursive" , _dbus_marshal_recursive_test },
|
|
|
|
|
{ "byteswap", _dbus_marshal_byteswap_test },
|
|
|
|
|
{ "memory", _dbus_memory_test },
|
|
|
|
|
{ "mem-pool", _dbus_mem_pool_test },
|
|
|
|
|
{ "list", _dbus_list_test },
|
|
|
|
|
{ "marshal-validate", _dbus_marshal_validate_test },
|
|
|
|
|
{ "message", _dbus_message_test },
|
|
|
|
|
{ "hash", _dbus_hash_test },
|
|
|
|
|
{ "credentials", _dbus_credentials_test },
|
|
|
|
|
{ "keyring", _dbus_keyring_test },
|
|
|
|
|
{ "sha", _dbus_sha_test },
|
|
|
|
|
{ "auth", _dbus_auth_test },
|
2003-01-28 03:53:29 +00:00
|
|
|
|
2018-09-03 14:53:24 -07:00
|
|
|
#if defined(DBUS_UNIX)
|
|
|
|
|
{ "userdb", _dbus_userdb_test },
|
|
|
|
|
{ "transport-unix", _dbus_transport_unix_test },
|
2014-10-24 13:41:13 +01:00
|
|
|
#endif
|
|
|
|
|
|
2018-09-03 14:53:24 -07:00
|
|
|
{ NULL }
|
|
|
|
|
};
|
2017-11-14 17:20:40 +00:00
|
|
|
|
2018-09-03 14:53:24 -07:00
|
|
|
int
|
|
|
|
|
main (int argc,
|
|
|
|
|
char **argv)
|
|
|
|
|
{
|
|
|
|
|
return _dbus_test_main (argc, argv, _DBUS_N_ELEMENTS (tests), tests,
|
|
|
|
|
DBUS_TEST_FLAGS_CHECK_MEMORY_LEAKS,
|
|
|
|
|
NULL, NULL);
|
2003-01-09 01:31:35 +00:00
|
|
|
}
|