Dan Winship
bd883f8dc7
gio/tests/g-icon.c: fix some path checks on win32
...
Some of the tests needed to be modified to use G_DIR_SEPARATOR_S
rather than hardcoded "/"s.
https://bugzilla.gnome.org/show_bug.cgi?id=669331
2012-08-06 11:31:52 -04:00
Matthias Clasen
4ad5210b35
Improve GIcon test coverage
2012-06-04 06:04:29 -04:00
Matthias Clasen
a53a1b65b5
Improve GIcon test coverage
2012-06-04 06:04:27 -04:00
Matthias Clasen
26145b9708
icon: Improve test coverage
2012-04-08 10:24:51 -04:00
Dan Winship
69129e8065
Make gio/tests/g-icon pass again
...
It got broken in two different ways by the g_str_hash() change
(354d655b
)
2010-11-27 16:56:44 -05:00
Christian Persch
01a19dee68
Plug a mem leak in g-icon test
...
==2428== 256 bytes in 1 blocks are definitely lost in loss record 591 of 604
==2428== at 0x4005CD2: realloc (vg_replace_malloc.c:476)
==2428== by 0x40571A5: g_realloc (gmem.c:181)
==2428== by 0x4075287: g_string_maybe_expand (gstring.c:395)
==2428== by 0x40760D8: g_string_insert_c (gstring.c:1049)
==2428== by 0x4074D41: g_string_append_c_inline (gstring.h:153)
==2428== by 0x4075B3C: g_string_append_uri_escaped (gstring.c:822)
==2428== by 0x41A46AC: g_icon_to_string_tokenized (gicon.c:164)
==2428== by 0x41A498F: g_icon_to_string (gicon.c:252)
==2428== by 0x8049E1A: test_g_icon_serialize (g-icon.c:222)
Bug #628331 .
2010-09-03 15:56:23 -04:00
Dan Winship
8f5ec0dad3
Fix misc compiler warnings in (mostly) test programs
2010-08-19 18:24:53 -04:00
Matthias Clasen
17d4898d75
Improve coverage of icon tests
2010-07-30 19:51:20 -04:00
Matthias Clasen
63bdeb0dab
Fix an icon test
2010-07-30 19:51:17 -04:00
Matthias Clasen
e103b93694
Drop an unneeded if
2010-07-30 19:51:17 -04:00
Matthias Clasen
5694ab7642
Revert "Move gio tests from gio/tests/ to tests/gio/"
...
This reverts commit 2262d76b33
.
Move GIO tests back to where they belong.
2009-07-05 22:49:24 -04:00
Benjamin Otte
2262d76b33
Move gio tests from gio/tests/ to tests/gio/
...
This avoids getting tests built every time when working on libgio and
running make in the gio/ directory.
2009-07-01 19:03:19 +02:00
Matthias Clasen
8b39fa1e6a
Comment out two failing tests
...
svn path=/trunk/; revision=7714
2008-12-01 06:47:04 +00:00
Alexander Larsson
4f0b18d203
Bug 555740 - gicon serialization Based on patch from David Zeuthen
...
2008-10-21 Alexander Larsson <alexl@redhat.com>
Bug 555740 - gicon serialization
Based on patch from David Zeuthen
* gicon.[ch]:
* gio.symbols:
Add g_icon_to_string() and g_icon_new_for_string().
* gemblem.c:
* gemblemedicon.c:
* gfileicon.c:
* gthemedicon.c:
Implement icon serialization for built-in icon types
* tests/Makefile.am:
* tests/g-icon.c:
Added GIcon serialization test
svn path=/trunk/; revision=7618
2008-10-21 11:51:48 +00:00