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 dbus_bool_t _dbus_credentials_test (const char *test_data_dir);
00058
00059 void dbus_internal_do_not_use_run_tests (const char *test_data_dir,
00060 const char *specific_test);
00061 dbus_bool_t dbus_internal_do_not_use_try_message_file (const DBusString *filename,
00062 DBusValidity expected_validity);
00063 dbus_bool_t dbus_internal_do_not_use_try_message_data (const DBusString *data,
00064 DBusValidity expected_validity);
00065 dbus_bool_t dbus_internal_do_not_use_load_message_file (const DBusString *filename,
00066 DBusString *data);
00067
00068
00069
00070 typedef dbus_bool_t (* DBusForeachMessageFileFunc) (const DBusString *filename,
00071 DBusValidity expected_validity,
00072 void *data);
00073
00074 dbus_bool_t dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir,
00075 DBusForeachMessageFileFunc func,
00076 void *user_data);
00077 dbus_bool_t dbus_internal_do_not_use_generate_bodies (int sequence,
00078 int byte_order,
00079 DBusString *signature,
00080 DBusString *body);
00081
00082
00083 #endif