1. 11 May, 2015 1 commit
    • Simon McVittie's avatar
      tests: replace most g_print() with g_printerr() · 45dae4b5
      Simon McVittie authored
      I searched all files that mention g_test_run, and replaced most
      g_print() calls. This avoids interfering with TAP. Exceptions:
      
      * gio/tests/network-monitor: a manual mode that is run by
        "./network-monitor --watch" is unaffected
      * glib/gtester.c: not a test
      * glib/gtestutils.c: not a test
      * glib/tests/logging.c: specifically exercising g_print()
      * glib/tests/markup-parse.c: a manual mode that is run by
        "./markup-parse --cdata-as-text" is unaffected
      * glib/tests/testing.c: specifically exercising capture of stdout
        in subprocesses
      * glib/tests/utils.c: captures a subprocess's stdout
      * glib/tests/testglib.c: exercises an assertion failure in g_print()
      
      Bug: https://bugzilla.gnome.org/show_bug.cgi?id=725981Reviewed-by: Colin Walters's avatarColin Walters <walters@verbum.org>
      Signed-off-by: Simon McVittie's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
      45dae4b5
  2. 16 Oct, 2012 1 commit
  3. 06 Aug, 2012 1 commit
  4. 06 Jul, 2009 1 commit
  5. 01 Jul, 2009 1 commit
  6. 29 Jun, 2009 1 commit
  7. 11 Jun, 2008 1 commit
    • Andrew Walton's avatar
      Fix broken test case. · 52a03b97
      Andrew Walton authored
      2008-06-11  A. Walton  <awalton@gnome.org>
      
      	* tests/g-file.c (test_g_file_new_null):
      	Fix broken test case.
      
      
      svn path=/trunk/; revision=7016
      52a03b97
  8. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now. · 03a5797a
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
      	the global CPPFLAGS now.
      
      	* tests/data-input-stream.c
      	* tests/data-output-stream.c
      	* tests/g-file-info.c
      	* tests/g-file.c
      	* tests/live-g-file.c
      	* tests/memory-input-stream.c: don't include <glib/gtestutils.h>
      
      
      svn path=/trunk/; revision=6954
      03a5797a
  9. 27 May, 2008 1 commit
  10. 26 May, 2008 1 commit
  11. 06 Mar, 2008 1 commit
    • Alexander Larsson's avatar
      Fix sparse warnings (#519489) · 5241d96b
      Alexander Larsson authored
      2008-03-06  Alexander Larsson  <alexl@redhat.com>
      
              * gdesktopappinfo.c:
              * gfilemonitor.c:
              * gthemedicon.c:
              * gunionvolumemonitor.c:
              * gunixmounts.c:
              * tests/g-file.c:
              * tests/live-g-file.c:
              * xdgmime/xdgmimecache.c:
      	Fix sparse warnings (#519489)
      
      
      svn path=/trunk/; revision=6632
      5241d96b
  12. 21 Feb, 2008 1 commit
    • Alexander Larsson's avatar
      Add new g_file_has_prefix that does the same as g_file_contains_file. · 6dc9b7ee
      Alexander Larsson authored
      2008-02-21  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.[ch]:
              * gio.symbols:
      	Add new g_file_has_prefix that does the same as g_file_contains_file.
      	Deprecate g_file_contains_file and add a macro that converts
      	it to g_file_has_prefix.
      	The reason for this change is that the contains_file() name seems to
      	imply that this does more work than what it does, but its really only
      	a name match (from #517086)
      	
              * gdummyfile.c:
              * glocalfile.c:
              * tests/g-file.c:
      	Update to match the above change.
      
      
      svn path=/trunk/; revision=6546
      6dc9b7ee
  13. 28 Jan, 2008 1 commit
  14. 22 Jan, 2008 3 commits
    • Alexander Larsson's avatar
      Canonicalize paths that start with more than two slashes. · 2544ae3c
      Alexander Larsson authored
      2008-01-22  Alexander Larsson  <alexl@redhat.com>
      
              * glocalfile.c:
              (canonicalize_filename):
      	Canonicalize paths that start with more than
      	two slashes.
      	
              * tests/g-file.c:
              (compare_two_files):
              (test_g_file_new_for_path):
      	Test the above
      
      
      
      svn path=/trunk/; revision=6353
      2544ae3c
    • Alexander Larsson's avatar
      Fix c++ comment · db5224fa
      Alexander Larsson authored
      svn path=/trunk/; revision=6352
      db5224fa
    • Alexander Larsson's avatar
      Allow UTF-8 in file:// parse names. · b784923e
      Alexander Larsson authored
      2008-01-22  Alexander Larsson  <alexl@redhat.com>
      
              * glocalfile.c:
      	Allow UTF-8 in file:// parse names.
      	
              * tests/Makefile.am:
              * tests/data-input-stream.c:
              * tests/data-output-stream.c:
              * tests/g-file-info.c:
              * tests/g-file.c:
      	Added a bunch of tests from Tomas Bzatek
      
      
      svn path=/trunk/; revision=6351
      b784923e