glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-Bookmark-file-parser.html" title="Bookmark file parser">
|
10
10
|
<link rel="next" href="glib-Windows-Compatibility-Functions.html" title="Windows Compatibility Functions">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Testing.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-Testing"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-Testing.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -129,14 +129,14 @@ typedef <a class="link" href="glib-Testing.html#GTestCase" title="GT
|
|
129
129
|
typedef <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite">GTestSuite</a>;
|
130
130
|
<span class="returnvalue">void</span> (<a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()">*GTestFixtureFunc</a>) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> fixture</code></em>,
|
131
131
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> user_data</code></em>);
|
132
|
-
<a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="returnvalue">GTestCase</span></a
|
132
|
+
<a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="returnvalue">GTestCase</span></a> * <a class="link" href="glib-Testing.html#g-test-create-case" title="g_test_create_case ()">g_test_create_case</a> (<em class="parameter"><code>const <span class="type">char</span> *test_name</code></em>,
|
133
133
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> data_size</code></em>,
|
134
134
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> test_data</code></em>,
|
135
135
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()"><span class="type">GTestFixtureFunc</span></a> data_setup</code></em>,
|
136
136
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()"><span class="type">GTestFixtureFunc</span></a> data_test</code></em>,
|
137
137
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()"><span class="type">GTestFixtureFunc</span></a> data_teardown</code></em>);
|
138
|
-
<a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a
|
139
|
-
<a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a
|
138
|
+
<a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a> * <a class="link" href="glib-Testing.html#g-test-create-suite" title="g_test_create_suite ()">g_test_create_suite</a> (<em class="parameter"><code>const <span class="type">char</span> *suite_name</code></em>);
|
139
|
+
<a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a> * <a class="link" href="glib-Testing.html#g-test-get-root" title="g_test_get_root ()">g_test_get_root</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
140
140
|
<span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-suite-add" title="g_test_suite_add ()">g_test_suite_add</a> (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *suite</code></em>,
|
141
141
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="type">GTestCase</span></a> *test_case</code></em>);
|
142
142
|
<span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-suite-add-suite" title="g_test_suite_add_suite ()">g_test_suite_add_suite</a> (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *suite</code></em>,
|
@@ -144,7 +144,7 @@ typedef <a class="link" href="glib-Testing.html#GTestSuite" title="G
|
|
144
144
|
<span class="returnvalue">int</span> <a class="link" href="glib-Testing.html#g-test-run-suite" title="g_test_run_suite ()">g_test_run_suite</a> (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *suite</code></em>);
|
145
145
|
</pre>
|
146
146
|
</div>
|
147
|
-
<div class="refsect1"
|
147
|
+
<div class="refsect1">
|
148
148
|
<a name="glib-Testing.description"></a><h2>Description</h2>
|
149
149
|
<p>
|
150
150
|
GLib provides a framework for writing and maintaining unit tests
|
@@ -213,9 +213,9 @@ GLib ships with two utilities called gtester and gtester-report to
|
|
213
213
|
facilitate running tests and producing nicely formatted test reports.
|
214
214
|
</p>
|
215
215
|
</div>
|
216
|
-
<div class="refsect1"
|
216
|
+
<div class="refsect1">
|
217
217
|
<a name="glib-Testing.details"></a><h2>Details</h2>
|
218
|
-
<div class="refsect2"
|
218
|
+
<div class="refsect2">
|
219
219
|
<a name="g-test-minimized-result"></a><h3>g_test_minimized_result ()</h3>
|
220
220
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_minimized_result (<em class="parameter"><code><span class="type">double</span> minimized_quantity</code></em>,
|
221
221
|
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
|
@@ -232,25 +232,22 @@ order for test result reports.
|
|
232
232
|
<tbody>
|
233
233
|
<tr>
|
234
234
|
<td><p><span class="term"><em class="parameter"><code>minimized_quantity</code></em> :</span></p></td>
|
235
|
-
<td>the reported value
|
236
|
-
</td>
|
235
|
+
<td>the reported value</td>
|
237
236
|
</tr>
|
238
237
|
<tr>
|
239
238
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
240
|
-
<td>the format string of the report message
|
241
|
-
</td>
|
239
|
+
<td>the format string of the report message</td>
|
242
240
|
</tr>
|
243
241
|
<tr>
|
244
242
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
245
|
-
<td>arguments to pass to the <code class="function">printf()</code> function
|
246
|
-
</td>
|
243
|
+
<td>arguments to pass to the <code class="function">printf()</code> function</td>
|
247
244
|
</tr>
|
248
245
|
</tbody>
|
249
246
|
</table></div>
|
250
247
|
<p class="since">Since 2.16</p>
|
251
248
|
</div>
|
252
249
|
<hr>
|
253
|
-
<div class="refsect2"
|
250
|
+
<div class="refsect2">
|
254
251
|
<a name="g-test-maximized-result"></a><h3>g_test_maximized_result ()</h3>
|
255
252
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_maximized_result (<em class="parameter"><code><span class="type">double</span> maximized_quantity</code></em>,
|
256
253
|
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
|
@@ -267,25 +264,22 @@ order for test result reports.
|
|
267
264
|
<tbody>
|
268
265
|
<tr>
|
269
266
|
<td><p><span class="term"><em class="parameter"><code>maximized_quantity</code></em> :</span></p></td>
|
270
|
-
<td>the reported value
|
271
|
-
</td>
|
267
|
+
<td>the reported value</td>
|
272
268
|
</tr>
|
273
269
|
<tr>
|
274
270
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
275
|
-
<td>the format string of the report message
|
276
|
-
</td>
|
271
|
+
<td>the format string of the report message</td>
|
277
272
|
</tr>
|
278
273
|
<tr>
|
279
274
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
280
|
-
<td>arguments to pass to the <code class="function">printf()</code> function
|
281
|
-
</td>
|
275
|
+
<td>arguments to pass to the <code class="function">printf()</code> function</td>
|
282
276
|
</tr>
|
283
277
|
</tbody>
|
284
278
|
</table></div>
|
285
279
|
<p class="since">Since 2.16</p>
|
286
280
|
</div>
|
287
281
|
<hr>
|
288
|
-
<div class="refsect2"
|
282
|
+
<div class="refsect2">
|
289
283
|
<a name="g-test-init"></a><h3>g_test_init ()</h3>
|
290
284
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
291
285
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
@@ -385,26 +379,23 @@ So far, the following arguments are understood:
|
|
385
379
|
<tr>
|
386
380
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
387
381
|
<td>Address of the <em class="parameter"><code>argc</code></em> parameter of the <code class="function">main()</code> function.
|
388
|
-
|
389
|
-
</td>
|
382
|
+
Changed if any arguments were handled.</td>
|
390
383
|
</tr>
|
391
384
|
<tr>
|
392
385
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
393
386
|
<td>Address of the <em class="parameter"><code>argv</code></em> parameter of <code class="function">main()</code>.
|
394
|
-
|
395
|
-
</td>
|
387
|
+
Any parameters understood by <a class="link" href="glib-Testing.html#g-test-init" title="g_test_init ()"><code class="function">g_test_init()</code></a> stripped before return.</td>
|
396
388
|
</tr>
|
397
389
|
<tr>
|
398
390
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
399
|
-
<td>Reserved for future extension. Currently, you must pass <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a
|
400
|
-
</td>
|
391
|
+
<td>Reserved for future extension. Currently, you must pass <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</td>
|
401
392
|
</tr>
|
402
393
|
</tbody>
|
403
394
|
</table></div>
|
404
395
|
<p class="since">Since 2.16</p>
|
405
396
|
</div>
|
406
397
|
<hr>
|
407
|
-
<div class="refsect2"
|
398
|
+
<div class="refsect2">
|
408
399
|
<a name="g-test-quick"></a><h3>g_test_quick</h3>
|
409
400
|
<pre class="programlisting">#define g_test_quick()</pre>
|
410
401
|
<p>
|
@@ -412,7 +403,7 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
412
403
|
</p>
|
413
404
|
</div>
|
414
405
|
<hr>
|
415
|
-
<div class="refsect2"
|
406
|
+
<div class="refsect2">
|
416
407
|
<a name="g-test-slow"></a><h3>g_test_slow</h3>
|
417
408
|
<pre class="programlisting">#define g_test_slow()</pre>
|
418
409
|
<p>
|
@@ -420,7 +411,7 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
420
411
|
</p>
|
421
412
|
</div>
|
422
413
|
<hr>
|
423
|
-
<div class="refsect2"
|
414
|
+
<div class="refsect2">
|
424
415
|
<a name="g-test-thorough"></a><h3>g_test_thorough</h3>
|
425
416
|
<pre class="programlisting">#define g_test_thorough()</pre>
|
426
417
|
<p>
|
@@ -428,7 +419,7 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
428
419
|
</p>
|
429
420
|
</div>
|
430
421
|
<hr>
|
431
|
-
<div class="refsect2"
|
422
|
+
<div class="refsect2">
|
432
423
|
<a name="g-test-perf"></a><h3>g_test_perf</h3>
|
433
424
|
<pre class="programlisting">#define g_test_perf()</pre>
|
434
425
|
<p>
|
@@ -436,7 +427,7 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
436
427
|
</p>
|
437
428
|
</div>
|
438
429
|
<hr>
|
439
|
-
<div class="refsect2"
|
430
|
+
<div class="refsect2">
|
440
431
|
<a name="g-test-verbose"></a><h3>g_test_verbose</h3>
|
441
432
|
<pre class="programlisting">#define g_test_verbose()</pre>
|
442
433
|
<p>
|
@@ -444,7 +435,7 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
444
435
|
</p>
|
445
436
|
</div>
|
446
437
|
<hr>
|
447
|
-
<div class="refsect2"
|
438
|
+
<div class="refsect2">
|
448
439
|
<a name="g-test-quiet"></a><h3>g_test_quiet</h3>
|
449
440
|
<pre class="programlisting">#define g_test_quiet()</pre>
|
450
441
|
<p>
|
@@ -452,7 +443,7 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
452
443
|
</p>
|
453
444
|
</div>
|
454
445
|
<hr>
|
455
|
-
<div class="refsect2"
|
446
|
+
<div class="refsect2">
|
456
447
|
<a name="g-test-run"></a><h3>g_test_run ()</h3>
|
457
448
|
<pre class="programlisting"><span class="returnvalue">int</span> g_test_run (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
458
449
|
<p>
|
@@ -468,15 +459,13 @@ in a program.
|
|
468
459
|
<col align="left" valign="top">
|
469
460
|
<tbody><tr>
|
470
461
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
471
|
-
<td>
|
472
|
-
|
473
|
-
</td>
|
462
|
+
<td>0 on success</td>
|
474
463
|
</tr></tbody>
|
475
464
|
</table></div>
|
476
465
|
<p class="since">Since 2.16</p>
|
477
466
|
</div>
|
478
467
|
<hr>
|
479
|
-
<div class="refsect2"
|
468
|
+
<div class="refsect2">
|
480
469
|
<a name="GTestFunc"></a><h3>GTestFunc ()</h3>
|
481
470
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GTestFunc) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
482
471
|
<p>
|
@@ -484,7 +473,7 @@ The type used for test case functions.
|
|
484
473
|
</p>
|
485
474
|
</div>
|
486
475
|
<hr>
|
487
|
-
<div class="refsect2"
|
476
|
+
<div class="refsect2">
|
488
477
|
<a name="g-test-add-func"></a><h3>g_test_add_func ()</h3>
|
489
478
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_add_func (<em class="parameter"><code>const <span class="type">char</span> *testpath</code></em>,
|
490
479
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFunc" title="GTestFunc ()"><span class="type">GTestFunc</span></a> test_func</code></em>);</pre>
|
@@ -499,20 +488,18 @@ slash-separated portions of <em class="parameter"><code>testpath</code></em>.
|
|
499
488
|
<tbody>
|
500
489
|
<tr>
|
501
490
|
<td><p><span class="term"><em class="parameter"><code>testpath</code></em> :</span></p></td>
|
502
|
-
<td>Slash-separated test case path name for the test
|
503
|
-
</td>
|
491
|
+
<td>Slash-separated test case path name for the test.</td>
|
504
492
|
</tr>
|
505
493
|
<tr>
|
506
494
|
<td><p><span class="term"><em class="parameter"><code>test_func</code></em> :</span></p></td>
|
507
|
-
<td>The test function to invoke for this test
|
508
|
-
</td>
|
495
|
+
<td>The test function to invoke for this test.</td>
|
509
496
|
</tr>
|
510
497
|
</tbody>
|
511
498
|
</table></div>
|
512
499
|
<p class="since">Since 2.16</p>
|
513
500
|
</div>
|
514
501
|
<hr>
|
515
|
-
<div class="refsect2"
|
502
|
+
<div class="refsect2">
|
516
503
|
<a name="GTestDataFunc"></a><h3>GTestDataFunc ()</h3>
|
517
504
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GTestDataFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> user_data</code></em>);</pre>
|
518
505
|
<p>
|
@@ -523,13 +510,12 @@ argument.
|
|
523
510
|
<col align="left" valign="top">
|
524
511
|
<tbody><tr>
|
525
512
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
526
|
-
<td>the data provided when registering the test
|
527
|
-
</td>
|
513
|
+
<td>the data provided when registering the test</td>
|
528
514
|
</tr></tbody>
|
529
515
|
</table></div>
|
530
516
|
</div>
|
531
517
|
<hr>
|
532
|
-
<div class="refsect2"
|
518
|
+
<div class="refsect2">
|
533
519
|
<a name="g-test-add-data-func"></a><h3>g_test_add_data_func ()</h3>
|
534
520
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_add_data_func (<em class="parameter"><code>const <span class="type">char</span> *testpath</code></em>,
|
535
521
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> test_data</code></em>,
|
@@ -546,25 +532,22 @@ will be passed as first argument to <em class="parameter"><code>test_func</code>
|
|
546
532
|
<tbody>
|
547
533
|
<tr>
|
548
534
|
<td><p><span class="term"><em class="parameter"><code>testpath</code></em> :</span></p></td>
|
549
|
-
<td>Slash-separated test case path name for the test
|
550
|
-
</td>
|
535
|
+
<td>Slash-separated test case path name for the test.</td>
|
551
536
|
</tr>
|
552
537
|
<tr>
|
553
538
|
<td><p><span class="term"><em class="parameter"><code>test_data</code></em> :</span></p></td>
|
554
|
-
<td>Test data argument for the test function
|
555
|
-
</td>
|
539
|
+
<td>Test data argument for the test function.</td>
|
556
540
|
</tr>
|
557
541
|
<tr>
|
558
542
|
<td><p><span class="term"><em class="parameter"><code>test_func</code></em> :</span></p></td>
|
559
|
-
<td>The test function to invoke for this test
|
560
|
-
</td>
|
543
|
+
<td>The test function to invoke for this test.</td>
|
561
544
|
</tr>
|
562
545
|
</tbody>
|
563
546
|
</table></div>
|
564
547
|
<p class="since">Since 2.16</p>
|
565
548
|
</div>
|
566
549
|
<hr>
|
567
|
-
<div class="refsect2"
|
550
|
+
<div class="refsect2">
|
568
551
|
<a name="g-test-add"></a><h3>g_test_add()</h3>
|
569
552
|
<pre class="programlisting">#define g_test_add(testpath, Fixture, tdata, fsetup, ftest, fteardown)</pre>
|
570
553
|
<p>
|
@@ -580,40 +563,34 @@ a type safe manner.
|
|
580
563
|
<tbody>
|
581
564
|
<tr>
|
582
565
|
<td><p><span class="term"><em class="parameter"><code>testpath</code></em> :</span></p></td>
|
583
|
-
<td>The test path for a new test case
|
584
|
-
</td>
|
566
|
+
<td>The test path for a new test case.</td>
|
585
567
|
</tr>
|
586
568
|
<tr>
|
587
569
|
<td><p><span class="term"><em class="parameter"><code>Fixture</code></em> :</span></p></td>
|
588
|
-
<td>The type of a fixture data structure
|
589
|
-
</td>
|
570
|
+
<td>The type of a fixture data structure.</td>
|
590
571
|
</tr>
|
591
572
|
<tr>
|
592
573
|
<td><p><span class="term"><em class="parameter"><code>tdata</code></em> :</span></p></td>
|
593
|
-
<td>Data argument for the test functions
|
594
|
-
</td>
|
574
|
+
<td>Data argument for the test functions.</td>
|
595
575
|
</tr>
|
596
576
|
<tr>
|
597
577
|
<td><p><span class="term"><em class="parameter"><code>fsetup</code></em> :</span></p></td>
|
598
|
-
<td>The function to set up the fixture data
|
599
|
-
</td>
|
578
|
+
<td>The function to set up the fixture data.</td>
|
600
579
|
</tr>
|
601
580
|
<tr>
|
602
581
|
<td><p><span class="term"><em class="parameter"><code>ftest</code></em> :</span></p></td>
|
603
|
-
<td>The actual test function
|
604
|
-
</td>
|
582
|
+
<td>The actual test function.</td>
|
605
583
|
</tr>
|
606
584
|
<tr>
|
607
585
|
<td><p><span class="term"><em class="parameter"><code>fteardown</code></em> :</span></p></td>
|
608
|
-
<td>The function to tear down the fixture data
|
609
|
-
</td>
|
586
|
+
<td>The function to tear down the fixture data.</td>
|
610
587
|
</tr>
|
611
588
|
</tbody>
|
612
589
|
</table></div>
|
613
590
|
<p class="since">Since 2.16</p>
|
614
591
|
</div>
|
615
592
|
<hr>
|
616
|
-
<div class="refsect2"
|
593
|
+
<div class="refsect2">
|
617
594
|
<a name="g-test-message"></a><h3>g_test_message ()</h3>
|
618
595
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_message (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
|
619
596
|
<em class="parameter"><code>...</code></em>);</pre>
|
@@ -625,8 +602,7 @@ Add a message to the test report.
|
|
625
602
|
<tbody>
|
626
603
|
<tr>
|
627
604
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
628
|
-
<td>the format string
|
629
|
-
</td>
|
605
|
+
<td>the format string</td>
|
630
606
|
</tr>
|
631
607
|
<tr>
|
632
608
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
@@ -638,7 +614,7 @@ Add a message to the test report.
|
|
638
614
|
<p class="since">Since 2.16</p>
|
639
615
|
</div>
|
640
616
|
<hr>
|
641
|
-
<div class="refsect2"
|
617
|
+
<div class="refsect2">
|
642
618
|
<a name="g-test-bug-base"></a><h3>g_test_bug_base ()</h3>
|
643
619
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_bug_base (<em class="parameter"><code>const <span class="type">char</span> *uri_pattern</code></em>);</pre>
|
644
620
|
<p>
|
@@ -659,14 +635,13 @@ portion to <em class="parameter"><code>uri_pattern</code></em>, or by replacing
|
|
659
635
|
<col align="left" valign="top">
|
660
636
|
<tbody><tr>
|
661
637
|
<td><p><span class="term"><em class="parameter"><code>uri_pattern</code></em> :</span></p></td>
|
662
|
-
<td>the base pattern for bug URIs
|
663
|
-
</td>
|
638
|
+
<td>the base pattern for bug URIs</td>
|
664
639
|
</tr></tbody>
|
665
640
|
</table></div>
|
666
641
|
<p class="since">Since 2.16</p>
|
667
642
|
</div>
|
668
643
|
<hr>
|
669
|
-
<div class="refsect2"
|
644
|
+
<div class="refsect2">
|
670
645
|
<a name="g-test-bug"></a><h3>g_test_bug ()</h3>
|
671
646
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_bug (<em class="parameter"><code>const <span class="type">char</span> *bug_uri_snippet</code></em>);</pre>
|
672
647
|
<p>
|
@@ -679,14 +654,13 @@ and <em class="parameter"><code>bug_uri_snippet</code></em>.
|
|
679
654
|
<col align="left" valign="top">
|
680
655
|
<tbody><tr>
|
681
656
|
<td><p><span class="term"><em class="parameter"><code>bug_uri_snippet</code></em> :</span></p></td>
|
682
|
-
<td>Bug specific bug tracker URI portion
|
683
|
-
</td>
|
657
|
+
<td>Bug specific bug tracker URI portion.</td>
|
684
658
|
</tr></tbody>
|
685
659
|
</table></div>
|
686
660
|
<p class="since">Since 2.16</p>
|
687
661
|
</div>
|
688
662
|
<hr>
|
689
|
-
<div class="refsect2"
|
663
|
+
<div class="refsect2">
|
690
664
|
<a name="GTestLogFatalFunc"></a><h3>GTestLogFatalFunc ()</h3>
|
691
665
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (*GTestLogFatalFunc) (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *log_domain</code></em>,
|
692
666
|
<em class="parameter"><code><a class="link" href="glib-Message-Logging.html#GLogLevelFlags" title="enum GLogLevelFlags"><span class="type">GLogLevelFlags</span></a> log_level</code></em>,
|
@@ -700,18 +674,15 @@ Specifies the prototype of fatal log handler functions.
|
|
700
674
|
<tbody>
|
701
675
|
<tr>
|
702
676
|
<td><p><span class="term"><em class="parameter"><code>log_domain</code></em> :</span></p></td>
|
703
|
-
<td>the log domain of the message
|
704
|
-
</td>
|
677
|
+
<td>the log domain of the message</td>
|
705
678
|
</tr>
|
706
679
|
<tr>
|
707
680
|
<td><p><span class="term"><em class="parameter"><code>log_level</code></em> :</span></p></td>
|
708
|
-
<td>the log level of the message (including the fatal and recursion flags)
|
709
|
-
</td>
|
681
|
+
<td>the log level of the message (including the fatal and recursion flags)</td>
|
710
682
|
</tr>
|
711
683
|
<tr>
|
712
684
|
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
|
713
|
-
<td>the message to process
|
714
|
-
</td>
|
685
|
+
<td>the message to process</td>
|
715
686
|
</tr>
|
716
687
|
<tr>
|
717
688
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -720,16 +691,15 @@ Specifies the prototype of fatal log handler functions.
|
|
720
691
|
</tr>
|
721
692
|
<tr>
|
722
693
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
723
|
-
<td>
|
724
|
-
|
725
|
-
</td>
|
694
|
+
<td>
|
695
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the program should abort, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise</td>
|
726
696
|
</tr>
|
727
697
|
</tbody>
|
728
698
|
</table></div>
|
729
699
|
<p class="since">Since 2.22</p>
|
730
700
|
</div>
|
731
701
|
<hr>
|
732
|
-
<div class="refsect2"
|
702
|
+
<div class="refsect2">
|
733
703
|
<a name="g-test-log-set-fatal-handler"></a><h3>g_test_log_set_fatal_handler ()</h3>
|
734
704
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_log_set_fatal_handler (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestLogFatalFunc" title="GTestLogFatalFunc ()"><span class="type">GTestLogFatalFunc</span></a> log_func</code></em>,
|
735
705
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
@@ -758,20 +728,18 @@ This handler has no effect on g_error messages.
|
|
758
728
|
<tbody>
|
759
729
|
<tr>
|
760
730
|
<td><p><span class="term"><em class="parameter"><code>log_func</code></em> :</span></p></td>
|
761
|
-
<td>the log handler function
|
762
|
-
</td>
|
731
|
+
<td>the log handler function.</td>
|
763
732
|
</tr>
|
764
733
|
<tr>
|
765
734
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
766
|
-
<td>data passed to the log handler
|
767
|
-
</td>
|
735
|
+
<td>data passed to the log handler.</td>
|
768
736
|
</tr>
|
769
737
|
</tbody>
|
770
738
|
</table></div>
|
771
739
|
<p class="since">Since 2.22</p>
|
772
740
|
</div>
|
773
741
|
<hr>
|
774
|
-
<div class="refsect2"
|
742
|
+
<div class="refsect2">
|
775
743
|
<a name="g-test-timer-start"></a><h3>g_test_timer_start ()</h3>
|
776
744
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_timer_start (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
777
745
|
<p>
|
@@ -781,7 +749,7 @@ to be done. Call this function again to restart the timer.
|
|
781
749
|
<p class="since">Since 2.16</p>
|
782
750
|
</div>
|
783
751
|
<hr>
|
784
|
-
<div class="refsect2"
|
752
|
+
<div class="refsect2">
|
785
753
|
<a name="g-test-timer-elapsed"></a><h3>g_test_timer_elapsed ()</h3>
|
786
754
|
<pre class="programlisting"><span class="returnvalue">double</span> g_test_timer_elapsed (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
787
755
|
<p>
|
@@ -791,15 +759,13 @@ Get the time since the last start of the timer with <a class="link" href="glib-T
|
|
791
759
|
<col align="left" valign="top">
|
792
760
|
<tbody><tr>
|
793
761
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
794
|
-
<td>
|
795
|
-
|
796
|
-
</td>
|
762
|
+
<td>the time since the last start of the timer, as a double</td>
|
797
763
|
</tr></tbody>
|
798
764
|
</table></div>
|
799
765
|
<p class="since">Since 2.16</p>
|
800
766
|
</div>
|
801
767
|
<hr>
|
802
|
-
<div class="refsect2"
|
768
|
+
<div class="refsect2">
|
803
769
|
<a name="g-test-timer-last"></a><h3>g_test_timer_last ()</h3>
|
804
770
|
<pre class="programlisting"><span class="returnvalue">double</span> g_test_timer_last (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
805
771
|
<p>
|
@@ -809,15 +775,13 @@ Report the last result of <a class="link" href="glib-Testing.html#g-test-timer-e
|
|
809
775
|
<col align="left" valign="top">
|
810
776
|
<tbody><tr>
|
811
777
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
812
|
-
<td>
|
813
|
-
|
814
|
-
</td>
|
778
|
+
<td>the last result of <a class="link" href="glib-Testing.html#g-test-timer-elapsed" title="g_test_timer_elapsed ()"><code class="function">g_test_timer_elapsed()</code></a>, as a double</td>
|
815
779
|
</tr></tbody>
|
816
780
|
</table></div>
|
817
781
|
<p class="since">Since 2.16</p>
|
818
782
|
</div>
|
819
783
|
<hr>
|
820
|
-
<div class="refsect2"
|
784
|
+
<div class="refsect2">
|
821
785
|
<a name="g-test-queue-free"></a><h3>g_test_queue_free ()</h3>
|
822
786
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_queue_free (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> gfree_pointer</code></em>);</pre>
|
823
787
|
<p>
|
@@ -829,14 +793,13 @@ with a destroy callback of <a class="link" href="glib-Memory-Allocation.html#g-f
|
|
829
793
|
<col align="left" valign="top">
|
830
794
|
<tbody><tr>
|
831
795
|
<td><p><span class="term"><em class="parameter"><code>gfree_pointer</code></em> :</span></p></td>
|
832
|
-
<td>the pointer to be stored
|
833
|
-
</td>
|
796
|
+
<td>the pointer to be stored.</td>
|
834
797
|
</tr></tbody>
|
835
798
|
</table></div>
|
836
799
|
<p class="since">Since 2.16</p>
|
837
800
|
</div>
|
838
801
|
<hr>
|
839
|
-
<div class="refsect2"
|
802
|
+
<div class="refsect2">
|
840
803
|
<a name="g-test-queue-destroy"></a><h3>g_test_queue_destroy ()</h3>
|
841
804
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_queue_destroy (<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>,
|
842
805
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> destroy_data</code></em>);</pre>
|
@@ -853,20 +816,18 @@ callback A before callback B will cause <code class="function">B()</code> to be
|
|
853
816
|
<tbody>
|
854
817
|
<tr>
|
855
818
|
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
|
856
|
-
<td>Destroy callback for teardown phase
|
857
|
-
</td>
|
819
|
+
<td>Destroy callback for teardown phase.</td>
|
858
820
|
</tr>
|
859
821
|
<tr>
|
860
822
|
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
|
861
|
-
<td>Destroy callback data
|
862
|
-
</td>
|
823
|
+
<td>Destroy callback data.</td>
|
863
824
|
</tr>
|
864
825
|
</tbody>
|
865
826
|
</table></div>
|
866
827
|
<p class="since">Since 2.16</p>
|
867
828
|
</div>
|
868
829
|
<hr>
|
869
|
-
<div class="refsect2"
|
830
|
+
<div class="refsect2">
|
870
831
|
<a name="g-test-queue-unref"></a><h3>g_test_queue_unref()</h3>
|
871
832
|
<pre class="programlisting">#define g_test_queue_unref(gobject)</pre>
|
872
833
|
<p>
|
@@ -878,14 +839,13 @@ with a destroy callback of <a href="http://library.gnome.org/devel/gobject/unsta
|
|
878
839
|
<col align="left" valign="top">
|
879
840
|
<tbody><tr>
|
880
841
|
<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td>
|
881
|
-
<td>the object to unref
|
882
|
-
</td>
|
842
|
+
<td>the object to unref</td>
|
883
843
|
</tr></tbody>
|
884
844
|
</table></div>
|
885
845
|
<p class="since">Since 2.16</p>
|
886
846
|
</div>
|
887
847
|
<hr>
|
888
|
-
<div class="refsect2"
|
848
|
+
<div class="refsect2">
|
889
849
|
<a name="GTestTrapFlags"></a><h3>enum GTestTrapFlags</h3>
|
890
850
|
<pre class="programlisting">typedef enum {
|
891
851
|
G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
|
@@ -927,7 +887,7 @@ determine what traps to set.
|
|
927
887
|
</table></div>
|
928
888
|
</div>
|
929
889
|
<hr>
|
930
|
-
<div class="refsect2"
|
890
|
+
<div class="refsect2">
|
931
891
|
<a name="g-test-trap-fork"></a><h3>g_test_trap_fork ()</h3>
|
932
892
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_test_trap_fork (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> usec_timeout</code></em>,
|
933
893
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestTrapFlags" title="enum GTestTrapFlags"><span class="type">GTestTrapFlags</span></a> test_trap_flags</code></em>);</pre>
|
@@ -992,26 +952,23 @@ This function is implemented only on Unix platforms.
|
|
992
952
|
<tbody>
|
993
953
|
<tr>
|
994
954
|
<td><p><span class="term"><em class="parameter"><code>usec_timeout</code></em> :</span></p></td>
|
995
|
-
<td>Timeout for the forked test in micro seconds
|
996
|
-
</td>
|
955
|
+
<td>Timeout for the forked test in micro seconds.</td>
|
997
956
|
</tr>
|
998
957
|
<tr>
|
999
958
|
<td><p><span class="term"><em class="parameter"><code>test_trap_flags</code></em> :</span></p></td>
|
1000
|
-
<td>Flags to modify forking behaviour
|
1001
|
-
</td>
|
959
|
+
<td>Flags to modify forking behaviour.</td>
|
1002
960
|
</tr>
|
1003
961
|
<tr>
|
1004
962
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1005
|
-
<td>
|
1006
|
-
|
1007
|
-
</td>
|
963
|
+
<td>
|
964
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for the forked child and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> for the executing parent process.</td>
|
1008
965
|
</tr>
|
1009
966
|
</tbody>
|
1010
967
|
</table></div>
|
1011
968
|
<p class="since">Since 2.16</p>
|
1012
969
|
</div>
|
1013
970
|
<hr>
|
1014
|
-
<div class="refsect2"
|
971
|
+
<div class="refsect2">
|
1015
972
|
<a name="g-test-trap-has-passed"></a><h3>g_test_trap_has_passed ()</h3>
|
1016
973
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_test_trap_has_passed (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1017
974
|
<p>
|
@@ -1021,15 +978,14 @@ Check the result of the last <a class="link" href="glib-Testing.html#g-test-trap
|
|
1021
978
|
<col align="left" valign="top">
|
1022
979
|
<tbody><tr>
|
1023
980
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1024
|
-
<td>
|
1025
|
-
|
1026
|
-
</td>
|
981
|
+
<td>
|
982
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the last forked child terminated successfully.</td>
|
1027
983
|
</tr></tbody>
|
1028
984
|
</table></div>
|
1029
985
|
<p class="since">Since 2.16</p>
|
1030
986
|
</div>
|
1031
987
|
<hr>
|
1032
|
-
<div class="refsect2"
|
988
|
+
<div class="refsect2">
|
1033
989
|
<a name="g-test-trap-reached-timeout"></a><h3>g_test_trap_reached_timeout ()</h3>
|
1034
990
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_test_trap_reached_timeout (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1035
991
|
<p>
|
@@ -1039,15 +995,14 @@ Check the result of the last <a class="link" href="glib-Testing.html#g-test-trap
|
|
1039
995
|
<col align="left" valign="top">
|
1040
996
|
<tbody><tr>
|
1041
997
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1042
|
-
<td>
|
1043
|
-
|
1044
|
-
</td>
|
998
|
+
<td>
|
999
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the last forked child got killed due to a fork timeout.</td>
|
1045
1000
|
</tr></tbody>
|
1046
1001
|
</table></div>
|
1047
1002
|
<p class="since">Since 2.16</p>
|
1048
1003
|
</div>
|
1049
1004
|
<hr>
|
1050
|
-
<div class="refsect2"
|
1005
|
+
<div class="refsect2">
|
1051
1006
|
<a name="g-test-trap-assert-passed"></a><h3>g_test_trap_assert_passed</h3>
|
1052
1007
|
<pre class="programlisting">#define g_test_trap_assert_passed()</pre>
|
1053
1008
|
<p>
|
@@ -1056,7 +1011,7 @@ Assert that the last forked test passed. See <a class="link" href="glib-Testing.
|
|
1056
1011
|
<p class="since">Since 2.16</p>
|
1057
1012
|
</div>
|
1058
1013
|
<hr>
|
1059
|
-
<div class="refsect2"
|
1014
|
+
<div class="refsect2">
|
1060
1015
|
<a name="g-test-trap-assert-failed"></a><h3>g_test_trap_assert_failed</h3>
|
1061
1016
|
<pre class="programlisting">#define g_test_trap_assert_failed()</pre>
|
1062
1017
|
<p>
|
@@ -1065,7 +1020,7 @@ Assert that the last forked test failed. See <a class="link" href="glib-Testing.
|
|
1065
1020
|
<p class="since">Since 2.16</p>
|
1066
1021
|
</div>
|
1067
1022
|
<hr>
|
1068
|
-
<div class="refsect2"
|
1023
|
+
<div class="refsect2">
|
1069
1024
|
<a name="g-test-trap-assert-stdout"></a><h3>g_test_trap_assert_stdout()</h3>
|
1070
1025
|
<pre class="programlisting">#define g_test_trap_assert_stdout(soutpattern)</pre>
|
1071
1026
|
<p>
|
@@ -1083,7 +1038,7 @@ See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap
|
|
1083
1038
|
<p class="since">Since 2.16</p>
|
1084
1039
|
</div>
|
1085
1040
|
<hr>
|
1086
|
-
<div class="refsect2"
|
1041
|
+
<div class="refsect2">
|
1087
1042
|
<a name="g-test-trap-assert-stdout-unmatched"></a><h3>g_test_trap_assert_stdout_unmatched()</h3>
|
1088
1043
|
<pre class="programlisting">#define g_test_trap_assert_stdout_unmatched(soutpattern)</pre>
|
1089
1044
|
<p>
|
@@ -1101,7 +1056,7 @@ Assert that the stdout output of the last forked test does not match
|
|
1101
1056
|
<p class="since">Since 2.16</p>
|
1102
1057
|
</div>
|
1103
1058
|
<hr>
|
1104
|
-
<div class="refsect2"
|
1059
|
+
<div class="refsect2">
|
1105
1060
|
<a name="g-test-trap-assert-stderr"></a><h3>g_test_trap_assert_stderr()</h3>
|
1106
1061
|
<pre class="programlisting">#define g_test_trap_assert_stderr(serrpattern)</pre>
|
1107
1062
|
<p>
|
@@ -1119,7 +1074,7 @@ See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap
|
|
1119
1074
|
<p class="since">Since 2.16</p>
|
1120
1075
|
</div>
|
1121
1076
|
<hr>
|
1122
|
-
<div class="refsect2"
|
1077
|
+
<div class="refsect2">
|
1123
1078
|
<a name="g-test-trap-assert-stderr-unmatched"></a><h3>g_test_trap_assert_stderr_unmatched()</h3>
|
1124
1079
|
<pre class="programlisting">#define g_test_trap_assert_stderr_unmatched(serrpattern)</pre>
|
1125
1080
|
<p>
|
@@ -1137,7 +1092,7 @@ Assert that the stderr output of the last forked test does not match
|
|
1137
1092
|
<p class="since">Since 2.16</p>
|
1138
1093
|
</div>
|
1139
1094
|
<hr>
|
1140
|
-
<div class="refsect2"
|
1095
|
+
<div class="refsect2">
|
1141
1096
|
<a name="g-test-rand-bit"></a><h3>g_test_rand_bit</h3>
|
1142
1097
|
<pre class="programlisting">#define g_test_rand_bit()</pre>
|
1143
1098
|
<p>
|
@@ -1147,7 +1102,7 @@ see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_
|
|
1147
1102
|
<p class="since">Since 2.16</p>
|
1148
1103
|
</div>
|
1149
1104
|
<hr>
|
1150
|
-
<div class="refsect2"
|
1105
|
+
<div class="refsect2">
|
1151
1106
|
<a name="g-test-rand-int"></a><h3>g_test_rand_int ()</h3>
|
1152
1107
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> g_test_rand_int (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1153
1108
|
<p>
|
@@ -1167,15 +1122,13 @@ effective for all test cases.
|
|
1167
1122
|
<col align="left" valign="top">
|
1168
1123
|
<tbody><tr>
|
1169
1124
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1170
|
-
<td>
|
1171
|
-
|
1172
|
-
</td>
|
1125
|
+
<td>a random number from the seeded random number generator.</td>
|
1173
1126
|
</tr></tbody>
|
1174
1127
|
</table></div>
|
1175
1128
|
<p class="since">Since 2.16</p>
|
1176
1129
|
</div>
|
1177
1130
|
<hr>
|
1178
|
-
<div class="refsect2"
|
1131
|
+
<div class="refsect2">
|
1179
1132
|
<a name="g-test-rand-int-range"></a><h3>g_test_rand_int_range ()</h3>
|
1180
1133
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> g_test_rand_int_range (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> begin</code></em>,
|
1181
1134
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> end</code></em>);</pre>
|
@@ -1188,26 +1141,22 @@ see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_
|
|
1188
1141
|
<tbody>
|
1189
1142
|
<tr>
|
1190
1143
|
<td><p><span class="term"><em class="parameter"><code>begin</code></em> :</span></p></td>
|
1191
|
-
<td>the minimum value returned by this function
|
1192
|
-
</td>
|
1144
|
+
<td>the minimum value returned by this function</td>
|
1193
1145
|
</tr>
|
1194
1146
|
<tr>
|
1195
1147
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
1196
|
-
<td>the smallest value not to be returned by this function
|
1197
|
-
</td>
|
1148
|
+
<td>the smallest value not to be returned by this function</td>
|
1198
1149
|
</tr>
|
1199
1150
|
<tr>
|
1200
1151
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1201
|
-
<td>
|
1202
|
-
|
1203
|
-
</td>
|
1152
|
+
<td>a number with <em class="parameter"><code>begin</code></em> <= number < <em class="parameter"><code>end</code></em>.</td>
|
1204
1153
|
</tr>
|
1205
1154
|
</tbody>
|
1206
1155
|
</table></div>
|
1207
1156
|
<p class="since">Since 2.16</p>
|
1208
1157
|
</div>
|
1209
1158
|
<hr>
|
1210
|
-
<div class="refsect2"
|
1159
|
+
<div class="refsect2">
|
1211
1160
|
<a name="g-test-rand-double"></a><h3>g_test_rand_double ()</h3>
|
1212
1161
|
<pre class="programlisting"><span class="returnvalue">double</span> g_test_rand_double (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1213
1162
|
<p>
|
@@ -1218,15 +1167,13 @@ see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_
|
|
1218
1167
|
<col align="left" valign="top">
|
1219
1168
|
<tbody><tr>
|
1220
1169
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1221
|
-
<td>
|
1222
|
-
|
1223
|
-
</td>
|
1170
|
+
<td>a random number from the seeded random number generator.</td>
|
1224
1171
|
</tr></tbody>
|
1225
1172
|
</table></div>
|
1226
1173
|
<p class="since">Since 2.16</p>
|
1227
1174
|
</div>
|
1228
1175
|
<hr>
|
1229
|
-
<div class="refsect2"
|
1176
|
+
<div class="refsect2">
|
1230
1177
|
<a name="g-test-rand-double-range"></a><h3>g_test_rand_double_range ()</h3>
|
1231
1178
|
<pre class="programlisting"><span class="returnvalue">double</span> g_test_rand_double_range (<em class="parameter"><code><span class="type">double</span> range_start</code></em>,
|
1232
1179
|
<em class="parameter"><code><span class="type">double</span> range_end</code></em>);</pre>
|
@@ -1239,26 +1186,22 @@ see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_
|
|
1239
1186
|
<tbody>
|
1240
1187
|
<tr>
|
1241
1188
|
<td><p><span class="term"><em class="parameter"><code>range_start</code></em> :</span></p></td>
|
1242
|
-
<td>the minimum value returned by this function
|
1243
|
-
</td>
|
1189
|
+
<td>the minimum value returned by this function</td>
|
1244
1190
|
</tr>
|
1245
1191
|
<tr>
|
1246
1192
|
<td><p><span class="term"><em class="parameter"><code>range_end</code></em> :</span></p></td>
|
1247
|
-
<td>the minimum value not returned by this function
|
1248
|
-
</td>
|
1193
|
+
<td>the minimum value not returned by this function</td>
|
1249
1194
|
</tr>
|
1250
1195
|
<tr>
|
1251
1196
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1252
|
-
<td>
|
1253
|
-
|
1254
|
-
</td>
|
1197
|
+
<td>a number with <em class="parameter"><code>range_start</code></em> <= number < <em class="parameter"><code>range_end</code></em>.</td>
|
1255
1198
|
</tr>
|
1256
1199
|
</tbody>
|
1257
1200
|
</table></div>
|
1258
1201
|
<p class="since">Since 2.16</p>
|
1259
1202
|
</div>
|
1260
1203
|
<hr>
|
1261
|
-
<div class="refsect2"
|
1204
|
+
<div class="refsect2">
|
1262
1205
|
<a name="g-assert"></a><h3>g_assert()</h3>
|
1263
1206
|
<pre class="programlisting">#define g_assert(expr)</pre>
|
1264
1207
|
<p>
|
@@ -1274,13 +1217,12 @@ The macro can be turned off in final releases of code by defining
|
|
1274
1217
|
<col align="left" valign="top">
|
1275
1218
|
<tbody><tr>
|
1276
1219
|
<td><p><span class="term"><em class="parameter"><code>expr</code></em> :</span></p></td>
|
1277
|
-
<td>the expression to check
|
1278
|
-
</td>
|
1220
|
+
<td>the expression to check.</td>
|
1279
1221
|
</tr></tbody>
|
1280
1222
|
</table></div>
|
1281
1223
|
</div>
|
1282
1224
|
<hr>
|
1283
|
-
<div class="refsect2"
|
1225
|
+
<div class="refsect2">
|
1284
1226
|
<a name="g-assert-not-reached"></a><h3>g_assert_not_reached</h3>
|
1285
1227
|
<pre class="programlisting">#define g_assert_not_reached()</pre>
|
1286
1228
|
<p>
|
@@ -1293,7 +1235,7 @@ The macro can be turned off in final releases of code by defining
|
|
1293
1235
|
</p>
|
1294
1236
|
</div>
|
1295
1237
|
<hr>
|
1296
|
-
<div class="refsect2"
|
1238
|
+
<div class="refsect2">
|
1297
1239
|
<a name="g-assert-cmpstr"></a><h3>g_assert_cmpstr()</h3>
|
1298
1240
|
<pre class="programlisting">#define g_assert_cmpstr(s1, cmp, s2)</pre>
|
1299
1241
|
<p>
|
@@ -1323,25 +1265,22 @@ and <em class="parameter"><code>s2</code></em>.
|
|
1323
1265
|
<tbody>
|
1324
1266
|
<tr>
|
1325
1267
|
<td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
|
1326
|
-
<td>a string (may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>)
|
1327
|
-
</td>
|
1268
|
+
<td>a string (may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>)</td>
|
1328
1269
|
</tr>
|
1329
1270
|
<tr>
|
1330
1271
|
<td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
|
1331
|
-
<td>The comparison operator to use. One of ==, !=, <, >, <=, >
|
1332
|
-
</td>
|
1272
|
+
<td>The comparison operator to use. One of ==, !=, <, >, <=, >=.</td>
|
1333
1273
|
</tr>
|
1334
1274
|
<tr>
|
1335
1275
|
<td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
|
1336
|
-
<td>another string (may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>)
|
1337
|
-
</td>
|
1276
|
+
<td>another string (may be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>)</td>
|
1338
1277
|
</tr>
|
1339
1278
|
</tbody>
|
1340
1279
|
</table></div>
|
1341
1280
|
<p class="since">Since 2.16</p>
|
1342
1281
|
</div>
|
1343
1282
|
<hr>
|
1344
|
-
<div class="refsect2"
|
1283
|
+
<div class="refsect2">
|
1345
1284
|
<a name="g-assert-cmpint"></a><h3>g_assert_cmpint()</h3>
|
1346
1285
|
<pre class="programlisting">#define g_assert_cmpint(n1, cmp, n2)</pre>
|
1347
1286
|
<p>
|
@@ -1359,25 +1298,22 @@ and <em class="parameter"><code>n2</code></em>.
|
|
1359
1298
|
<tbody>
|
1360
1299
|
<tr>
|
1361
1300
|
<td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
|
1362
|
-
<td>an integer
|
1363
|
-
</td>
|
1301
|
+
<td>an integer</td>
|
1364
1302
|
</tr>
|
1365
1303
|
<tr>
|
1366
1304
|
<td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
|
1367
|
-
<td>The comparison operator to use. One of ==, !=, <, >, <=, >
|
1368
|
-
</td>
|
1305
|
+
<td>The comparison operator to use. One of ==, !=, <, >, <=, >=.</td>
|
1369
1306
|
</tr>
|
1370
1307
|
<tr>
|
1371
1308
|
<td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
|
1372
|
-
<td>another integer
|
1373
|
-
</td>
|
1309
|
+
<td>another integer</td>
|
1374
1310
|
</tr>
|
1375
1311
|
</tbody>
|
1376
1312
|
</table></div>
|
1377
1313
|
<p class="since">Since 2.16</p>
|
1378
1314
|
</div>
|
1379
1315
|
<hr>
|
1380
|
-
<div class="refsect2"
|
1316
|
+
<div class="refsect2">
|
1381
1317
|
<a name="g-assert-cmpuint"></a><h3>g_assert_cmpuint()</h3>
|
1382
1318
|
<pre class="programlisting">#define g_assert_cmpuint(n1, cmp, n2)</pre>
|
1383
1319
|
<p>
|
@@ -1395,25 +1331,22 @@ and <em class="parameter"><code>n2</code></em>.
|
|
1395
1331
|
<tbody>
|
1396
1332
|
<tr>
|
1397
1333
|
<td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
|
1398
|
-
<td>an unsigned integer
|
1399
|
-
</td>
|
1334
|
+
<td>an unsigned integer</td>
|
1400
1335
|
</tr>
|
1401
1336
|
<tr>
|
1402
1337
|
<td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
|
1403
|
-
<td>The comparison operator to use. One of ==, !=, <, >, <=, >
|
1404
|
-
</td>
|
1338
|
+
<td>The comparison operator to use. One of ==, !=, <, >, <=, >=.</td>
|
1405
1339
|
</tr>
|
1406
1340
|
<tr>
|
1407
1341
|
<td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
|
1408
|
-
<td>another unsigned integer
|
1409
|
-
</td>
|
1342
|
+
<td>another unsigned integer</td>
|
1410
1343
|
</tr>
|
1411
1344
|
</tbody>
|
1412
1345
|
</table></div>
|
1413
1346
|
<p class="since">Since 2.16</p>
|
1414
1347
|
</div>
|
1415
1348
|
<hr>
|
1416
|
-
<div class="refsect2"
|
1349
|
+
<div class="refsect2">
|
1417
1350
|
<a name="g-assert-cmphex"></a><h3>g_assert_cmphex()</h3>
|
1418
1351
|
<pre class="programlisting">#define g_assert_cmphex(n1, cmp, n2)</pre>
|
1419
1352
|
<p>
|
@@ -1427,25 +1360,22 @@ in the message.
|
|
1427
1360
|
<tbody>
|
1428
1361
|
<tr>
|
1429
1362
|
<td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
|
1430
|
-
<td>an unsigned integer
|
1431
|
-
</td>
|
1363
|
+
<td>an unsigned integer</td>
|
1432
1364
|
</tr>
|
1433
1365
|
<tr>
|
1434
1366
|
<td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
|
1435
|
-
<td>The comparison operator to use. One of ==, !=, <, >, <=, >
|
1436
|
-
</td>
|
1367
|
+
<td>The comparison operator to use. One of ==, !=, <, >, <=, >=.</td>
|
1437
1368
|
</tr>
|
1438
1369
|
<tr>
|
1439
1370
|
<td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
|
1440
|
-
<td>another unsigned integer
|
1441
|
-
</td>
|
1371
|
+
<td>another unsigned integer</td>
|
1442
1372
|
</tr>
|
1443
1373
|
</tbody>
|
1444
1374
|
</table></div>
|
1445
1375
|
<p class="since">Since 2.16</p>
|
1446
1376
|
</div>
|
1447
1377
|
<hr>
|
1448
|
-
<div class="refsect2"
|
1378
|
+
<div class="refsect2">
|
1449
1379
|
<a name="g-assert-cmpfloat"></a><h3>g_assert_cmpfloat()</h3>
|
1450
1380
|
<pre class="programlisting">#define g_assert_cmpfloat(n1,cmp,n2)</pre>
|
1451
1381
|
<p>
|
@@ -1463,30 +1393,27 @@ and <em class="parameter"><code>n2</code></em>.
|
|
1463
1393
|
<tbody>
|
1464
1394
|
<tr>
|
1465
1395
|
<td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
|
1466
|
-
<td>an floating point number
|
1467
|
-
</td>
|
1396
|
+
<td>an floating point number</td>
|
1468
1397
|
</tr>
|
1469
1398
|
<tr>
|
1470
1399
|
<td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
|
1471
|
-
<td>The comparison operator to use. One of ==, !=, <, >, <=, >
|
1472
|
-
</td>
|
1400
|
+
<td>The comparison operator to use. One of ==, !=, <, >, <=, >=.</td>
|
1473
1401
|
</tr>
|
1474
1402
|
<tr>
|
1475
1403
|
<td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
|
1476
|
-
<td>another floating point number
|
1477
|
-
</td>
|
1404
|
+
<td>another floating point number</td>
|
1478
1405
|
</tr>
|
1479
1406
|
</tbody>
|
1480
1407
|
</table></div>
|
1481
1408
|
<p class="since">Since 2.16</p>
|
1482
1409
|
</div>
|
1483
1410
|
<hr>
|
1484
|
-
<div class="refsect2"
|
1411
|
+
<div class="refsect2">
|
1485
1412
|
<a name="g-assert-no-error"></a><h3>g_assert_no_error()</h3>
|
1486
1413
|
<pre class="programlisting">#define g_assert_no_error(err)</pre>
|
1487
1414
|
<p>
|
1488
1415
|
Debugging macro to terminate the application with a warning message
|
1489
|
-
if a method has returned a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>.
|
1416
|
+
if a method has returned a <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>.
|
1490
1417
|
</p>
|
1491
1418
|
<p>
|
1492
1419
|
The effect of <code class="literal">g_assert_no_error (err)</code> is the same
|
@@ -1497,19 +1424,19 @@ is that it can produce a message that includes the error message and code.
|
|
1497
1424
|
<col align="left" valign="top">
|
1498
1425
|
<tbody><tr>
|
1499
1426
|
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
|
1500
|
-
<td>a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, possibly <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1427
|
+
<td>a <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>, possibly <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1501
1428
|
</td>
|
1502
1429
|
</tr></tbody>
|
1503
1430
|
</table></div>
|
1504
1431
|
<p class="since">Since 2.20</p>
|
1505
1432
|
</div>
|
1506
1433
|
<hr>
|
1507
|
-
<div class="refsect2"
|
1434
|
+
<div class="refsect2">
|
1508
1435
|
<a name="g-assert-error"></a><h3>g_assert_error()</h3>
|
1509
1436
|
<pre class="programlisting">#define g_assert_error(err, dom, c)</pre>
|
1510
1437
|
<p>
|
1511
1438
|
Debugging macro to terminate the application with a warning message
|
1512
|
-
if a method has not returned the correct <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>.
|
1439
|
+
if a method has not returned the correct <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>.
|
1513
1440
|
</p>
|
1514
1441
|
<p>
|
1515
1442
|
The effect of <code class="literal">g_assert_error (err, dom, c)</code> is the same
|
@@ -1527,25 +1454,23 @@ test that <em class="parameter"><code>err</code></em> is set, but don't care wha
|
|
1527
1454
|
<tbody>
|
1528
1455
|
<tr>
|
1529
1456
|
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
|
1530
|
-
<td>a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, possibly <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1457
|
+
<td>a <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a>, possibly <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1531
1458
|
</td>
|
1532
1459
|
</tr>
|
1533
1460
|
<tr>
|
1534
1461
|
<td><p><span class="term"><em class="parameter"><code>dom</code></em> :</span></p></td>
|
1535
|
-
<td>the expected error domain (a <a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a>)
|
1536
|
-
</td>
|
1462
|
+
<td>the expected error domain (a <a class="link" href="glib-Quarks.html#GQuark" title="GQuark"><span class="type">GQuark</span></a>)</td>
|
1537
1463
|
</tr>
|
1538
1464
|
<tr>
|
1539
1465
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1540
|
-
<td>the expected error code
|
1541
|
-
</td>
|
1466
|
+
<td>the expected error code</td>
|
1542
1467
|
</tr>
|
1543
1468
|
</tbody>
|
1544
1469
|
</table></div>
|
1545
1470
|
<p class="since">Since 2.20</p>
|
1546
1471
|
</div>
|
1547
1472
|
<hr>
|
1548
|
-
<div class="refsect2"
|
1473
|
+
<div class="refsect2">
|
1549
1474
|
<a name="GTestCase"></a><h3>GTestCase</h3>
|
1550
1475
|
<pre class="programlisting">typedef struct GTestCase GTestCase;
|
1551
1476
|
</pre>
|
@@ -1554,7 +1479,7 @@ An opaque structure representing a test case.
|
|
1554
1479
|
</p>
|
1555
1480
|
</div>
|
1556
1481
|
<hr>
|
1557
|
-
<div class="refsect2"
|
1482
|
+
<div class="refsect2">
|
1558
1483
|
<a name="GTestSuite"></a><h3>GTestSuite</h3>
|
1559
1484
|
<pre class="programlisting">typedef struct GTestSuite GTestSuite;
|
1560
1485
|
</pre>
|
@@ -1563,7 +1488,7 @@ An opaque structure representing a test suite.
|
|
1563
1488
|
</p>
|
1564
1489
|
</div>
|
1565
1490
|
<hr>
|
1566
|
-
<div class="refsect2"
|
1491
|
+
<div class="refsect2">
|
1567
1492
|
<a name="GTestFixtureFunc"></a><h3>GTestFixtureFunc ()</h3>
|
1568
1493
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GTestFixtureFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> fixture</code></em>,
|
1569
1494
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> user_data</code></em>);</pre>
|
@@ -1586,21 +1511,19 @@ zero then <em class="parameter"><code>fixture</code></em> will be equal to <em c
|
|
1586
1511
|
<tbody>
|
1587
1512
|
<tr>
|
1588
1513
|
<td><p><span class="term"><em class="parameter"><code>fixture</code></em> :</span></p></td>
|
1589
|
-
<td>the test fixture
|
1590
|
-
</td>
|
1514
|
+
<td>the test fixture</td>
|
1591
1515
|
</tr>
|
1592
1516
|
<tr>
|
1593
1517
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1594
|
-
<td>the data provided when registering the test
|
1595
|
-
</td>
|
1518
|
+
<td>the data provided when registering the test</td>
|
1596
1519
|
</tr>
|
1597
1520
|
</tbody>
|
1598
1521
|
</table></div>
|
1599
1522
|
</div>
|
1600
1523
|
<hr>
|
1601
|
-
<div class="refsect2"
|
1524
|
+
<div class="refsect2">
|
1602
1525
|
<a name="g-test-create-case"></a><h3>g_test_create_case ()</h3>
|
1603
|
-
<pre class="programlisting"><a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="returnvalue">GTestCase</span></a
|
1526
|
+
<pre class="programlisting"><a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="returnvalue">GTestCase</span></a> * g_test_create_case (<em class="parameter"><code>const <span class="type">char</span> *test_name</code></em>,
|
1604
1527
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> data_size</code></em>,
|
1605
1528
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> test_data</code></em>,
|
1606
1529
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()"><span class="type">GTestFixtureFunc</span></a> data_setup</code></em>,
|
@@ -1628,48 +1551,40 @@ called with the same fixture, but varying <em class="parameter"><code>test_name<
|
|
1628
1551
|
<tbody>
|
1629
1552
|
<tr>
|
1630
1553
|
<td><p><span class="term"><em class="parameter"><code>test_name</code></em> :</span></p></td>
|
1631
|
-
<td>the name for the test case
|
1632
|
-
</td>
|
1554
|
+
<td>the name for the test case</td>
|
1633
1555
|
</tr>
|
1634
1556
|
<tr>
|
1635
1557
|
<td><p><span class="term"><em class="parameter"><code>data_size</code></em> :</span></p></td>
|
1636
|
-
<td>the size of the fixture data structure
|
1637
|
-
</td>
|
1558
|
+
<td>the size of the fixture data structure</td>
|
1638
1559
|
</tr>
|
1639
1560
|
<tr>
|
1640
1561
|
<td><p><span class="term"><em class="parameter"><code>test_data</code></em> :</span></p></td>
|
1641
|
-
<td>test data argument for the test functions
|
1642
|
-
</td>
|
1562
|
+
<td>test data argument for the test functions</td>
|
1643
1563
|
</tr>
|
1644
1564
|
<tr>
|
1645
1565
|
<td><p><span class="term"><em class="parameter"><code>data_setup</code></em> :</span></p></td>
|
1646
|
-
<td>the function to set up the fixture data
|
1647
|
-
</td>
|
1566
|
+
<td>the function to set up the fixture data</td>
|
1648
1567
|
</tr>
|
1649
1568
|
<tr>
|
1650
1569
|
<td><p><span class="term"><em class="parameter"><code>data_test</code></em> :</span></p></td>
|
1651
|
-
<td>the actual test function
|
1652
|
-
</td>
|
1570
|
+
<td>the actual test function</td>
|
1653
1571
|
</tr>
|
1654
1572
|
<tr>
|
1655
1573
|
<td><p><span class="term"><em class="parameter"><code>data_teardown</code></em> :</span></p></td>
|
1656
|
-
<td>the function to teardown the fixture data
|
1657
|
-
</td>
|
1574
|
+
<td>the function to teardown the fixture data</td>
|
1658
1575
|
</tr>
|
1659
1576
|
<tr>
|
1660
1577
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1661
|
-
<td>
|
1662
|
-
|
1663
|
-
</td>
|
1578
|
+
<td>a newly allocated <a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="type">GTestCase</span></a>.</td>
|
1664
1579
|
</tr>
|
1665
1580
|
</tbody>
|
1666
1581
|
</table></div>
|
1667
1582
|
<p class="since">Since 2.16</p>
|
1668
1583
|
</div>
|
1669
1584
|
<hr>
|
1670
|
-
<div class="refsect2"
|
1585
|
+
<div class="refsect2">
|
1671
1586
|
<a name="g-test-create-suite"></a><h3>g_test_create_suite ()</h3>
|
1672
|
-
<pre class="programlisting"><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a
|
1587
|
+
<pre class="programlisting"><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a> * g_test_create_suite (<em class="parameter"><code>const <span class="type">char</span> *suite_name</code></em>);</pre>
|
1673
1588
|
<p>
|
1674
1589
|
Create a new test suite with the name <em class="parameter"><code>suite_name</code></em>.
|
1675
1590
|
</p>
|
@@ -1678,23 +1593,20 @@ Create a new test suite with the name <em class="parameter"><code>suite_name</co
|
|
1678
1593
|
<tbody>
|
1679
1594
|
<tr>
|
1680
1595
|
<td><p><span class="term"><em class="parameter"><code>suite_name</code></em> :</span></p></td>
|
1681
|
-
<td>a name for the suite
|
1682
|
-
</td>
|
1596
|
+
<td>a name for the suite</td>
|
1683
1597
|
</tr>
|
1684
1598
|
<tr>
|
1685
1599
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1686
|
-
<td>
|
1687
|
-
|
1688
|
-
</td>
|
1600
|
+
<td>A newly allocated <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> instance.</td>
|
1689
1601
|
</tr>
|
1690
1602
|
</tbody>
|
1691
1603
|
</table></div>
|
1692
1604
|
<p class="since">Since 2.16</p>
|
1693
1605
|
</div>
|
1694
1606
|
<hr>
|
1695
|
-
<div class="refsect2"
|
1607
|
+
<div class="refsect2">
|
1696
1608
|
<a name="g-test-get-root"></a><h3>g_test_get_root ()</h3>
|
1697
|
-
<pre class="programlisting"><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a
|
1609
|
+
<pre class="programlisting"><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="returnvalue">GTestSuite</span></a> * g_test_get_root (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1698
1610
|
<p>
|
1699
1611
|
Get the toplevel test suite for the test path API.
|
1700
1612
|
</p>
|
@@ -1702,15 +1614,14 @@ Get the toplevel test suite for the test path API.
|
|
1702
1614
|
<col align="left" valign="top">
|
1703
1615
|
<tbody><tr>
|
1704
1616
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1705
|
-
<td>
|
1706
|
-
|
1617
|
+
<td>the toplevel <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a>
|
1707
1618
|
</td>
|
1708
1619
|
</tr></tbody>
|
1709
1620
|
</table></div>
|
1710
1621
|
<p class="since">Since 2.16</p>
|
1711
1622
|
</div>
|
1712
1623
|
<hr>
|
1713
|
-
<div class="refsect2"
|
1624
|
+
<div class="refsect2">
|
1714
1625
|
<a name="g-test-suite-add"></a><h3>g_test_suite_add ()</h3>
|
1715
1626
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_suite_add (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *suite</code></em>,
|
1716
1627
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="type">GTestCase</span></a> *test_case</code></em>);</pre>
|
@@ -1735,7 +1646,7 @@ Adds <em class="parameter"><code>test_case</code></em> to <em class="parameter">
|
|
1735
1646
|
<p class="since">Since 2.16</p>
|
1736
1647
|
</div>
|
1737
1648
|
<hr>
|
1738
|
-
<div class="refsect2"
|
1649
|
+
<div class="refsect2">
|
1739
1650
|
<a name="g-test-suite-add-suite"></a><h3>g_test_suite_add_suite ()</h3>
|
1740
1651
|
<pre class="programlisting"><span class="returnvalue">void</span> g_test_suite_add_suite (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *suite</code></em>,
|
1741
1652
|
<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *nestedsuite</code></em>);</pre>
|
@@ -1760,7 +1671,7 @@ Adds <em class="parameter"><code>nestedsuite</code></em> to <em class="parameter
|
|
1760
1671
|
<p class="since">Since 2.16</p>
|
1761
1672
|
</div>
|
1762
1673
|
<hr>
|
1763
|
-
<div class="refsect2"
|
1674
|
+
<div class="refsect2">
|
1764
1675
|
<a name="g-test-run-suite"></a><h3>g_test_run_suite ()</h3>
|
1765
1676
|
<pre class="programlisting"><span class="returnvalue">int</span> g_test_run_suite (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *suite</code></em>);</pre>
|
1766
1677
|
<p>
|
@@ -1781,16 +1692,14 @@ in a program.
|
|
1781
1692
|
</tr>
|
1782
1693
|
<tr>
|
1783
1694
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1784
|
-
<td>
|
1785
|
-
|
1786
|
-
</td>
|
1695
|
+
<td>0 on success</td>
|
1787
1696
|
</tr>
|
1788
1697
|
</tbody>
|
1789
1698
|
</table></div>
|
1790
1699
|
<p class="since">Since 2.16</p>
|
1791
1700
|
</div>
|
1792
1701
|
</div>
|
1793
|
-
<div class="refsect1"
|
1702
|
+
<div class="refsect1">
|
1794
1703
|
<a name="glib-Testing.see-also"></a><h2>See Also</h2>
|
1795
1704
|
<p>
|
1796
1705
|
<a href="gtester.html">gtester</a>,
|
@@ -1800,6 +1709,6 @@ in a program.
|
|
1800
1709
|
</div>
|
1801
1710
|
<div class="footer">
|
1802
1711
|
<hr>
|
1803
|
-
Generated by GTK-Doc V1.
|
1712
|
+
Generated by GTK-Doc V1.16.1</div>
|
1804
1713
|
</body>
|
1805
1714
|
</html>
|