Maciej Piechotka
a44e801983
Make GDataOutputStream implement GSeekable
...
https://bugzilla.gnome.org/show_bug.cgi?id=673034
2012-04-23 10:57:12 +02:00
Christian Persch
e8bdd2cb7a
Plug a huge mem leak in data-output-stream test
...
==12763== 16,777,215 bytes in 1 blocks are possibly lost in loss record 357 of 357
==12763== at 0x4004F1B: calloc (vg_replace_malloc.c:418)
==12763== by 0x405711D: g_malloc0 (gmem.c:157)
==12763== by 0x8048ED6: test_basic (data-output-stream.c:40)
Bug #628331 .
2010-09-03 15:55:10 -04:00
Christian Persch
05d6fcf88c
Plug a mem leak in data-output-stream test
...
==2426== 45,034 bytes in 4,094 blocks are definitely lost in loss record 358 of 361
==2426== at 0x4005BDC: malloc (vg_replace_malloc.c:195)
==2426== by 0x4057094: g_malloc (gmem.c:134)
==2426== by 0x40573DB: g_malloc_n (gmem.c:281)
==2426== by 0x4071ABD: g_strconcat (gstrfuncs.c:315)
==2426== by 0x804916A: test_read_lines (data-output-stream.c:83)
Bug #628331 .
2010-09-03 15:53:56 -04:00
Matthias Clasen
758c3216cd
Improve coverage of stream tests
2010-07-30 19:51:20 -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
Benjamin Otte
d589da7e86
Bug 587434 – regression tests fail
...
make this test not only compile, but also run successfully with mad
CFLAGS.
2009-06-30 20:42:14 +02:00
Benjamin Otte
afd63c3281
fix warnings from gcc compilation with my mad CFLAGS
2009-06-29 18:25:02 +02:00
Dan Winship
29ddd48ff2
Use g_assert_error() and g_assert_no_error()
...
* tests/data-input-stream.c:
* tests/data-output-stream.c:
* tests/live-g-file.c:
* tests/memory-input-stream.c:
* tests/memory-output-stream.c: Use g_assert_error() and
g_assert_no_error()
svn path=/trunk/; revision=7556
2008-09-27 01:43:43 +00:00
Michael Natterer
03a5797a62
don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now.
...
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
2008-05-28 16:17:45 +00:00
Matthias Clasen
689a9e4b1a
Revert the patch for bug 527214 and related changes. GTimer
...
is supposed to work without threads.
svn path=/trunk/; revision=6943
2008-05-27 16:00:51 +00:00
Matthias Clasen
cdc2910103
Make tests work
...
svn path=/trunk/; revision=6935
2008-05-26 05:57:09 +00:00
Matthias Clasen
8ad07dcf1c
Fix a mismerge
...
svn path=/trunk/; revision=6489
2008-02-10 04:54:25 +00:00
Matthias Clasen
da0e7e81c1
/bin/ksh can't handle a for-loop with no arguments, so add a "." for when
...
2008-02-09 Matthias Clasen <mclasen@redhat.com>
* Makefile.decl: /bin/ksh can't handle a for-loop with no
arguments, so add a "." for when $(SUBDIRS) is empty.
* glib/tests/option-context.c:
* glib/tests/testing.c:
* gthread/gthread-posix.c:
* tets/testingbase64.c:
* glib/gtester.c:
* glib/gsequence.c: Portability fixes. (#515154 )
svn path=/trunk/; revision=6487
2008-02-10 04:41:25 +00:00
Alexander Larsson
fc93e63edd
C89 fixes from Jens Granseuer ( #512849 )
...
2008-01-30 Alexander Larsson <alexl@redhat.com>
* tests/data-input-stream.c:
* tests/data-output-stream.c:
C89 fixes from Jens Granseuer (#512849 )
svn path=/trunk/; revision=6423
2008-01-30 09:28:10 +00:00
Alexander Larsson
b784923e9c
Allow UTF-8 in file:// parse names.
...
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
2008-01-22 09:13:28 +00:00