glib/gio/tests
Dan Winship 800d6ff111 gio: add GBytes-based input/output stream methods
Using a caller-supplied buffer for g_input_stream_read() doesn't
translate well to the semantics of many other languages, and using a
non-refcounted buffer for read_async() and write_async() makes it
impossible to manage the memory correctly currently in
garbage-collected languages.

Fix both of these issues by adding a new set of methods that work with
GBytes objects rather than plain buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=671139
2012-05-24 17:48:13 -04:00
..
gdbus-object-manager-example GDBus: Regenerate code when the codegen or options passed to it changes 2011-10-05 12:42:06 -04:00
schema-tests Add a test for CDATA in gschema.xml files 2011-11-07 00:14:28 -05:00
.gitignore update .gitignore 2012-05-16 12:00:44 -04:00
actions.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
appinfo-test2.desktop
appinfo-test-gnome.desktop
appinfo-test-notgnome.desktop
appinfo-test.c
appinfo-test.desktop GAppInfo: add a mechanism to query supported content types 2012-05-16 12:42:12 +02:00
appinfo.c GAppInfo: add a mechanism to query supported content types 2012-05-16 12:42:12 +02:00
async-close-output-stream.c Don't use deprecated GThread API in gio tests 2011-10-10 09:49:50 -04:00
basic-application.c Make basic-application test more robust 2012-04-04 15:02:48 -04:00
buffered-input-stream.c fix warnings 2012-04-30 09:28:42 -04:00
buffered-output-stream.c Make GBufferedOutputStream implement GSeekable 2012-04-23 10:57:07 +02:00
cancellable.c gio: GCancellable can be used concurrently 2011-08-19 11:13:37 +02:00
cert1.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
cert2.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
cert3.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
cert-key.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
cert-list.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
contenttype.c contenttype test: don't pass -1 as length 2012-05-01 15:16:05 -07:00
contexts.c e G_SOURCE_CONTINUE/REMOVE internally 2012-01-25 16:15:18 -05:00
converter-stream.c gio: implement GPollableInput/OutputStream in more stream types 2012-04-17 12:33:12 -04:00
data-input-stream.c Plug some leaks in the GIO tests 2011-12-14 12:41:15 +00:00
data-output-stream.c Make GDataOutputStream implement GSeekable 2012-04-23 10:57:12 +02:00
de.po
desktop-app-info.c gio/tests: Use g_list_free_full() convenience function 2012-01-02 23:18:22 +01:00
echo-server.c Don't use deprecated GThread API in gio tests 2011-10-10 09:49:50 -04:00
enums.xml.template
file.c glocalfile: fix error code when opening a directory on win32 2012-02-09 06:48:12 -05:00
fileattributematcher.c gio: Add tests for g_file_attribute_matcher_subtract() 2011-11-16 17:21:21 +01:00
filter-cat.c Add GZIP header processing to GZlibCompressor/GZlibDecompressor 2010-08-17 17:37:32 +02:00
filter-streams.c
g-file-info.c Plug a mem leak in g-file-info test 2010-09-03 15:37:08 -04:00
g-file.c
g-icon.c icon: Improve test coverage 2012-04-08 10:24:51 -04:00
gapplication-example-actions.c Don't use deprecated GApplication api in examples 2011-12-08 18:05:15 -05:00
gapplication-example-cmdline2.c more 'static' adding in testcases 2011-10-16 21:41:15 -04:00
gapplication-example-cmdline3.c e G_SOURCE_CONTINUE/REMOVE internally 2012-01-25 16:15:18 -05:00
gapplication-example-cmdline.c Tweak GApplication docs 2010-11-02 23:02:05 -04:00
gapplication-example-open.c Tweak GApplication docs 2010-11-02 23:02:05 -04:00
gapplication.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-addresses.c Improve dbus address test coverage 2010-08-08 21:32:03 -04:00
gdbus-auth.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-bz627724.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-close-pending.c Regression test for closing a stream, slowly, while a message is queued 2011-09-16 12:00:22 -04:00
gdbus-connection-flush-helper.c
gdbus-connection-flush.c Add test case for #662395 2011-11-21 18:16:51 +00:00
gdbus-connection-loss.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-connection-slow.c Fix test building on win32 2012-04-19 18:19:10 +02:00
gdbus-connection.c Remove ununsed include 2012-04-19 10:24:08 +02:00
gdbus-daemon.c Add gdbus-daemon test app 2012-04-20 15:02:48 +02:00
gdbus-error.c Add some more test about gdbus_error apis 2010-08-07 18:55:21 -04:00
gdbus-example-export.c more 'static' adding in testcases 2011-10-16 21:41:15 -04:00
gdbus-example-objectmanager-client.c gio/tests: Use g_list_free_full() convenience function 2012-01-02 23:18:22 +01:00
gdbus-example-objectmanager-server.c GDBusObjectManagerServer: Allow setting :connection property 2011-05-04 03:43:52 -04:00
gdbus-example-own-name.c
gdbus-example-peer.c GDBusServer: Make ::new-connection return whether the connection was claimed 2010-09-09 14:02:31 -04:00
gdbus-example-proxy-subclass.c
gdbus-example-server.c
gdbus-example-subtree.c
gdbus-example-unix-fd-client.c
gdbus-example-watch-name.c
gdbus-example-watch-proxy.c
gdbus-exit-on-close.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-export.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-introspection.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-message.c GDBusMessage: Don't reset serial number when copying 2010-09-09 15:15:13 -04:00
gdbus-names.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-non-socket.c GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe 2011-11-21 18:15:26 +00:00
gdbus-peer.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-proxy-threads.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-proxy-well-known-name.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-proxy.c tests: temporarily disable GDBus async proxy test 2012-05-01 15:16:05 -07:00
gdbus-serialization.c gdbus: test case for 673612 2012-04-10 16:39:49 -04:00
gdbus-sessionbus.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-sessionbus.h Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-test-codegen.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-tests.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-tests.h Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-testserver.py GDBusProxy: Add G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES flag 2012-02-08 12:49:22 -05:00
gdbus-threading.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gmenumodel.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gschema-compile.c Add a test for CDATA in gschema.xml files 2011-11-07 00:14:28 -05:00
gsettings.c settings: Improve test coverage 2012-04-08 10:24:51 -04:00
gtesttlsbackend.c Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
gtesttlsbackend.h Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
gtlsconsoleinteraction.c more 'static' adding in testcases 2011-10-16 21:41:15 -04:00
gtlsconsoleinteraction.h GTlsDatabase and related objects 2011-08-04 08:54:55 +02:00
httpd.c Don't use deprecated GThread API in gio tests 2011-10-10 09:49:50 -04:00
io-stream.c more 'static' adding in testcases 2011-10-16 21:41:15 -04:00
key8.pem GTlsCertificate: support unencrypted PKCS#8 private keys 2011-11-18 20:26:58 -05:00
key-cert.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
key.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
live-g-file.c Silence a bunch of -Wunused-but-set-variable warnings 2011-04-08 15:44:25 -04:00
live-g-file.txt
Makefile.am win32: More srcdir != builddir fixing 2012-04-24 16:39:21 +02:00
memory-input-stream.c gio: add GBytes-based input/output stream methods 2012-05-24 17:48:13 -04:00
memory-output-stream.c gio: add GBytes-based input/output stream methods 2012-05-24 17:48:13 -04:00
mimeapps.c Add another mimeapps test 2011-09-26 16:54:23 -04:00
network-address.c networkaddress: Improve test coverage 2012-04-08 10:24:51 -04:00
network-monitor.c Plug some leaks in the GIO tests 2011-12-14 12:41:15 +00:00
nothing.pem Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
org.gtk.schemasourcecheck.gschema.xml Add test case and fix some bugs 2011-11-17 14:03:39 +00:00
org.gtk.test.gschema
org.gtk.test.gschema.xml GSettings: add G_SETTINGS_BIND_INVERT_BOOLEAN flag 2010-08-03 02:09:10 -04:00
pollable.c e G_SOURCE_CONTINUE/REMOVE internally 2012-01-25 16:15:18 -05:00
proxy-test.c proxy-test: work even when the upstream DNS lies 2012-05-18 12:18:23 -04:00
proxy.c gio/tests/proxy: don't use deprecated functions 2011-11-07 13:50:00 -05:00
readwrite.c Plug a mem leak in readwrite test 2010-09-03 15:44:28 -04:00
resolver.c Add support for MX, TXT, NS and SOA records to GResolver 2012-04-16 15:51:39 +02:00
resourceplugin.c Add tests for GResource 2012-01-13 17:12:53 +01:00
resources.c resources: tests: Plug a mem leak 2012-02-05 19:57:10 +01:00
send-data.c Add GSocketClient::event, for tracking socket client status 2011-12-22 15:44:24 -05:00
simple-async-result.c e G_SOURCE_CONTINUE/REMOVE internally 2012-01-25 16:15:18 -05:00
sleepy-stream.c sleepy-stream test: use a real GError domain 2011-09-30 13:17:27 +01:00
socket-client.c g_thread_new: never fail 2011-10-13 01:00:57 -04:00
socket-common.c gio/tests/socket-common.c: add a missing #ifdef G_OS_UNIX 2012-02-03 12:58:53 -05:00
socket-server.c g_thread_new: never fail 2011-10-13 01:00:57 -04:00
socket.c gsocket: add g_socket_condition_timed_wait() 2012-02-20 18:29:51 -05:00
srvtarget.c
test1.txt Add tests for GResource 2012-01-13 17:12:53 +01:00
test2.gresource.xml Add tests for GResource 2012-01-13 17:12:53 +01:00
test2.txt Add tests for GResource 2012-01-13 17:12:53 +01:00
test3.gresource.xml Add tests for GResource 2012-01-13 17:12:53 +01:00
test3.txt Add tests for GResource 2012-01-13 17:12:53 +01:00
test4.gresource.xml Add tests for GResource 2012-01-13 17:12:53 +01:00
test-codegen.xml gdbus-codegen: Add support for new org.gtk.GDBus.C.UnixFD annotation 2011-07-21 16:06:18 -04:00
test-io-stream.c GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe 2011-11-21 18:15:26 +00:00
test-io-stream.h GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe 2011-11-21 18:15:26 +00:00
test-pipe-unix.c gio/tests: Fix for -Werror=format-security 2011-11-21 23:06:15 +01:00
test-pipe-unix.h GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe 2011-11-21 18:15:26 +00:00
test.gresource.xml resources: compiler: Allow stripping blanks from xml data 2012-01-25 14:47:37 +01:00
testenum.h
tls-certificate.c Plug some leaks in the GIO tests 2011-12-14 12:41:15 +00:00
tls-interaction.c tls-interaction test: use a weak pointer instead of a deliberate use-after-free 2011-12-14 15:59:29 +00:00
unix-fd.c
unix-streams.c GUnixInput/OutputStream: fix blocking methods to always block 2011-11-14 18:31:21 -05:00
vfs.c Add a tests of some GVfs functions 2011-10-16 16:09:33 -04:00
volumemonitor.c gio/tests: Use g_list_free_full() convenience function 2012-01-02 23:18:22 +01:00
win32-streams.c Fix up testcase broken due to g_thread_new API change 2011-10-17 23:00:29 +02:00