History log of /external/bluetooth/glib/glib/gtestutils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5c53925ed08402549be0c306cd0544af209f8934 27-Sep-2008 Dan Winship <danw@src.gnome.org> Bug 553447 $(Q#|(B g_assert_no_error()

* glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
assert that a GError is not set, or else is set to a particular
error.

* glib/gtestutils.c (g_assertion_message_error): utility for
those macros

* glib/tests/keyfile.c:
* tests/asyncqueue-test.c:
* tests/bookmarkfile-test.c:
* tests/convert-test.c:
* tests/file-test.c: Use g_assert_error/g_assert_no_error

svn path=/trunk/; revision=7555
/external/bluetooth/glib/glib/gtestutils.h
e0aa9d8a6135d404fe1ff60ba6858599e85edf98 05-May-2008 Michael Natterer <mitch@imendio.com> #define __GLIB_H_INSIDE__ around including everything.

2008-05-05 Michael Natterer <mitch@imendio.com>

* glib/glib.h: #define __GLIB_H_INSIDE__ around including
everything.

* glib/*.h: check for that define instead of __G_LIB_H__ if
G_DISABLE_SINGLE_INCLUDES is defined.

* glib/gdatasetprivate.h: #include <glib.h> instead of
<glib/gdataset.h>


svn path=/trunk/; revision=6875
/external/bluetooth/glib/glib/gtestutils.h
f4bb21aa1d405fd11043a03e0962358eb0f42a5e 14-Mar-2008 Michael Natterer <mitch@imendio.com> make it possible to disable single-file includes by defining

2008-03-14 Michael Natterer <mitch@imendio.com>

* glib/*.h: make it possible to disable single-file includes by
defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
Approved by Tim Janik.

* glib/glib.h: include <glib/gslice.h>.

* glib/gi18n.h
* glib/gi18n-lib.h
* glib/gprintf.h: include <glib.h> so the above works when these
files are included without including <glib.h> first.


svn path=/trunk/; revision=6713
/external/bluetooth/glib/glib/gtestutils.h
f5542c90e3ee184dc9936ec4d816da14d2a2660d 11-Feb-2008 Matthias Clasen <mclasen@redhat.com> Make the g_test_add macro work with gcc 4.3

2008-02-10 Matthias Clasen <mclasen@redhat.com>

* glib/gtestutils.h: Make the g_test_add macro work with
gcc 4.3

* tests/gobject/paramspec-test.c: Adapt to recent changes in
GParamGType initialization.


svn path=/trunk/; revision=6500
/external/bluetooth/glib/glib/gtestutils.h
de08b57f026bccb5e193f8bb4a6341ce48c60b40 31-Dec-2007 Matthias Clasen <mclasen@redhat.com> Mark assertion functions as G_GNUC_NORETURN. (#506461, Sebastian Dröge)

2007-12-24 Matthias Clasen <mclasen@redhat.com>

* glib/gtestutils.h:
* glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN.
(#506461, Sebastian Dröge)



svn path=/trunk/; revision=6221
/external/bluetooth/glib/glib/gtestutils.h
c53134b57c7786bbadd752ce246d2631031e7c23 21-Dec-2007 Matthias Clasen <mclasne@redhat.com> Bring up to GLib coding standards: remove C99 comments, trailing commas in

2007-12-21 Matthias Clasen <mclasne@redhat.com>

* glib/gtestutils.h: Bring up to GLib coding standards: remove
C99 comments, trailing commas in enumerations and extra ; after
G_BEGIN/END_DECLS. Among other things, this makes xulrunner build
against GLib 2.15.

* glib/gtester.c: More of the same


svn path=/trunk/; revision=6185
/external/bluetooth/glib/glib/gtestutils.h
ac1723ea97a716e3dee0d8f4441e0c25ea19039c 18-Dec-2007 13:45:23 Tim Janik <timj@imendio.com> added g_test_trap_assert_stdout_unmatched() and

2007-12-18 13:45:23 Tim Janik <timj@imendio.com>

* glib/gtestutils.[hc]: added g_test_trap_assert_stdout_unmatched() and
g_test_trap_assert_stderr_unmatched(), based on a suggestion by Mathias
Hasselmann. reworked g_test_trap_assertions() to use flags to encode
assertion semantics, fixes #504227.



svn path=/trunk/; revision=6151
/external/bluetooth/glib/glib/gtestutils.h
cc3de68e2151cf3341115212c56c17714ca03bb2 10-Dec-2007 15:08:59 Tim Janik <timj@imendio.com> http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html

2007-12-10 15:08:59 Tim Janik <timj@imendio.com>

* let g_warn_if_fail replace g_assert as discussed here:
http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html

* fix bug #502498: Test framework assertion failures should follow
gcc error format.

* gmessages.h, gmessages.c: deprecated g_assert_warning() which is
unused now. removed g_assert*() definitions whcih are provided by
gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()
which are recommended as g_assert/g_assert_not_reached replacements
for non-test programs.
added g_warn_message() to implement g_warn_*() macros.
use emacs-next-error friendly formatting for file:line: for warnings.

* gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
implement g_assert_not_reached() with g_assertion_message() and
g_assert() in terms of g_assertion_message_expr() so we'll be able to
provide assertion messages in test logs.

* gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
or g_return_if_fail() where suitable.

* gio/: changed g_assert to g_warn_if_fail.



svn path=/trunk/; revision=6086
/external/bluetooth/glib/glib/gtestutils.h
d4bfa601f7af11c2ca7c3866e67d49e379d82aad 05-Dec-2007 17:21:05 Tim Janik <timj@imendio.com> print out random seed for verbose tests, also adapted test result

2007-12-05 17:21:05 Tim Janik <timj@imendio.com>

* glib/glib/gtestutils.c: print out random seed for verbose tests,
also adapted test result reporting slightly in verbose mode to allow
custom debugging output. support "thorough" as test mode alis for "slow".

* glib/glib/gtestutils.h: added g_test_thorough().

* glib/glib/gtester.c: print out the last random seed when tests fail.
added result attribute to test case status logging to easily spot
failing tests in log files. disabled debugging output when skipping tests.



svn path=/trunk/; revision=6052
/external/bluetooth/glib/glib/gtestutils.h
510d4ec6340492660bc2dd20f566fb4c8f0a78af 05-Dec-2007 11:43:22 Tim Janik <timj@imendio.com> added g_test_add_data_func() to pass data into tests. allow data arguments

2007-12-05 11:43:22 Tim Janik <timj@imendio.com>

* glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
into tests. allow data arguments for fixture tests.

* glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
upon criticals/warnings/errors.

* glib/tests/testing.c: test test_data arguments.

* glib/gtester.c: some prototype fixups.



svn path=/trunk/; revision=6049
/external/bluetooth/glib/glib/gtestutils.h
1e55738f31385ddb3bf172ba3590a79cf42782f4 21-Nov-2007 21:06:47 Tim Janik <timj@imendio.com> initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional

2007-11-21 21:06:47 Tim Janik <timj@imendio.com>

* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html

* Makefile.am:
* build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
* build/win32/Makefile.am, build/Makefile.am:
* docs/Makefile.am, docs/reference/Makefile.am:
* docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
* gmodule/Makefile.am, tests/Makefile.am:
* tests/refcount/Makefile.am, tests/gobject/Makefile.am:
* glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
* glib/tests/Makefile.am, glib/pcre/Makefile.am:
* glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
* gthread/Makefile.am, glib/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.

* glib/tests/Makefile.am: removed example testing rules.

* glib/tests/testing.c: conditionalized performance and slow tests.

* glib/gtestutils.h:
* glib/gtestutils.c: work around g_test_config_vars not changing its
exported value after value assignments, aparently due to symbol aliases.

* glib/gtester.c: fixed off-by-one error which produced junk in logs.

* configure.in: check for python >= 2.4 and provide $PYTHON for scripts.


svn path=/trunk/; revision=5914
/external/bluetooth/glib/glib/gtestutils.h
a2bcee8f625a0ba8c900634503c669d3e930141f 20-Nov-2007 Tim Janik <timj@src.gnome.org> Fixed copyright for newly submitted files.

svn path=/trunk/; revision=5912
/external/bluetooth/glib/glib/gtestutils.h
6332518cc25ff682bd2e9eacd02f9a5febf6c75e 20-Nov-2007 Tim Janik <timj@src.gnome.org> Renamed gtestframework to gtestutils.

* glib/glib.h:
* glib/Makefile.am: added gtestutils.h to public includes.

* glib/gtestutils.c: include gtestutils.h.

* glib/gtestutils.h:
* glib/glib.symbols:
* glib/tests/testing.c: renamed gtestframework to gtestutils.

* glib/gtestframework.h: renamed to gtestutils.h.

* glib/gtestframework.c: renamed to gtestutils.c.

svn path=/trunk/; revision=5910
/external/bluetooth/glib/glib/gtestutils.h