summaryrefslogtreecommitdiff
path: root/tests/testgdate.c
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for g_date_get_iso8601_week_of_year().Matthias Clasen2005-03-281-0/+14
| | | | | | | | | | | 2005-03-28 Matthias Clasen <mclasen@redhat.com> * tests/date-test.c: * tests/testgdate.c: Add tests for g_date_get_iso8601_week_of_year(). * glib/gdate.c (g_date_get_iso8601_week_of_year): Fix the calculation. (#169858, Jon-Kare Hellan)
* Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout theSebastian Wilhelmi2002-07-041-0/+3
| | | | | | | 2002-07-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the files, which didn't already have them. (#87312)
* Match also UNC paths on Win32.Tor Lillqvist2001-02-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-21 Tor Lillqvist <tml@iki.fi> * gutils.c (g_path_is_absolute): Match also UNC paths on Win32. * gthread.h: Include gtypes.h to be sure to get GLIB_VAR definition, remove definition from here. * gunicode.h: Remove duplicate GLIB_VAR definition from here, too. * gutils.c: (Win32) Use USERPROFILE as home dir if present. On Win2k, HOMEDRIVE and HOMEPATH aren't reliable. * Makefile.am (INCLUDES): Add -DGLIB_COMPILATION. * makefile.mingw.in: Remove install target, Windows isn't Unix. * testgdate.c * testgdateparser.c * testglib.c: Undefine GLIB_COMPILATION. * glib.def: Updates. * .cvsignore * */.cvsignore: Ignore also .obj, .dll, .lib and .exe files.
* New gcompat.h header file as recommended by Havoc.Ali Abdin2000-12-241-47/+47
| | | | | | | | | | | | | 2000-12-24 Ali Abdin <aliabdin@aucegypt.edu> * Makefile.am, gcompat.h, glib.h: New gcompat.h header file as recommended by Havoc. * gdate.c, gdate.h, testgdate.c, docs/reference/glib/glib-sections.txt, docs/reference/glib/tmpl/date.sgml, tests/date-test.c: Rename some of the gdate functions to use the '_get' in their name. Patch reviewed by Havoc.
* fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art HaasTim Janik2000-05-191-5/+2
| | | | | | | | | | | | | | | | | Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org> * gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>. * gslist.c (g_slist_reverse): shut up compiler. * gscanner.c (g_scanner_get_token_ll): removed inline assignment. * garray.c: remove index>=0 checks for unsigned indices. * gmain.c (g_idle_prepare): timeout assignment fix. * gtree.c (g_tree_node_rotate_right): shut up compiler.
* Two new files. This is kind of ugly code, but I want to go ahead and makeHavoc Pennington1998-12-021-0/+489
1998-12-02 Havoc Pennington <hp@pobox.com> * testgdate.c, testgdateparser.c: Two new files. This is kind of ugly code, but I want to go ahead and make the tests available. It isn't contaminating any other code. :-) Since one of these is interactive and the other takes a while to run, I've kept them separate from testglib for now. * Makefile.am: Build gdate test programs.