projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added NameList method handling, small improvemnets and cleanups
[platform/upstream/dbus.git]
/
dbus
/
dbus-test.c
diff --git
a/dbus/dbus-test.c
b/dbus/dbus-test.c
index
deb4c93
..
224a6c8
100644
(file)
--- a/
dbus/dbus-test.c
+++ b/
dbus/dbus-test.c
@@
-63,9
+63,9
@@
run_test (const char *test_name,
printf ("%s: running %s tests\n", "dbus-test", test_name);
if (!test ())
die (test_name);
printf ("%s: running %s tests\n", "dbus-test", test_name);
if (!test ())
die (test_name);
- }
- check_memleaks ();
+ check_memleaks ();
+ }
}
static void
}
static void
@@
-79,9
+79,9
@@
run_data_test (const char *test_name,
printf ("%s: running %s tests\n", "dbus-test", test_name);
if (!test (test_data_dir))
die (test_name);
printf ("%s: running %s tests\n", "dbus-test", test_name);
if (!test (test_data_dir))
die (test_name);
- }
- check_memleaks ();
+ check_memleaks ();
+ }
}
#endif /* DBUS_BUILD_TESTS */
}
#endif /* DBUS_BUILD_TESTS */
@@
-128,15
+128,7
@@
dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci
run_test ("marshalling", specific_test, _dbus_marshal_test);
run_test ("marshalling", specific_test, _dbus_marshal_test);
-#if 0
- printf ("%s: running recursive marshalling tests\n", "dbus-test");
- if (!_dbus_marshal_recursive_test ())
- die ("recursive marshal");
-
- check_memleaks ();
-#else
- _dbus_warn ("recursive marshal tests disabled\n");
-#endif
+ run_test ("marshal-recursive", specific_test, _dbus_marshal_recursive_test);
run_test ("byteswap", specific_test, _dbus_marshal_byteswap_test);
run_test ("byteswap", specific_test, _dbus_marshal_byteswap_test);
@@
-150,8
+142,6
@@
dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci
run_test ("marshal-validate", specific_test, _dbus_marshal_validate_test);
run_test ("marshal-validate", specific_test, _dbus_marshal_validate_test);
- run_test ("marshal-header", specific_test, _dbus_marshal_header_test);
-
run_data_test ("message", specific_test, _dbus_message_test, test_data_dir);
run_test ("hash", specific_test, _dbus_hash_test);
run_data_test ("message", specific_test, _dbus_message_test, test_data_dir);
run_test ("hash", specific_test, _dbus_hash_test);
@@
-164,6
+154,8
@@
dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci
#ifdef DBUS_UNIX
run_data_test ("userdb", specific_test, _dbus_userdb_test, test_data_dir);
#ifdef DBUS_UNIX
run_data_test ("userdb", specific_test, _dbus_userdb_test, test_data_dir);
+
+ run_test ("transport-unix", specific_test, _dbus_transport_unix_test);
#endif
run_test ("keyring", specific_test, _dbus_keyring_test);
#endif
run_test ("keyring", specific_test, _dbus_keyring_test);
@@
-172,8
+164,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 ("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");
printf ("%s: completed successfully\n", "dbus-test");
#else
printf ("Not compiled with unit tests, not running any\n");