1. 20 Nov, 2007 14 commits
    • Tim Janik's avatar
      Implemented test log serialization. · 25053dc5
      Tim Janik authored
      * glib/gtestframework.h: added g_test_log*() API.
      
      * glib/gtestframework.c: implement test log serialization.
      
      svn path=/trunk/; revision=5886
      25053dc5
    • Tim Janik's avatar
      Implemented test logging basics. · e3c66f03
      Tim Janik authored
      * glib/gtestframework.c: added --debug-log and --verbose, implemented
      test information logging.
      
      * testing.c: test g_test_maximized_result() and g_test_minimized_result().
      
      svn path=/trunk/; revision=5885
      e3c66f03
    • Tim Janik's avatar
      Implemented g_test_timer*(). · 6145aaca
      Tim Janik authored
      * gtestframework.c: implemented g_test_timer*().
      
      * tests/testing.c: added a g_test_timer*() test.
      
      svn path=/trunk/; revision=5884
      6145aaca
    • Tim Janik's avatar
      Implemented support for testpaths. · ba166c00
      Tim Janik authored
      * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
      
      * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
      
      svn path=/trunk/; revision=5883
      ba166c00
    • Tim Janik's avatar
      testing.c: added tests for the g_test_rand*() API. · b2a4c8ba
      Tim Janik authored
      svn path=/trunk/; revision=5882
      b2a4c8ba
    • Tim Janik's avatar
      Implemented g_test_rand*(). · e47c4253
      Tim Janik authored
      * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
      added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
      doubles and ranges.
      
      * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
      
      svn path=/trunk/; revision=5881
      e47c4253
    • Tim Janik's avatar
      testing.c: added tests for g_assert_cmphex() and forked test traps. · fcf30698
      Tim Janik authored
      svn path=/trunk/; revision=5880
      fcf30698
    • Tim Janik's avatar
      Implemented g_test_trap_fork() API. · f1d751b7
      Tim Janik authored
      * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
      
      * gtestframework.c: implemented g_test_trap_fork() API.
      
      svn path=/trunk/; revision=5879
      f1d751b7
    • Tim Janik's avatar
      that match a given test path. (g_test_run_suite): run suite only if it · ca1c4240
      Tim Janik authored
      * glib/gtestframework.c:
      
      that match a given test path.
      (g_test_run_suite): run suite only if it matches the existing test paths.
      
      * glib/tests/testing.c: minor rename.
      
      svn path=/trunk/; revision=5878
      ca1c4240
    • Tim Janik's avatar
      GTest framework started. · cc3bf40d
      Tim Janik authored
      * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
      includes elaborate assertions, performance report functions, test traps,
      test timer, test random numbers, teardoiwn garbage collection functions
      and general test case / test suite management APIs.
      
      * glib/gtestframework.c: first test framework implementation. already covers
      some test suite management APIs and assertion message implementations.
      
      * glib/tests/testing.c: test program for the testing framework.
      
      * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
      make test:.
      
      svn path=/trunk/; revision=5877
      cc3bf40d
    • Tim Janik's avatar
      glib/Makefile.am: build tests/ subdir after building libglib. · edfef236
      Tim Janik authored
      svn path=/trunk/; revision=5876
      edfef236
    • Tim Janik's avatar
      Fixed up internal 'g_test*' names. · 78373b68
      Tim Janik authored
      * refcount/signals.c:
      * refcount/objects.c:
      * refcount/objects2.c:
      * refcount/closures.c:
      * refcount/properties.c:
      * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
      to not clash with newly introduced g_test* API in glib.
      
      svn path=/trunk/; revision=5875
      78373b68
    • Tim Janik's avatar
      Added gtestframework.[hc] and glib/tests/. · f0187b0a
      Tim Janik authored
      svn path=/trunk/; revision=5874
      f0187b0a
    • Sven Neumann's avatar
      use g_strconcat() instead of g_strjoin() to concatenate two strings. · d07f85e1
      Sven Neumann authored
      2007-11-20  Sven Neumann  <sven@gimp.org>
      
      	* glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
      	g_strjoin() to concatenate two strings.
      
      svn path=/trunk/; revision=5873
      d07f85e1
  2. 19 Nov, 2007 7 commits
  3. 18 Nov, 2007 3 commits
  4. 16 Nov, 2007 2 commits
  5. 13 Nov, 2007 2 commits
    • Matej Urbančič's avatar
      Updated Slovenian translation · 2eca1b52
      Matej Urbančič authored
      svn path=/trunk/; revision=5858
      2eca1b52
    • Cody Russell's avatar
      Documentation fixes. Recommend macro type names such as · 515f42c9
      Cody Russell authored
      2007-11-13  Cody Russell  <bratsche@gnome.org>
      
              * docs/reference/gobject/gobject-docs.sgml:
              * docs/reference/gobject/tut_gsignal.xml:
              * docs/reference/gobject/tut_gtype.xml:
              * docs/reference/gobject/tut_intro.xml:
              * docs/reference/gobject/tut_tools.xml:
              * docs/reference/gobject/tut_howto.xml:
              * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
              Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
              NAUTILUS_WINDOW_TYPE).  Fixed text which erroneously stated that 
              superclass initializers don't run when an object is 
              instantiated.  Fixed numerous spelling mistakes.  Minor grammar 
              edits. (#490637, Adam Dingle)
      
      
      svn path=/trunk/; revision=5857
      515f42c9
  6. 10 Nov, 2007 7 commits
  7. 09 Nov, 2007 5 commits
    • Matthias Clasen's avatar
      Add AM_PROG_CC_C_O. · 284c7e55
      Matthias Clasen authored
      2007-11-09  Matthias Clasen <mclasen@redhat.com>
      
              * configure.in: Add AM_PROG_CC_C_O.
      
              * Makefile.am: Remove the install-exec-local hook and use
              configexecincludedir_DATA instead, in an attempt to avoid
              automake 1.9 <> 1.10 incompatibilities.
      
              * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
              automake 1.10 complains.
      
      
      svn path=/trunk/; revision=5848
      284c7e55
    • Matthias Clasen's avatar
      Make executable · 6a647bae
      Matthias Clasen authored
      svn path=/trunk/; revision=5847
      6a647bae
    • Matthias Clasen's avatar
      Improve the docs. (#491968, Areg Beketovski) · d4513143
      Matthias Clasen authored
      2007-11-09  Matthias Clasen <mclasen@redhat.com>
      
              * glib/gspawn.c (g_spawn_sync): Improve the docs.  (#491968,
              Areg Beketovski)
      
      
      svn path=/trunk/; revision=5846
      d4513143
    • Matthias Clasen's avatar
      Some cleanupos · dd9cdb33
      Matthias Clasen authored
      svn path=/trunk/; revision=5844
      dd9cdb33
    • Matthias Clasen's avatar
      Fixes and cleanups · c8fe40d4
      Matthias Clasen authored
      svn path=/trunk/; revision=5843
      c8fe40d4