00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef DBUS_TEST_H
00025 #define DBUS_TEST_H
00026
00027 #include <dbus/dbus-types.h>
00028 #include <dbus/dbus-string.h>
00029 #include <dbus/dbus-marshal-validate.h>
00030
00031 dbus_bool_t _dbus_hash_test (void);
00032 dbus_bool_t _dbus_dict_test (void);
00033 dbus_bool_t _dbus_list_test (void);
00034 dbus_bool_t _dbus_marshal_test (void);
00035 dbus_bool_t _dbus_marshal_recursive_test (void);
00036 dbus_bool_t _dbus_marshal_byteswap_test (void);
00037 dbus_bool_t _dbus_marshal_header_test (void);
00038 dbus_bool_t _dbus_marshal_validate_test (void);
00039 dbus_bool_t _dbus_misc_test (void);
00040 dbus_bool_t _dbus_signature_test (void);
00041 dbus_bool_t _dbus_mem_pool_test (void);
00042 dbus_bool_t _dbus_string_test (void);
00043 dbus_bool_t _dbus_address_test (void);
00044 dbus_bool_t _dbus_server_test (void);
00045 dbus_bool_t _dbus_message_test (const char *test_data_dir);
00046 dbus_bool_t _dbus_auth_test (const char *test_data_dir);
00047 dbus_bool_t _dbus_md5_test (void);
00048 dbus_bool_t _dbus_sha_test (const char *test_data_dir);
00049 dbus_bool_t _dbus_keyring_test (void);
00050 dbus_bool_t _dbus_data_slot_test (void);
00051 dbus_bool_t _dbus_sysdeps_test (void);
00052 dbus_bool_t _dbus_spawn_test (const char *test_data_dir);
00053 dbus_bool_t _dbus_userdb_test (const char *test_data_dir);
00054 dbus_bool_t _dbus_memory_test (void);
00055 dbus_bool_t _dbus_object_tree_test (void);
00056 dbus_bool_t _dbus_pending_call_test (const char *test_data_dir);
00057
00058 void dbus_internal_do_not_use_run_tests (const char *test_data_dir,
00059 const char *specific_test);
00060 dbus_bool_t dbus_internal_do_not_use_try_message_file (const DBusString *filename,
00061 DBusValidity expected_validity);
00062 dbus_bool_t dbus_internal_do_not_use_try_message_data (const DBusString *data,
00063 DBusValidity expected_validity);
00064 dbus_bool_t dbus_internal_do_not_use_load_message_file (const DBusString *filename,
00065 DBusString *data);
00066
00067
00068
00069 typedef dbus_bool_t (* DBusForeachMessageFileFunc) (const DBusString *filename,
00070 DBusValidity expected_validity,
00071 void *data);
00072
00073 dbus_bool_t dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir,
00074 DBusForeachMessageFileFunc func,
00075 void *user_data);
00076 dbus_bool_t dbus_internal_do_not_use_generate_bodies (int sequence,
00077 int byte_order,
00078 DBusString *signature,
00079 DBusString *body);
00080
00081
00082 #endif