atk 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (765) hide show
  1. data/ChangeLog +9 -0
  2. data/Rakefile +8 -70
  3. data/ext/atk/Makefile +160 -0
  4. data/ext/atk/extconf.rb +9 -9
  5. data/ext/atk/rbatkversion.h +24 -0
  6. data/lib/1.8/atk.so +0 -0
  7. data/lib/1.9/atk.so +0 -0
  8. data/vendor/local/lib/pkgconfig/atk.pc +1 -1
  9. metadata +150 -902
  10. data/vendor/local/bin/envsubst.exe +0 -0
  11. data/vendor/local/bin/gettext.exe +0 -0
  12. data/vendor/local/bin/gettext.sh +0 -123
  13. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  14. data/vendor/local/bin/glib-gettextize +0 -188
  15. data/vendor/local/bin/glib-mkenums +0 -537
  16. data/vendor/local/bin/gobject-query.exe +0 -0
  17. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  18. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  19. data/vendor/local/bin/intl.dll +0 -0
  20. data/vendor/local/bin/libasprintf-0.dll +0 -0
  21. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  22. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  23. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  24. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  25. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  26. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  27. data/vendor/local/bin/ngettext.exe +0 -0
  28. data/vendor/local/include/autosprintf.h +0 -66
  29. data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
  30. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
  31. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
  32. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
  33. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
  34. data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
  35. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
  36. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
  37. data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
  38. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
  39. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
  40. data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
  41. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
  42. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
  43. data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
  44. data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
  45. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
  46. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
  47. data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
  48. data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
  49. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
  50. data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
  51. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
  52. data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
  53. data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
  54. data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
  55. data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
  56. data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
  57. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
  58. data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
  59. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
  60. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
  61. data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
  62. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
  63. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
  64. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
  65. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
  66. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
  67. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
  68. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
  69. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
  70. data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
  71. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
  72. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
  73. data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
  74. data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
  75. data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
  76. data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
  77. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
  78. data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
  79. data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
  80. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
  81. data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
  82. data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
  83. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
  84. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
  85. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
  86. data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
  87. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
  88. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
  89. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
  90. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
  91. data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
  92. data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
  93. data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
  94. data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
  95. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
  96. data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
  97. data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
  98. data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
  99. data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
  100. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
  101. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
  102. data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
  103. data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
  104. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
  105. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
  106. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
  107. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
  108. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
  109. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
  110. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
  111. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
  112. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
  113. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
  114. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
  115. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
  116. data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
  117. data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
  118. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
  119. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
  120. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
  121. data/vendor/local/include/glib-2.0/glib-object.h +0 -42
  122. data/vendor/local/include/glib-2.0/glib.h +0 -99
  123. data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
  124. data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
  125. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
  126. data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
  127. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
  128. data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
  129. data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
  130. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
  131. data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
  132. data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
  133. data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
  134. data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
  135. data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
  136. data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
  137. data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
  138. data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
  139. data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
  140. data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
  141. data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
  142. data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
  143. data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
  144. data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
  145. data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
  146. data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
  147. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
  148. data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
  149. data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
  150. data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
  151. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
  152. data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
  153. data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
  154. data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
  155. data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
  156. data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
  157. data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
  158. data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
  159. data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
  160. data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
  161. data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
  162. data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
  163. data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
  164. data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
  165. data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
  166. data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
  167. data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
  168. data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
  169. data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
  170. data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
  171. data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
  172. data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
  173. data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
  174. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
  175. data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
  176. data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
  177. data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
  178. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
  179. data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
  180. data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
  181. data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
  182. data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
  183. data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
  184. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
  185. data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
  186. data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
  187. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
  188. data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
  189. data/vendor/local/include/glib-2.0/gmodule.h +0 -101
  190. data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
  191. data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
  192. data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
  193. data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
  194. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
  195. data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
  196. data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
  197. data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
  198. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
  199. data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
  200. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
  201. data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
  202. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
  203. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
  204. data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
  205. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
  206. data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
  207. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
  208. data/vendor/local/include/libintl.h +0 -464
  209. data/vendor/local/lib/GNU.Gettext.dll +0 -0
  210. data/vendor/local/lib/gio-2.0.def +0 -1143
  211. data/vendor/local/lib/gio-2.0.lib +0 -0
  212. data/vendor/local/lib/glib-2.0.def +0 -1452
  213. data/vendor/local/lib/glib-2.0.lib +0 -0
  214. data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
  215. data/vendor/local/lib/gmodule-2.0.def +0 -11
  216. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  217. data/vendor/local/lib/gobject-2.0.def +0 -370
  218. data/vendor/local/lib/gobject-2.0.lib +0 -0
  219. data/vendor/local/lib/gthread-2.0.def +0 -3
  220. data/vendor/local/lib/gthread-2.0.lib +0 -0
  221. data/vendor/local/lib/intl.lib +0 -0
  222. data/vendor/local/lib/libasprintf.dll.a +0 -0
  223. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  224. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  225. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  226. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  227. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  228. data/vendor/local/lib/libintl.def +0 -31
  229. data/vendor/local/lib/libintl.dll.a +0 -0
  230. data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
  231. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
  232. data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
  233. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
  234. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
  235. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
  236. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
  237. data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
  238. data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
  239. data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
  240. data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
  241. data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
  242. data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
  243. data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
  244. data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
  245. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
  246. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
  247. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
  248. data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
  249. data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
  250. data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
  251. data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
  252. data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
  253. data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
  254. data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
  255. data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
  256. data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
  257. data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
  258. data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
  259. data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
  260. data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
  261. data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
  262. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
  263. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
  264. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
  265. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
  266. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
  267. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
  268. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
  269. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
  270. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
  271. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
  272. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
  273. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
  274. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
  275. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
  276. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
  277. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
  278. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
  279. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
  280. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
  281. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
  282. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
  283. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
  284. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
  285. data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
  286. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
  287. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
  288. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
  289. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
  290. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
  291. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
  292. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
  293. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
  294. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
  295. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
  296. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
  297. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
  298. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
  299. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
  300. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
  301. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
  302. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
  303. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
  304. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
  305. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
  306. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
  307. data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
  308. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
  309. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
  310. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
  311. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
  312. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
  313. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
  314. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
  315. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
  316. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
  317. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
  318. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
  319. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
  320. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
  321. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
  322. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
  323. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
  324. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
  325. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
  326. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
  327. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
  328. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
  329. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
  330. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
  331. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
  332. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
  333. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
  334. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
  335. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
  336. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
  337. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
  338. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
  339. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
  340. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
  341. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
  342. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
  343. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
  344. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
  345. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
  346. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
  347. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
  348. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
  349. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
  350. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
  351. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
  352. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
  353. data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
  354. data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
  355. data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
  356. data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
  357. data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
  358. data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
  359. data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
  360. data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
  361. data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
  362. data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
  363. data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
  364. data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
  365. data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
  366. data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
  367. data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
  368. data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
  369. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
  370. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
  371. data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
  372. data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
  373. data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
  374. data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
  375. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
  376. data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
  377. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
  378. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
  379. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
  380. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
  381. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
  382. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
  383. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
  384. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
  385. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
  386. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
  387. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
  388. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
  389. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
  390. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
  391. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
  392. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
  393. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
  394. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
  395. data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
  396. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
  397. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
  398. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
  399. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
  400. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
  401. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
  402. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
  403. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
  404. data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
  405. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
  406. data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
  407. data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
  408. data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
  409. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
  410. data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
  411. data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
  412. data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
  413. data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
  414. data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
  415. data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
  416. data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
  417. data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
  418. data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
  419. data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
  420. data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
  421. data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
  422. data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
  423. data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
  424. data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
  425. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
  426. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
  427. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
  428. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
  429. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
  430. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
  431. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
  432. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
  433. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
  434. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
  435. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
  436. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
  437. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
  438. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
  439. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
  440. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
  441. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
  442. data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
  443. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +0 -893
  444. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
  445. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
  450. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
  451. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
  452. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
  453. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
  454. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
  455. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
  456. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
  457. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
  458. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
  459. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
  460. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
  461. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
  462. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
  463. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
  464. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
  465. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
  466. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
  467. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
  468. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
  469. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
  470. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
  471. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
  472. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
  473. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
  474. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
  475. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
  476. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
  477. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
  478. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
  479. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
  480. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
  481. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
  482. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
  483. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
  484. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
  485. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
  486. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
  487. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
  488. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
  489. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
  490. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
  491. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
  492. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
  493. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
  494. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
  495. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
  496. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
  497. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
  498. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
  499. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
  500. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
  501. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
  502. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
  503. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
  504. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
  505. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
  506. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
  507. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
  508. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
  509. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
  510. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
  511. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
  512. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
  513. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
  514. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
  515. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
  516. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
  517. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
  518. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
  519. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
  520. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
  521. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
  522. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
  523. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
  524. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
  525. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
  526. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
  527. data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
  528. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
  529. data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
  530. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
  531. data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
  532. data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
  533. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
  534. data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
  535. data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
  536. data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
  537. data/vendor/local/share/gtk-doc/html/glib/style.css +0 -265
  538. data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
  539. data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
  540. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
  541. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
  542. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
  543. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
  544. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
  545. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
  546. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
  547. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
  548. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
  549. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
  550. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
  551. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
  552. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
  553. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
  554. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
  555. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
  556. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
  557. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
  558. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
  559. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
  560. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
  561. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
  562. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
  563. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
  564. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
  565. data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
  566. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
  567. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
  568. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
  569. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
  570. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
  571. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
  572. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
  573. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
  574. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
  575. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
  576. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
  577. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
  578. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
  579. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
  580. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
  581. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
  582. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
  583. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
  584. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
  585. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
  586. data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
  587. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
  588. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
  589. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
  590. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
  591. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
  592. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
  593. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
  594. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
  595. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
  596. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
  597. data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
  598. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
  599. data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
  600. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
  601. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
  602. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
  603. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
  604. data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
  605. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
  606. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
  607. data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
  608. data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
  609. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
  610. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
  611. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
  612. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
  613. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
  614. data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
  615. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  616. data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
  617. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  618. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  619. data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
  620. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  621. data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
  622. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  623. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  624. data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
  625. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  626. data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
  627. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  628. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  629. data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
  630. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  631. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  632. data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
  633. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  634. data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
  635. data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
  636. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  637. data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
  638. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  639. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  640. data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
  641. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  642. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
  643. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
  644. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  645. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  646. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  647. data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
  648. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  649. data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
  650. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  651. data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
  652. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  653. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  654. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  655. data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
  656. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  657. data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
  658. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  659. data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
  660. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  661. data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
  662. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  663. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  664. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  665. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  666. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  667. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  668. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  669. data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
  670. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  671. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  672. data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
  673. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  674. data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
  675. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  676. data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
  677. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  678. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  679. data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
  680. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  681. data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
  682. data/vendor/local/share/locale/locale.alias +0 -77
  683. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  684. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  685. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  686. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  687. data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
  688. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  689. data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
  690. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  691. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  692. data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
  693. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  694. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  695. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  696. data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
  697. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  698. data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
  699. data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
  700. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  701. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  702. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  703. data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
  704. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  705. data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
  706. data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
  707. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  708. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
  709. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  710. data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
  711. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  712. data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
  713. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  714. data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
  715. data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
  716. data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
  717. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  718. data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
  719. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  720. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  721. data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
  722. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  723. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  724. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  725. data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
  726. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  727. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  728. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  729. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  730. data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
  731. data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
  732. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  733. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  734. data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
  735. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  736. data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
  737. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  738. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  739. data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
  740. data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
  741. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
  742. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  743. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
  744. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  745. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
  746. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  747. data/vendor/local/share/man/man1/envsubst.1 +0 -54
  748. data/vendor/local/share/man/man1/gettext.1 +0 -69
  749. data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
  750. data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
  751. data/vendor/local/share/man/man1/gobject-query.1 +0 -83
  752. data/vendor/local/share/man/man1/ngettext.1 +0 -68
  753. data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
  754. data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
  755. data/vendor/local/share/man/man3/dcgettext.3 +0 -1
  756. data/vendor/local/share/man/man3/dcngettext.3 +0 -1
  757. data/vendor/local/share/man/man3/dgettext.3 +0 -1
  758. data/vendor/local/share/man/man3/dngettext.3 +0 -1
  759. data/vendor/local/share/man/man3/gettext.3 +0 -99
  760. data/vendor/local/share/man/man3/ngettext.3 +0 -60
  761. data/vendor/local/share/man/man3/textdomain.3 +0 -57
  762. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
  763. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
  764. data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
  765. data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
@@ -1,1805 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>Testing</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
- <link rel="home" href="index.html" title="GLib Reference Manual">
8
- <link rel="up" href="glib-utilities.html" title="GLib Utilities">
9
- <link rel="prev" href="glib-Bookmark-file-parser.html" title="Bookmark file parser">
10
- <link rel="next" href="glib-Windows-Compatibility-Functions.html" title="Windows Compatibility Functions">
11
- <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
- <link rel="stylesheet" href="style.css" type="text/css">
13
- </head>
14
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="glib-Bookmark-file-parser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">GLib Reference Manual</th>
21
- <td><a accesskey="n" href="glib-Windows-Compatibility-Functions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#glib-Testing.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#glib-Testing.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
29
- <div class="refentry">
30
- <a name="glib-Testing"></a><div class="titlepage"></div>
31
- <div class="refnamediv"><table width="100%"><tr>
32
- <td valign="top">
33
- <h2><span class="refentrytitle"><a name="glib-Testing.top_of_page"></a>Testing</span></h2>
34
- <p>Testing — a test framework</p>
35
- </td>
36
- <td valign="top" align="right"></td>
37
- </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="glib-Testing.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">
41
- #include &lt;glib.h&gt;
42
-
43
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-minimized-result" title="g_test_minimized_result ()">g_test_minimized_result</a> (<em class="parameter"><code><span class="type">double</span> minimized_quantity</code></em>,
44
- <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
45
- <em class="parameter"><code>...</code></em>);
46
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-maximized-result" title="g_test_maximized_result ()">g_test_maximized_result</a> (<em class="parameter"><code><span class="type">double</span> maximized_quantity</code></em>,
47
- <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
48
- <em class="parameter"><code>...</code></em>);
49
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-init" title="g_test_init ()">g_test_init</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
50
- <em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
51
- <em class="parameter"><code>...</code></em>);
52
- #define <a class="link" href="glib-Testing.html#g-test-quick" title="g_test_quick">g_test_quick</a>
53
- #define <a class="link" href="glib-Testing.html#g-test-slow" title="g_test_slow">g_test_slow</a>
54
- #define <a class="link" href="glib-Testing.html#g-test-thorough" title="g_test_thorough">g_test_thorough</a>
55
- #define <a class="link" href="glib-Testing.html#g-test-perf" title="g_test_perf">g_test_perf</a>
56
- #define <a class="link" href="glib-Testing.html#g-test-verbose" title="g_test_verbose">g_test_verbose</a>
57
- #define <a class="link" href="glib-Testing.html#g-test-quiet" title="g_test_quiet">g_test_quiet</a>
58
- <span class="returnvalue">int</span> <a class="link" href="glib-Testing.html#g-test-run" title="g_test_run ()">g_test_run</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
59
- <span class="returnvalue">void</span> (<a class="link" href="glib-Testing.html#GTestFunc" title="GTestFunc ()">*GTestFunc</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
60
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-add-func" title="g_test_add_func ()">g_test_add_func</a> (<em class="parameter"><code>const <span class="type">char</span> *testpath</code></em>,
61
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFunc" title="GTestFunc ()"><span class="type">GTestFunc</span></a> test_func</code></em>);
62
- <span class="returnvalue">void</span> (<a class="link" href="glib-Testing.html#GTestDataFunc" title="GTestDataFunc ()">*GTestDataFunc</a>) (<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>);
63
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-add-data-func" title="g_test_add_data_func ()">g_test_add_data_func</a> (<em class="parameter"><code>const <span class="type">char</span> *testpath</code></em>,
64
- <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>,
65
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestDataFunc" title="GTestDataFunc ()"><span class="type">GTestDataFunc</span></a> test_func</code></em>);
66
- #define <a class="link" href="glib-Testing.html#g-test-add" title="g_test_add()">g_test_add</a> (testpath,
67
- Fixture,
68
- tdata,
69
- fsetup,
70
- ftest,
71
- fteardown)
72
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-message" title="g_test_message ()">g_test_message</a> (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
73
- <em class="parameter"><code>...</code></em>);
74
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-bug-base" title="g_test_bug_base ()">g_test_bug_base</a> (<em class="parameter"><code>const <span class="type">char</span> *uri_pattern</code></em>);
75
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-bug" title="g_test_bug ()">g_test_bug</a> (<em class="parameter"><code>const <span class="type">char</span> *bug_uri_snippet</code></em>);
76
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="glib-Testing.html#GTestLogFatalFunc" title="GTestLogFatalFunc ()">*GTestLogFatalFunc</a>) (<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>,
77
- <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>,
78
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>,
79
- <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>);
80
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-log-set-fatal-handler" title="g_test_log_set_fatal_handler ()">g_test_log_set_fatal_handler</a> (<em class="parameter"><code><a class="link" href="glib-Testing.html#GTestLogFatalFunc" title="GTestLogFatalFunc ()"><span class="type">GTestLogFatalFunc</span></a> log_func</code></em>,
81
- <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>);
82
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-timer-start" title="g_test_timer_start ()">g_test_timer_start</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
83
- <span class="returnvalue">double</span> <a class="link" href="glib-Testing.html#g-test-timer-elapsed" title="g_test_timer_elapsed ()">g_test_timer_elapsed</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
84
- <span class="returnvalue">double</span> <a class="link" href="glib-Testing.html#g-test-timer-last" title="g_test_timer_last ()">g_test_timer_last</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
85
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-queue-free" title="g_test_queue_free ()">g_test_queue_free</a> (<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>);
86
- <span class="returnvalue">void</span> <a class="link" href="glib-Testing.html#g-test-queue-destroy" title="g_test_queue_destroy ()">g_test_queue_destroy</a> (<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>,
87
- <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>);
88
- #define <a class="link" href="glib-Testing.html#g-test-queue-unref" title="g_test_queue_unref()">g_test_queue_unref</a> (gobject)
89
- enum <a class="link" href="glib-Testing.html#GTestTrapFlags" title="enum GTestTrapFlags">GTestTrapFlags</a>;
90
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()">g_test_trap_fork</a> (<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>,
91
- <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>);
92
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Testing.html#g-test-trap-has-passed" title="g_test_trap_has_passed ()">g_test_trap_has_passed</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
93
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Testing.html#g-test-trap-reached-timeout" title="g_test_trap_reached_timeout ()">g_test_trap_reached_timeout</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
94
- #define <a class="link" href="glib-Testing.html#g-test-trap-assert-passed" title="g_test_trap_assert_passed">g_test_trap_assert_passed</a>
95
- #define <a class="link" href="glib-Testing.html#g-test-trap-assert-failed" title="g_test_trap_assert_failed">g_test_trap_assert_failed</a>
96
- #define <a class="link" href="glib-Testing.html#g-test-trap-assert-stdout" title="g_test_trap_assert_stdout()">g_test_trap_assert_stdout</a> (soutpattern)
97
- #define <a class="link" href="glib-Testing.html#g-test-trap-assert-stdout-unmatched" title="g_test_trap_assert_stdout_unmatched()">g_test_trap_assert_stdout_unmatched</a> (soutpattern)
98
- #define <a class="link" href="glib-Testing.html#g-test-trap-assert-stderr" title="g_test_trap_assert_stderr()">g_test_trap_assert_stderr</a> (serrpattern)
99
- #define <a class="link" href="glib-Testing.html#g-test-trap-assert-stderr-unmatched" title="g_test_trap_assert_stderr_unmatched()">g_test_trap_assert_stderr_unmatched</a> (serrpattern)
100
- #define <a class="link" href="glib-Testing.html#g-test-rand-bit" title="g_test_rand_bit">g_test_rand_bit</a>
101
- <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_int ()">g_test_rand_int</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
102
- <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="glib-Testing.html#g-test-rand-int-range" title="g_test_rand_int_range ()">g_test_rand_int_range</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> begin</code></em>,
103
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> end</code></em>);
104
- <span class="returnvalue">double</span> <a class="link" href="glib-Testing.html#g-test-rand-double" title="g_test_rand_double ()">g_test_rand_double</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
105
- <span class="returnvalue">double</span> <a class="link" href="glib-Testing.html#g-test-rand-double-range" title="g_test_rand_double_range ()">g_test_rand_double_range</a> (<em class="parameter"><code><span class="type">double</span> range_start</code></em>,
106
- <em class="parameter"><code><span class="type">double</span> range_end</code></em>);
107
- #define <a class="link" href="glib-Testing.html#g-assert" title="g_assert()">g_assert</a> (expr)
108
- #define <a class="link" href="glib-Testing.html#g-assert-not-reached" title="g_assert_not_reached">g_assert_not_reached</a>
109
- #define <a class="link" href="glib-Testing.html#g-assert-cmpstr" title="g_assert_cmpstr()">g_assert_cmpstr</a> (s1,
110
- cmp,
111
- s2)
112
- #define <a class="link" href="glib-Testing.html#g-assert-cmpint" title="g_assert_cmpint()">g_assert_cmpint</a> (n1,
113
- cmp,
114
- n2)
115
- #define <a class="link" href="glib-Testing.html#g-assert-cmpuint" title="g_assert_cmpuint()">g_assert_cmpuint</a> (n1,
116
- cmp,
117
- n2)
118
- #define <a class="link" href="glib-Testing.html#g-assert-cmphex" title="g_assert_cmphex()">g_assert_cmphex</a> (n1,
119
- cmp,
120
- n2)
121
- #define <a class="link" href="glib-Testing.html#g-assert-cmpfloat" title="g_assert_cmpfloat()">g_assert_cmpfloat</a> (n1,
122
- cmp,
123
- n2)
124
- #define <a class="link" href="glib-Testing.html#g-assert-no-error" title="g_assert_no_error()">g_assert_no_error</a> (err)
125
- #define <a class="link" href="glib-Testing.html#g-assert-error" title="g_assert_error()">g_assert_error</a> (err,
126
- dom,
127
- c)
128
- typedef <a class="link" href="glib-Testing.html#GTestCase" title="GTestCase">GTestCase</a>;
129
- typedef <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite">GTestSuite</a>;
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
- <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> * <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
- <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
- <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
- <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
- <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
- <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> * <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
- <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
- <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
- <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>,
143
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *nestedsuite</code></em>);
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
- </pre>
146
- </div>
147
- <div class="refsect1">
148
- <a name="glib-Testing.description"></a><h2>Description</h2>
149
- <p>
150
- GLib provides a framework for writing and maintaining unit tests
151
- in parallel to the code they are testing. The API is designed according
152
- to established concepts found in the other test frameworks (JUnit, NUnit,
153
- RUnit), which in turn is based on smalltalk unit testing concepts.
154
- </p>
155
- <div class="variablelist"><table border="0">
156
- <col align="left" valign="top">
157
- <tbody>
158
- <tr>
159
- <td><p><span class="term">Test case</span></p></td>
160
- <td><p>
161
- Tests (test methods) are grouped together with their
162
- fixture into test cases.
163
- </p></td>
164
- </tr>
165
- <tr>
166
- <td><p><span class="term">Fixture</span></p></td>
167
- <td><p>
168
- A test fixture consists of fixture data and setup and teardown methods
169
- to establish the environment for the test functions. We use fresh
170
- fixtures, i.e. fixtures are newly set up and torn down around each test
171
- invocation to avoid dependencies between tests.
172
- </p></td>
173
- </tr>
174
- <tr>
175
- <td><p><span class="term">Test suite</span></p></td>
176
- <td><p>
177
- Test cases can be grouped into test suites, to allow subsets of the
178
- available tests to be run. Test suites can be grouped into other test
179
- suites as well.
180
- </p></td>
181
- </tr>
182
- </tbody>
183
- </table></div>
184
- <p>
185
- The API is designed to handle creation and registration of test suites and
186
- test cases implicitly. A simple call like
187
- </p>
188
- <div class="informalexample">
189
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
190
- <tbody>
191
- <tr>
192
- <td class="listing_lines" align="right"><pre>1</pre></td>
193
- <td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Testing.html#g-test-add-func">g_test_add_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"/misc/assertions"</span><span class="symbol">,</span><span class="normal"> test_assertions</span><span class="symbol">);</span></pre></td>
194
- </tr>
195
- </tbody>
196
- </table>
197
- </div>
198
-
199
- <p>
200
- creates a test suite called "misc" with a single test case named "assertions",
201
- which consists of running the test_assertions function.
202
- </p>
203
- <p>
204
- In addition to the traditional <a class="link" href="glib-Testing.html#g-assert" title="g_assert()"><code class="function">g_assert()</code></a>, the test framework provides
205
- an extended set of assertions for string and numerical comparisons:
206
- <a class="link" href="glib-Testing.html#g-assert-cmpfloat" title="g_assert_cmpfloat()"><code class="function">g_assert_cmpfloat()</code></a>, <a class="link" href="glib-Testing.html#g-assert-cmpint" title="g_assert_cmpint()"><code class="function">g_assert_cmpint()</code></a>, <a class="link" href="glib-Testing.html#g-assert-cmpuint" title="g_assert_cmpuint()"><code class="function">g_assert_cmpuint()</code></a>, <a class="link" href="glib-Testing.html#g-assert-cmphex" title="g_assert_cmphex()"><code class="function">g_assert_cmphex()</code></a>,
207
- <a class="link" href="glib-Testing.html#g-assert-cmpstr" title="g_assert_cmpstr()"><code class="function">g_assert_cmpstr()</code></a>. The advantage of these variants over plain <a class="link" href="glib-Testing.html#g-assert" title="g_assert()"><code class="function">g_assert()</code></a>
208
- is that the assertion messages can be more elaborate, and include the
209
- values of the compared entities.
210
- </p>
211
- <p>
212
- GLib ships with two utilities called gtester and gtester-report to
213
- facilitate running tests and producing nicely formatted test reports.
214
- </p>
215
- </div>
216
- <div class="refsect1">
217
- <a name="glib-Testing.details"></a><h2>Details</h2>
218
- <div class="refsect2">
219
- <a name="g-test-minimized-result"></a><h3>g_test_minimized_result ()</h3>
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
- <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
222
- <em class="parameter"><code>...</code></em>);</pre>
223
- <p>
224
- Report the result of a performance or measurement test.
225
- The test should generally strive to minimize the reported
226
- quantities (smaller values are better than larger ones),
227
- this and <em class="parameter"><code>minimized_quantity</code></em> can determine sorting
228
- order for test result reports.
229
- </p>
230
- <div class="variablelist"><table border="0">
231
- <col align="left" valign="top">
232
- <tbody>
233
- <tr>
234
- <td><p><span class="term"><em class="parameter"><code>minimized_quantity</code></em> :</span></p></td>
235
- <td>the reported value
236
- </td>
237
- </tr>
238
- <tr>
239
- <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>
242
- </tr>
243
- <tr>
244
- <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>
247
- </tr>
248
- </tbody>
249
- </table></div>
250
- <p class="since">Since 2.16</p>
251
- </div>
252
- <hr>
253
- <div class="refsect2">
254
- <a name="g-test-maximized-result"></a><h3>g_test_maximized_result ()</h3>
255
- <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
- <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
257
- <em class="parameter"><code>...</code></em>);</pre>
258
- <p>
259
- Report the result of a performance or measurement test.
260
- The test should generally strive to maximize the reported
261
- quantities (larger values are better than smaller ones),
262
- this and <em class="parameter"><code>maximized_quantity</code></em> can determine sorting
263
- order for test result reports.
264
- </p>
265
- <div class="variablelist"><table border="0">
266
- <col align="left" valign="top">
267
- <tbody>
268
- <tr>
269
- <td><p><span class="term"><em class="parameter"><code>maximized_quantity</code></em> :</span></p></td>
270
- <td>the reported value
271
- </td>
272
- </tr>
273
- <tr>
274
- <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>
277
- </tr>
278
- <tr>
279
- <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>
282
- </tr>
283
- </tbody>
284
- </table></div>
285
- <p class="since">Since 2.16</p>
286
- </div>
287
- <hr>
288
- <div class="refsect2">
289
- <a name="g-test-init"></a><h3>g_test_init ()</h3>
290
- <pre class="programlisting"><span class="returnvalue">void</span> g_test_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
291
- <em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
292
- <em class="parameter"><code>...</code></em>);</pre>
293
- <p>
294
- Initialize the GLib testing framework, e.g. by seeding the
295
- test random number generator, the name for <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a>
296
- and parsing test related command line args.
297
- So far, the following arguments are understood:
298
- </p>
299
- <div class="variablelist"><table border="0">
300
- <col align="left" valign="top">
301
- <tbody>
302
- <tr>
303
- <td><p><span class="term"><code class="option">-l</code></span></p></td>
304
- <td><p>
305
- list test cases available in a test executable.
306
- </p></td>
307
- </tr>
308
- <tr>
309
- <td><p><span class="term"><code class="option">--seed=<em class="replaceable"><code>RANDOMSEED</code></em></code></span></p></td>
310
- <td><p>
311
- provide a random seed to reproduce test runs using random numbers.
312
- </p></td>
313
- </tr>
314
- <tr>
315
- <td><p><span class="term"><code class="option">--verbose</code></span></p></td>
316
- <td><p>run tests verbosely.</p></td>
317
- </tr>
318
- <tr>
319
- <td><p><span class="term"><code class="option">-q</code>, <code class="option">--quiet</code></span></p></td>
320
- <td><p>run tests quietly.</p></td>
321
- </tr>
322
- <tr>
323
- <td><p><span class="term"><code class="option">-p <em class="replaceable"><code>TESTPATH</code></em></code></span></p></td>
324
- <td><p>
325
- execute all tests matching <em class="replaceable"><code>TESTPATH</code></em>.
326
- </p></td>
327
- </tr>
328
- <tr>
329
- <td><p><span class="term"><code class="option">-m {perf|slow|thorough|quick}</code></span></p></td>
330
- <td>
331
- <p>
332
- execute tests according to these test modes:
333
- </p>
334
- <div class="variablelist"><table border="0">
335
- <col align="left" valign="top">
336
- <tbody>
337
- <tr>
338
- <td><p><span class="term">perf</span></p></td>
339
- <td><p>
340
- performance tests, may take long and report results.
341
- </p></td>
342
- </tr>
343
- <tr>
344
- <td><p><span class="term">slow, thorough</span></p></td>
345
- <td><p>
346
- slow and thorough tests, may take quite long and
347
- maximize coverage.
348
- </p></td>
349
- </tr>
350
- <tr>
351
- <td><p><span class="term">quick</span></p></td>
352
- <td><p>
353
- quick tests, should run really quickly and give good coverage.
354
- </p></td>
355
- </tr>
356
- </tbody>
357
- </table></div>
358
- <p>
359
- </p>
360
- </td>
361
- </tr>
362
- <tr>
363
- <td><p><span class="term"><code class="option">--debug-log</code></span></p></td>
364
- <td><p>debug test logging output.</p></td>
365
- </tr>
366
- <tr>
367
- <td><p><span class="term"><code class="option">-k</code>, <code class="option">--keep-going</code></span></p></td>
368
- <td><p>gtester-specific argument.</p></td>
369
- </tr>
370
- <tr>
371
- <td><p><span class="term"><code class="option">--GTestLogFD <em class="replaceable"><code>N</code></em></code></span></p></td>
372
- <td><p>gtester-specific argument.</p></td>
373
- </tr>
374
- <tr>
375
- <td><p><span class="term"><code class="option">--GTestSkipCount <em class="replaceable"><code>N</code></em></code></span></p></td>
376
- <td><p>gtester-specific argument.</p></td>
377
- </tr>
378
- </tbody>
379
- </table></div>
380
- <p>
381
- </p>
382
- <div class="variablelist"><table border="0">
383
- <col align="left" valign="top">
384
- <tbody>
385
- <tr>
386
- <td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
387
- <td>Address of the <em class="parameter"><code>argc</code></em> parameter of the <code class="function">main()</code> function.
388
- Changed if any arguments were handled.
389
- </td>
390
- </tr>
391
- <tr>
392
- <td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
393
- <td>Address of the <em class="parameter"><code>argv</code></em> parameter of <code class="function">main()</code>.
394
- 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.
395
- </td>
396
- </tr>
397
- <tr>
398
- <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>
401
- </tr>
402
- </tbody>
403
- </table></div>
404
- <p class="since">Since 2.16</p>
405
- </div>
406
- <hr>
407
- <div class="refsect2">
408
- <a name="g-test-quick"></a><h3>g_test_quick</h3>
409
- <pre class="programlisting">#define g_test_quick()</pre>
410
- <p>
411
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if tests are run in quick mode.
412
- </p>
413
- </div>
414
- <hr>
415
- <div class="refsect2">
416
- <a name="g-test-slow"></a><h3>g_test_slow</h3>
417
- <pre class="programlisting">#define g_test_slow()</pre>
418
- <p>
419
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if tests are run in slow mode.
420
- </p>
421
- </div>
422
- <hr>
423
- <div class="refsect2">
424
- <a name="g-test-thorough"></a><h3>g_test_thorough</h3>
425
- <pre class="programlisting">#define g_test_thorough()</pre>
426
- <p>
427
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if tests are run in thorough mode.
428
- </p>
429
- </div>
430
- <hr>
431
- <div class="refsect2">
432
- <a name="g-test-perf"></a><h3>g_test_perf</h3>
433
- <pre class="programlisting">#define g_test_perf()</pre>
434
- <p>
435
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if tests are run in performance mode.
436
- </p>
437
- </div>
438
- <hr>
439
- <div class="refsect2">
440
- <a name="g-test-verbose"></a><h3>g_test_verbose</h3>
441
- <pre class="programlisting">#define g_test_verbose()</pre>
442
- <p>
443
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if tests are run in verbose mode.
444
- </p>
445
- </div>
446
- <hr>
447
- <div class="refsect2">
448
- <a name="g-test-quiet"></a><h3>g_test_quiet</h3>
449
- <pre class="programlisting">#define g_test_quiet()</pre>
450
- <p>
451
- Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if tests are run in quiet mode.
452
- </p>
453
- </div>
454
- <hr>
455
- <div class="refsect2">
456
- <a name="g-test-run"></a><h3>g_test_run ()</h3>
457
- <pre class="programlisting"><span class="returnvalue">int</span> g_test_run (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
458
- <p>
459
- Runs all tests under the toplevel suite which can be retrieved
460
- with <a class="link" href="glib-Testing.html#g-test-get-root" title="g_test_get_root ()"><code class="function">g_test_get_root()</code></a>. Similar to <a class="link" href="glib-Testing.html#g-test-run-suite" title="g_test_run_suite ()"><code class="function">g_test_run_suite()</code></a>, the test
461
- cases to be run are filtered according to
462
- test path arguments (-p <em class="replaceable"><code>testpath</code></em>) as
463
- parsed by <a class="link" href="glib-Testing.html#g-test-init" title="g_test_init ()"><code class="function">g_test_init()</code></a>.
464
- <a class="link" href="glib-Testing.html#g-test-run-suite" title="g_test_run_suite ()"><code class="function">g_test_run_suite()</code></a> or <a class="link" href="glib-Testing.html#g-test-run" title="g_test_run ()"><code class="function">g_test_run()</code></a> may only be called once
465
- in a program.
466
- </p>
467
- <div class="variablelist"><table border="0">
468
- <col align="left" valign="top">
469
- <tbody><tr>
470
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
471
- <td> 0 on success
472
-
473
- </td>
474
- </tr></tbody>
475
- </table></div>
476
- <p class="since">Since 2.16</p>
477
- </div>
478
- <hr>
479
- <div class="refsect2">
480
- <a name="GTestFunc"></a><h3>GTestFunc ()</h3>
481
- <pre class="programlisting"><span class="returnvalue">void</span> (*GTestFunc) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
482
- <p>
483
- The type used for test case functions.
484
- </p>
485
- </div>
486
- <hr>
487
- <div class="refsect2">
488
- <a name="g-test-add-func"></a><h3>g_test_add_func ()</h3>
489
- <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
- <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>
491
- <p>
492
- Create a new test case, similar to <a class="link" href="glib-Testing.html#g-test-create-case" title="g_test_create_case ()"><code class="function">g_test_create_case()</code></a>. However
493
- the test is assumed to use no fixture, and test suites are automatically
494
- created on the fly and added to the root fixture, based on the
495
- slash-separated portions of <em class="parameter"><code>testpath</code></em>.
496
- </p>
497
- <div class="variablelist"><table border="0">
498
- <col align="left" valign="top">
499
- <tbody>
500
- <tr>
501
- <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>
504
- </tr>
505
- <tr>
506
- <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>
509
- </tr>
510
- </tbody>
511
- </table></div>
512
- <p class="since">Since 2.16</p>
513
- </div>
514
- <hr>
515
- <div class="refsect2">
516
- <a name="GTestDataFunc"></a><h3>GTestDataFunc ()</h3>
517
- <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
- <p>
519
- The type used for test case functions that take an extra pointer
520
- argument.
521
- </p>
522
- <div class="variablelist"><table border="0">
523
- <col align="left" valign="top">
524
- <tbody><tr>
525
- <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>
528
- </tr></tbody>
529
- </table></div>
530
- </div>
531
- <hr>
532
- <div class="refsect2">
533
- <a name="g-test-add-data-func"></a><h3>g_test_add_data_func ()</h3>
534
- <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
- <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>,
536
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestDataFunc" title="GTestDataFunc ()"><span class="type">GTestDataFunc</span></a> test_func</code></em>);</pre>
537
- <p>
538
- Create a new test case, similar to <a class="link" href="glib-Testing.html#g-test-create-case" title="g_test_create_case ()"><code class="function">g_test_create_case()</code></a>. However
539
- the test is assumed to use no fixture, and test suites are automatically
540
- created on the fly and added to the root fixture, based on the
541
- slash-separated portions of <em class="parameter"><code>testpath</code></em>. The <em class="parameter"><code>test_data</code></em> argument
542
- will be passed as first argument to <em class="parameter"><code>test_func</code></em>.
543
- </p>
544
- <div class="variablelist"><table border="0">
545
- <col align="left" valign="top">
546
- <tbody>
547
- <tr>
548
- <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>
551
- </tr>
552
- <tr>
553
- <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>
556
- </tr>
557
- <tr>
558
- <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>
561
- </tr>
562
- </tbody>
563
- </table></div>
564
- <p class="since">Since 2.16</p>
565
- </div>
566
- <hr>
567
- <div class="refsect2">
568
- <a name="g-test-add"></a><h3>g_test_add()</h3>
569
- <pre class="programlisting">#define g_test_add(testpath, Fixture, tdata, fsetup, ftest, fteardown)</pre>
570
- <p>
571
- Hook up a new test case at <em class="parameter"><code>testpath</code></em>, similar to <a class="link" href="glib-Testing.html#g-test-add-func" title="g_test_add_func ()"><code class="function">g_test_add_func()</code></a>.
572
- A fixture data structure with setup and teardown function may be provided
573
- though, similar to <a class="link" href="glib-Testing.html#g-test-create-case" title="g_test_create_case ()"><code class="function">g_test_create_case()</code></a>.
574
- <a class="link" href="glib-Testing.html#g-test-add" title="g_test_add()"><code class="function">g_test_add()</code></a> is implemented as a macro, so that the <code class="function">fsetup()</code>, <code class="function">ftest()</code> and
575
- <code class="function">fteardown()</code> callbacks can expect a <em class="parameter"><code>Fixture</code></em> pointer as first argument in
576
- a type safe manner.
577
- </p>
578
- <div class="variablelist"><table border="0">
579
- <col align="left" valign="top">
580
- <tbody>
581
- <tr>
582
- <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>
585
- </tr>
586
- <tr>
587
- <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>
590
- </tr>
591
- <tr>
592
- <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>
595
- </tr>
596
- <tr>
597
- <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>
600
- </tr>
601
- <tr>
602
- <td><p><span class="term"><em class="parameter"><code>ftest</code></em> :</span></p></td>
603
- <td>The actual test function.
604
- </td>
605
- </tr>
606
- <tr>
607
- <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>
610
- </tr>
611
- </tbody>
612
- </table></div>
613
- <p class="since">Since 2.16</p>
614
- </div>
615
- <hr>
616
- <div class="refsect2">
617
- <a name="g-test-message"></a><h3>g_test_message ()</h3>
618
- <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
- <em class="parameter"><code>...</code></em>);</pre>
620
- <p>
621
- Add a message to the test report.
622
- </p>
623
- <div class="variablelist"><table border="0">
624
- <col align="left" valign="top">
625
- <tbody>
626
- <tr>
627
- <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
628
- <td>the format string
629
- </td>
630
- </tr>
631
- <tr>
632
- <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
633
- <td>printf-like arguments to <em class="parameter"><code>format</code></em>
634
- </td>
635
- </tr>
636
- </tbody>
637
- </table></div>
638
- <p class="since">Since 2.16</p>
639
- </div>
640
- <hr>
641
- <div class="refsect2">
642
- <a name="g-test-bug-base"></a><h3>g_test_bug_base ()</h3>
643
- <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
- <p>
645
- Specify the base URI for bug reports.
646
- </p>
647
- <p>
648
- The base URI is used to construct bug report messages for
649
- <a class="link" href="glib-Testing.html#g-test-message" title="g_test_message ()"><code class="function">g_test_message()</code></a> when <a class="link" href="glib-Testing.html#g-test-bug" title="g_test_bug ()"><code class="function">g_test_bug()</code></a> is called.
650
- Calling this function outside of a test case sets the
651
- default base URI for all test cases. Calling it from within
652
- a test case changes the base URI for the scope of the test
653
- case only.
654
- Bug URIs are constructed by appending a bug specific URI
655
- portion to <em class="parameter"><code>uri_pattern</code></em>, or by replacing the special string
656
- '<code class="literal">s</code>' within <em class="parameter"><code>uri_pattern</code></em> if that is present.
657
- </p>
658
- <div class="variablelist"><table border="0">
659
- <col align="left" valign="top">
660
- <tbody><tr>
661
- <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>
664
- </tr></tbody>
665
- </table></div>
666
- <p class="since">Since 2.16</p>
667
- </div>
668
- <hr>
669
- <div class="refsect2">
670
- <a name="g-test-bug"></a><h3>g_test_bug ()</h3>
671
- <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
- <p>
673
- This function adds a message to test reports that
674
- associates a bug URI with a test case.
675
- Bug URIs are constructed from a base URI set with <a class="link" href="glib-Testing.html#g-test-bug-base" title="g_test_bug_base ()"><code class="function">g_test_bug_base()</code></a>
676
- and <em class="parameter"><code>bug_uri_snippet</code></em>.
677
- </p>
678
- <div class="variablelist"><table border="0">
679
- <col align="left" valign="top">
680
- <tbody><tr>
681
- <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>
684
- </tr></tbody>
685
- </table></div>
686
- <p class="since">Since 2.16</p>
687
- </div>
688
- <hr>
689
- <div class="refsect2">
690
- <a name="GTestLogFatalFunc"></a><h3>GTestLogFatalFunc ()</h3>
691
- <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
- <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>,
693
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *message</code></em>,
694
- <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>
695
- <p>
696
- Specifies the prototype of fatal log handler functions.
697
- </p>
698
- <div class="variablelist"><table border="0">
699
- <col align="left" valign="top">
700
- <tbody>
701
- <tr>
702
- <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>
705
- </tr>
706
- <tr>
707
- <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>
710
- </tr>
711
- <tr>
712
- <td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
713
- <td>the message to process
714
- </td>
715
- </tr>
716
- <tr>
717
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
718
- <td>user data, set in <a class="link" href="glib-Testing.html#g-test-log-set-fatal-handler" title="g_test_log_set_fatal_handler ()"><code class="function">g_test_log_set_fatal_handler()</code></a>
719
- </td>
720
- </tr>
721
- <tr>
722
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
723
- <td> <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
724
-
725
- </td>
726
- </tr>
727
- </tbody>
728
- </table></div>
729
- <p class="since">Since 2.22</p>
730
- </div>
731
- <hr>
732
- <div class="refsect2">
733
- <a name="g-test-log-set-fatal-handler"></a><h3>g_test_log_set_fatal_handler ()</h3>
734
- <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
- <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>
736
- <p>
737
- Installs a non-error fatal log handler which can be
738
- used to decide whether log messages which are counted
739
- as fatal abort the program.
740
- </p>
741
- <p>
742
- The use case here is that you are running a test case
743
- that depends on particular libraries or circumstances
744
- and cannot prevent certain known critical or warning
745
- messages. So you install a handler that compares the
746
- domain and message to precisely not abort in such a case.
747
- </p>
748
- <p>
749
- Note that the handler is reset at the beginning of
750
- any test case, so you have to set it inside each test
751
- function which needs the special behavior.
752
- </p>
753
- <p>
754
- This handler has no effect on g_error messages.
755
- </p>
756
- <div class="variablelist"><table border="0">
757
- <col align="left" valign="top">
758
- <tbody>
759
- <tr>
760
- <td><p><span class="term"><em class="parameter"><code>log_func</code></em> :</span></p></td>
761
- <td>the log handler function.
762
- </td>
763
- </tr>
764
- <tr>
765
- <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>
768
- </tr>
769
- </tbody>
770
- </table></div>
771
- <p class="since">Since 2.22</p>
772
- </div>
773
- <hr>
774
- <div class="refsect2">
775
- <a name="g-test-timer-start"></a><h3>g_test_timer_start ()</h3>
776
- <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
- <p>
778
- Start a timing test. Call <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> when the task is supposed
779
- to be done. Call this function again to restart the timer.
780
- </p>
781
- <p class="since">Since 2.16</p>
782
- </div>
783
- <hr>
784
- <div class="refsect2">
785
- <a name="g-test-timer-elapsed"></a><h3>g_test_timer_elapsed ()</h3>
786
- <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
- <p>
788
- Get the time since the last start of the timer with <a class="link" href="glib-Testing.html#g-test-timer-start" title="g_test_timer_start ()"><code class="function">g_test_timer_start()</code></a>.
789
- </p>
790
- <div class="variablelist"><table border="0">
791
- <col align="left" valign="top">
792
- <tbody><tr>
793
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
794
- <td> the time since the last start of the timer, as a double
795
-
796
- </td>
797
- </tr></tbody>
798
- </table></div>
799
- <p class="since">Since 2.16</p>
800
- </div>
801
- <hr>
802
- <div class="refsect2">
803
- <a name="g-test-timer-last"></a><h3>g_test_timer_last ()</h3>
804
- <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
- <p>
806
- Report 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>.
807
- </p>
808
- <div class="variablelist"><table border="0">
809
- <col align="left" valign="top">
810
- <tbody><tr>
811
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
812
- <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
813
-
814
- </td>
815
- </tr></tbody>
816
- </table></div>
817
- <p class="since">Since 2.16</p>
818
- </div>
819
- <hr>
820
- <div class="refsect2">
821
- <a name="g-test-queue-free"></a><h3>g_test_queue_free ()</h3>
822
- <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
- <p>
824
- Enqueue a pointer to be released with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> during the next
825
- teardown phase. This is equivalent to calling <a class="link" href="glib-Testing.html#g-test-queue-destroy" title="g_test_queue_destroy ()"><code class="function">g_test_queue_destroy()</code></a>
826
- with a destroy callback of <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
827
- </p>
828
- <div class="variablelist"><table border="0">
829
- <col align="left" valign="top">
830
- <tbody><tr>
831
- <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>
834
- </tr></tbody>
835
- </table></div>
836
- <p class="since">Since 2.16</p>
837
- </div>
838
- <hr>
839
- <div class="refsect2">
840
- <a name="g-test-queue-destroy"></a><h3>g_test_queue_destroy ()</h3>
841
- <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
- <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>
843
- <p>
844
- This function enqueus a callback @<code class="function">destroy_func()</code> to be executed
845
- during the next test case teardown phase. This is most useful
846
- to auto destruct allocted test resources at the end of a test run.
847
- Resources are released in reverse queue order, that means enqueueing
848
- callback A before callback B will cause <code class="function">B()</code> to be called before
849
- <code class="function">A()</code> during teardown.
850
- </p>
851
- <div class="variablelist"><table border="0">
852
- <col align="left" valign="top">
853
- <tbody>
854
- <tr>
855
- <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>
858
- </tr>
859
- <tr>
860
- <td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
861
- <td>Destroy callback data.
862
- </td>
863
- </tr>
864
- </tbody>
865
- </table></div>
866
- <p class="since">Since 2.16</p>
867
- </div>
868
- <hr>
869
- <div class="refsect2">
870
- <a name="g-test-queue-unref"></a><h3>g_test_queue_unref()</h3>
871
- <pre class="programlisting">#define g_test_queue_unref(gobject)</pre>
872
- <p>
873
- Enqueue an object to be released with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> during
874
- the next teardown phase. This is equivalent to calling <a class="link" href="glib-Testing.html#g-test-queue-destroy" title="g_test_queue_destroy ()"><code class="function">g_test_queue_destroy()</code></a>
875
- with a destroy callback of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
876
- </p>
877
- <div class="variablelist"><table border="0">
878
- <col align="left" valign="top">
879
- <tbody><tr>
880
- <td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td>
881
- <td>the object to unref
882
- </td>
883
- </tr></tbody>
884
- </table></div>
885
- <p class="since">Since 2.16</p>
886
- </div>
887
- <hr>
888
- <div class="refsect2">
889
- <a name="GTestTrapFlags"></a><h3>enum GTestTrapFlags</h3>
890
- <pre class="programlisting">typedef enum {
891
- G_TEST_TRAP_SILENCE_STDOUT = 1 &lt;&lt; 7,
892
- G_TEST_TRAP_SILENCE_STDERR = 1 &lt;&lt; 8,
893
- G_TEST_TRAP_INHERIT_STDIN = 1 &lt;&lt; 9
894
- } GTestTrapFlags;
895
- </pre>
896
- <p>
897
- Test traps are guards around forked tests. These flags
898
- determine what traps to set.
899
- </p>
900
- <div class="variablelist"><table border="0">
901
- <col align="left" valign="top">
902
- <tbody>
903
- <tr>
904
- <td><p><a name="G-TEST-TRAP-SILENCE-STDOUT:CAPS"></a><span class="term"><code class="literal">G_TEST_TRAP_SILENCE_STDOUT</code></span></p></td>
905
- <td>Redirect stdout of the test child to
906
- <code class="filename">/dev/null</code> so it cannot be observed on the
907
- console during test runs. The actual output is still captured
908
- though to allow later tests with <a class="link" href="glib-Testing.html#g-test-trap-assert-stdout" title="g_test_trap_assert_stdout()"><code class="function">g_test_trap_assert_stdout()</code></a>.
909
- </td>
910
- </tr>
911
- <tr>
912
- <td><p><a name="G-TEST-TRAP-SILENCE-STDERR:CAPS"></a><span class="term"><code class="literal">G_TEST_TRAP_SILENCE_STDERR</code></span></p></td>
913
- <td>Redirect stderr of the test child to
914
- <code class="filename">/dev/null</code> so it cannot be observed on the
915
- console during test runs. The actual output is still captured
916
- though to allow later tests with <a class="link" href="glib-Testing.html#g-test-trap-assert-stderr" title="g_test_trap_assert_stderr()"><code class="function">g_test_trap_assert_stderr()</code></a>.
917
- </td>
918
- </tr>
919
- <tr>
920
- <td><p><a name="G-TEST-TRAP-INHERIT-STDIN:CAPS"></a><span class="term"><code class="literal">G_TEST_TRAP_INHERIT_STDIN</code></span></p></td>
921
- <td>If this flag is given, stdin of the forked
922
- child process is shared with stdin of its parent process. It is
923
- redirected to <code class="filename">/dev/null</code> otherwise.
924
- </td>
925
- </tr>
926
- </tbody>
927
- </table></div>
928
- </div>
929
- <hr>
930
- <div class="refsect2">
931
- <a name="g-test-trap-fork"></a><h3>g_test_trap_fork ()</h3>
932
- <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
- <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>
934
- <p>
935
- Fork the current test program to execute a test case that might
936
- not return or that might abort. The forked test case is aborted
937
- and considered failing if its run time exceeds <em class="parameter"><code>usec_timeout</code></em>.
938
- </p>
939
- <p>
940
- The forking behavior can be configured with the <a class="link" href="glib-Testing.html#GTestTrapFlags" title="enum GTestTrapFlags"><span class="type">GTestTrapFlags</span></a> flags.
941
- </p>
942
- <p>
943
- In the following example, the test code forks, the forked child
944
- process produces some sample output and exits successfully.
945
- The forking parent process then asserts successful child program
946
- termination and validates child program outputs.
947
- </p>
948
- <p>
949
- </p>
950
- <div class="informalexample">
951
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
952
- <tbody>
953
- <tr>
954
- <td class="listing_lines" align="right"><pre>1
955
- 2
956
- 3
957
- 4
958
- 5
959
- 6
960
- 7
961
- 8
962
- 9
963
- 10
964
- 11
965
- 12
966
- 13</pre></td>
967
- <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
968
- <span class="function">test_fork_patterns</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
969
- <span class="cbracket">{</span>
970
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="glib-Testing.html#g-test-trap-fork">g_test_trap_fork</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="glib-Testing.html#G-TEST-TRAP-SILENCE-STDOUT:CAPS">G_TEST_TRAP_SILENCE_STDOUT</a> </span><span class="symbol">|</span><span class="normal"> <a href="glib-Testing.html#G-TEST-TRAP-SILENCE-STDERR:CAPS">G_TEST_TRAP_SILENCE_STDERR</a></span><span class="symbol">))</span>
971
- <span class="normal"> </span><span class="cbracket">{</span>
972
- <span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"some stdout text: somagic17</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
973
- <span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"some stderr text: semagic43</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
974
- <span class="normal"> </span><span class="function">exit</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* successful test run */</span>
975
- <span class="normal"> </span><span class="cbracket">}</span>
976
- <span class="normal"> </span><span class="function"><a href="glib-Testing.html#g-test-trap-assert-passed">g_test_trap_assert_passed</a></span><span class="symbol">();</span>
977
- <span class="normal"> </span><span class="function"><a href="glib-Testing.html#g-test-trap-assert-stdout">g_test_trap_assert_stdout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"*somagic17*"</span><span class="symbol">);</span>
978
- <span class="normal"> </span><span class="function"><a href="glib-Testing.html#g-test-trap-assert-stderr">g_test_trap_assert_stderr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"*semagic43*"</span><span class="symbol">);</span>
979
- <span class="cbracket">}</span></pre></td>
980
- </tr>
981
- </tbody>
982
- </table>
983
- </div>
984
-
985
- <p>
986
- </p>
987
- <p>
988
- This function is implemented only on Unix platforms.
989
- </p>
990
- <div class="variablelist"><table border="0">
991
- <col align="left" valign="top">
992
- <tbody>
993
- <tr>
994
- <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>
997
- </tr>
998
- <tr>
999
- <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>
1002
- </tr>
1003
- <tr>
1004
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1005
- <td> <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.
1006
-
1007
- </td>
1008
- </tr>
1009
- </tbody>
1010
- </table></div>
1011
- <p class="since">Since 2.16</p>
1012
- </div>
1013
- <hr>
1014
- <div class="refsect2">
1015
- <a name="g-test-trap-has-passed"></a><h3>g_test_trap_has_passed ()</h3>
1016
- <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
- <p>
1018
- Check the result of the last <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a> call.
1019
- </p>
1020
- <div class="variablelist"><table border="0">
1021
- <col align="left" valign="top">
1022
- <tbody><tr>
1023
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1024
- <td> <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.
1025
-
1026
- </td>
1027
- </tr></tbody>
1028
- </table></div>
1029
- <p class="since">Since 2.16</p>
1030
- </div>
1031
- <hr>
1032
- <div class="refsect2">
1033
- <a name="g-test-trap-reached-timeout"></a><h3>g_test_trap_reached_timeout ()</h3>
1034
- <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
- <p>
1036
- Check the result of the last <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a> call.
1037
- </p>
1038
- <div class="variablelist"><table border="0">
1039
- <col align="left" valign="top">
1040
- <tbody><tr>
1041
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1042
- <td> <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.
1043
-
1044
- </td>
1045
- </tr></tbody>
1046
- </table></div>
1047
- <p class="since">Since 2.16</p>
1048
- </div>
1049
- <hr>
1050
- <div class="refsect2">
1051
- <a name="g-test-trap-assert-passed"></a><h3>g_test_trap_assert_passed</h3>
1052
- <pre class="programlisting">#define g_test_trap_assert_passed()</pre>
1053
- <p>
1054
- Assert that the last forked test passed. See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a>.
1055
- </p>
1056
- <p class="since">Since 2.16</p>
1057
- </div>
1058
- <hr>
1059
- <div class="refsect2">
1060
- <a name="g-test-trap-assert-failed"></a><h3>g_test_trap_assert_failed</h3>
1061
- <pre class="programlisting">#define g_test_trap_assert_failed()</pre>
1062
- <p>
1063
- Assert that the last forked test failed. See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a>.
1064
- </p>
1065
- <p class="since">Since 2.16</p>
1066
- </div>
1067
- <hr>
1068
- <div class="refsect2">
1069
- <a name="g-test-trap-assert-stdout"></a><h3>g_test_trap_assert_stdout()</h3>
1070
- <pre class="programlisting">#define g_test_trap_assert_stdout(soutpattern)</pre>
1071
- <p>
1072
- Assert that the stdout output of the last forked test matches <em class="parameter"><code>soutpattern</code></em>.
1073
- See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a>.
1074
- </p>
1075
- <div class="variablelist"><table border="0">
1076
- <col align="left" valign="top">
1077
- <tbody><tr>
1078
- <td><p><span class="term"><em class="parameter"><code>soutpattern</code></em> :</span></p></td>
1079
- <td>a glob-style <a class="link" href="glib-Glob-style-pattern-matching.html" title="Glob-style pattern matching">pattern</a>
1080
- </td>
1081
- </tr></tbody>
1082
- </table></div>
1083
- <p class="since">Since 2.16</p>
1084
- </div>
1085
- <hr>
1086
- <div class="refsect2">
1087
- <a name="g-test-trap-assert-stdout-unmatched"></a><h3>g_test_trap_assert_stdout_unmatched()</h3>
1088
- <pre class="programlisting">#define g_test_trap_assert_stdout_unmatched(soutpattern)</pre>
1089
- <p>
1090
- Assert that the stdout output of the last forked test does not match
1091
- <em class="parameter"><code>soutpattern</code></em>. See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a>.
1092
- </p>
1093
- <div class="variablelist"><table border="0">
1094
- <col align="left" valign="top">
1095
- <tbody><tr>
1096
- <td><p><span class="term"><em class="parameter"><code>soutpattern</code></em> :</span></p></td>
1097
- <td>a glob-style <a class="link" href="glib-Glob-style-pattern-matching.html" title="Glob-style pattern matching">pattern</a>
1098
- </td>
1099
- </tr></tbody>
1100
- </table></div>
1101
- <p class="since">Since 2.16</p>
1102
- </div>
1103
- <hr>
1104
- <div class="refsect2">
1105
- <a name="g-test-trap-assert-stderr"></a><h3>g_test_trap_assert_stderr()</h3>
1106
- <pre class="programlisting">#define g_test_trap_assert_stderr(serrpattern)</pre>
1107
- <p>
1108
- Assert that the stderr output of the last forked test matches <em class="parameter"><code>serrpattern</code></em>.
1109
- See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a>.
1110
- </p>
1111
- <div class="variablelist"><table border="0">
1112
- <col align="left" valign="top">
1113
- <tbody><tr>
1114
- <td><p><span class="term"><em class="parameter"><code>serrpattern</code></em> :</span></p></td>
1115
- <td>a glob-style <a class="link" href="glib-Glob-style-pattern-matching.html" title="Glob-style pattern matching">pattern</a>
1116
- </td>
1117
- </tr></tbody>
1118
- </table></div>
1119
- <p class="since">Since 2.16</p>
1120
- </div>
1121
- <hr>
1122
- <div class="refsect2">
1123
- <a name="g-test-trap-assert-stderr-unmatched"></a><h3>g_test_trap_assert_stderr_unmatched()</h3>
1124
- <pre class="programlisting">#define g_test_trap_assert_stderr_unmatched(serrpattern)</pre>
1125
- <p>
1126
- Assert that the stderr output of the last forked test does not match
1127
- <em class="parameter"><code>serrpattern</code></em>. See <a class="link" href="glib-Testing.html#g-test-trap-fork" title="g_test_trap_fork ()"><code class="function">g_test_trap_fork()</code></a>.
1128
- </p>
1129
- <div class="variablelist"><table border="0">
1130
- <col align="left" valign="top">
1131
- <tbody><tr>
1132
- <td><p><span class="term"><em class="parameter"><code>serrpattern</code></em> :</span></p></td>
1133
- <td>a glob-style <a class="link" href="glib-Glob-style-pattern-matching.html" title="Glob-style pattern matching">pattern</a>
1134
- </td>
1135
- </tr></tbody>
1136
- </table></div>
1137
- <p class="since">Since 2.16</p>
1138
- </div>
1139
- <hr>
1140
- <div class="refsect2">
1141
- <a name="g-test-rand-bit"></a><h3>g_test_rand_bit</h3>
1142
- <pre class="programlisting">#define g_test_rand_bit()</pre>
1143
- <p>
1144
- Get a reproducible random bit (0 or 1),
1145
- see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_int ()"><code class="function">g_test_rand_int()</code></a> for details on test case random numbers.
1146
- </p>
1147
- <p class="since">Since 2.16</p>
1148
- </div>
1149
- <hr>
1150
- <div class="refsect2">
1151
- <a name="g-test-rand-int"></a><h3>g_test_rand_int ()</h3>
1152
- <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
- <p>
1154
- Get a reproducible random integer number.
1155
- </p>
1156
- <p>
1157
- The random numbers generated by the g_test_rand_*() family of functions
1158
- change with every new test program start, unless the --seed option is
1159
- given when starting test programs.
1160
- </p>
1161
- <p>
1162
- For individual test cases however, the random number generator is
1163
- reseeded, to avoid dependencies between tests and to make --seed
1164
- effective for all test cases.
1165
- </p>
1166
- <div class="variablelist"><table border="0">
1167
- <col align="left" valign="top">
1168
- <tbody><tr>
1169
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1170
- <td> a random number from the seeded random number generator.
1171
-
1172
- </td>
1173
- </tr></tbody>
1174
- </table></div>
1175
- <p class="since">Since 2.16</p>
1176
- </div>
1177
- <hr>
1178
- <div class="refsect2">
1179
- <a name="g-test-rand-int-range"></a><h3>g_test_rand_int_range ()</h3>
1180
- <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
- <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>
1182
- <p>
1183
- Get a reproducible random integer number out of a specified range,
1184
- see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_int ()"><code class="function">g_test_rand_int()</code></a> for details on test case random numbers.
1185
- </p>
1186
- <div class="variablelist"><table border="0">
1187
- <col align="left" valign="top">
1188
- <tbody>
1189
- <tr>
1190
- <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>
1193
- </tr>
1194
- <tr>
1195
- <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>
1198
- </tr>
1199
- <tr>
1200
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1201
- <td> a number with <em class="parameter"><code>begin</code></em> &lt;= number &lt; <em class="parameter"><code>end</code></em>.
1202
-
1203
- </td>
1204
- </tr>
1205
- </tbody>
1206
- </table></div>
1207
- <p class="since">Since 2.16</p>
1208
- </div>
1209
- <hr>
1210
- <div class="refsect2">
1211
- <a name="g-test-rand-double"></a><h3>g_test_rand_double ()</h3>
1212
- <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
- <p>
1214
- Get a reproducible random floating point number,
1215
- see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_int ()"><code class="function">g_test_rand_int()</code></a> for details on test case random numbers.
1216
- </p>
1217
- <div class="variablelist"><table border="0">
1218
- <col align="left" valign="top">
1219
- <tbody><tr>
1220
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1221
- <td> a random number from the seeded random number generator.
1222
-
1223
- </td>
1224
- </tr></tbody>
1225
- </table></div>
1226
- <p class="since">Since 2.16</p>
1227
- </div>
1228
- <hr>
1229
- <div class="refsect2">
1230
- <a name="g-test-rand-double-range"></a><h3>g_test_rand_double_range ()</h3>
1231
- <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
- <em class="parameter"><code><span class="type">double</span> range_end</code></em>);</pre>
1233
- <p>
1234
- Get a reproducible random floating pointer number out of a specified range,
1235
- see <a class="link" href="glib-Testing.html#g-test-rand-int" title="g_test_rand_int ()"><code class="function">g_test_rand_int()</code></a> for details on test case random numbers.
1236
- </p>
1237
- <div class="variablelist"><table border="0">
1238
- <col align="left" valign="top">
1239
- <tbody>
1240
- <tr>
1241
- <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>
1244
- </tr>
1245
- <tr>
1246
- <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>
1249
- </tr>
1250
- <tr>
1251
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1252
- <td> a number with <em class="parameter"><code>range_start</code></em> &lt;= number &lt; <em class="parameter"><code>range_end</code></em>.
1253
-
1254
- </td>
1255
- </tr>
1256
- </tbody>
1257
- </table></div>
1258
- <p class="since">Since 2.16</p>
1259
- </div>
1260
- <hr>
1261
- <div class="refsect2">
1262
- <a name="g-assert"></a><h3>g_assert()</h3>
1263
- <pre class="programlisting">#define g_assert(expr)</pre>
1264
- <p>
1265
- Debugging macro to terminate the application if the assertion fails.
1266
- If the assertion fails (i.e. the expression is not true), an error message
1267
- is logged and the application is terminated.
1268
- </p>
1269
- <p>
1270
- The macro can be turned off in final releases of code by defining
1271
- <span class="type">G_DISABLE_ASSERT</span> when compiling the application.
1272
- </p>
1273
- <div class="variablelist"><table border="0">
1274
- <col align="left" valign="top">
1275
- <tbody><tr>
1276
- <td><p><span class="term"><em class="parameter"><code>expr</code></em> :</span></p></td>
1277
- <td>the expression to check.
1278
- </td>
1279
- </tr></tbody>
1280
- </table></div>
1281
- </div>
1282
- <hr>
1283
- <div class="refsect2">
1284
- <a name="g-assert-not-reached"></a><h3>g_assert_not_reached</h3>
1285
- <pre class="programlisting">#define g_assert_not_reached()</pre>
1286
- <p>
1287
- Debugging macro to terminate the application if it is ever reached.
1288
- If it is reached, an error message is logged and the application is terminated.
1289
- </p>
1290
- <p>
1291
- The macro can be turned off in final releases of code by defining
1292
- <span class="type">G_DISABLE_ASSERT</span> when compiling the application.
1293
- </p>
1294
- </div>
1295
- <hr>
1296
- <div class="refsect2">
1297
- <a name="g-assert-cmpstr"></a><h3>g_assert_cmpstr()</h3>
1298
- <pre class="programlisting">#define g_assert_cmpstr(s1, cmp, s2)</pre>
1299
- <p>
1300
- Debugging macro to terminate the application with a warning message
1301
- if a string comparison fails.
1302
- The strings are compared using <a class="link" href="glib-String-Utility-Functions.html#g-strcmp0" title="g_strcmp0 ()"><code class="function">g_strcmp0()</code></a>.
1303
- </p>
1304
- <p>
1305
- The effect of <code class="literal">g_assert_cmpstr (s1, op, s2)</code> is the same
1306
- as <code class="literal">g_assert (g_strcmp0 (s1, s2) op 0)</code>. The advantage of this macro
1307
- is that it can produce a message that includes the actual values of <em class="parameter"><code>s1</code></em>
1308
- and <em class="parameter"><code>s2</code></em>.
1309
- </p>
1310
- <div class="informalexample">
1311
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1312
- <tbody>
1313
- <tr>
1314
- <td class="listing_lines" align="right"><pre>1</pre></td>
1315
- <td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Testing.html#g-assert-cmpstr">g_assert_cmpstr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mystring</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">==,</span><span class="normal"> </span><span class="string">"fubar"</span><span class="symbol">);</span></pre></td>
1316
- </tr>
1317
- </tbody>
1318
- </table>
1319
- </div>
1320
-
1321
- <div class="variablelist"><table border="0">
1322
- <col align="left" valign="top">
1323
- <tbody>
1324
- <tr>
1325
- <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>
1328
- </tr>
1329
- <tr>
1330
- <td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
1331
- <td>The comparison operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
1332
- </td>
1333
- </tr>
1334
- <tr>
1335
- <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>
1338
- </tr>
1339
- </tbody>
1340
- </table></div>
1341
- <p class="since">Since 2.16</p>
1342
- </div>
1343
- <hr>
1344
- <div class="refsect2">
1345
- <a name="g-assert-cmpint"></a><h3>g_assert_cmpint()</h3>
1346
- <pre class="programlisting">#define g_assert_cmpint(n1, cmp, n2)</pre>
1347
- <p>
1348
- Debugging macro to terminate the application with a warning message
1349
- if an integer comparison fails.
1350
- </p>
1351
- <p>
1352
- The effect of <code class="literal">g_assert_cmpint (n1, op, n2)</code> is the same
1353
- as <code class="literal">g_assert (n1 op n2)</code>. The advantage of this macro
1354
- is that it can produce a message that includes the actual values of <em class="parameter"><code>n1</code></em>
1355
- and <em class="parameter"><code>n2</code></em>.
1356
- </p>
1357
- <div class="variablelist"><table border="0">
1358
- <col align="left" valign="top">
1359
- <tbody>
1360
- <tr>
1361
- <td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
1362
- <td>an integer
1363
- </td>
1364
- </tr>
1365
- <tr>
1366
- <td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
1367
- <td>The comparison operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
1368
- </td>
1369
- </tr>
1370
- <tr>
1371
- <td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
1372
- <td>another integer
1373
- </td>
1374
- </tr>
1375
- </tbody>
1376
- </table></div>
1377
- <p class="since">Since 2.16</p>
1378
- </div>
1379
- <hr>
1380
- <div class="refsect2">
1381
- <a name="g-assert-cmpuint"></a><h3>g_assert_cmpuint()</h3>
1382
- <pre class="programlisting">#define g_assert_cmpuint(n1, cmp, n2)</pre>
1383
- <p>
1384
- Debugging macro to terminate the application with a warning message
1385
- if an unsigned integer comparison fails.
1386
- </p>
1387
- <p>
1388
- The effect of <code class="literal">g_assert_cmpuint (n1, op, n2)</code> is the same
1389
- as <code class="literal">g_assert (n1 op n2)</code>. The advantage of this macro
1390
- is that it can produce a message that includes the actual values of <em class="parameter"><code>n1</code></em>
1391
- and <em class="parameter"><code>n2</code></em>.
1392
- </p>
1393
- <div class="variablelist"><table border="0">
1394
- <col align="left" valign="top">
1395
- <tbody>
1396
- <tr>
1397
- <td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
1398
- <td>an unsigned integer
1399
- </td>
1400
- </tr>
1401
- <tr>
1402
- <td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
1403
- <td>The comparison operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
1404
- </td>
1405
- </tr>
1406
- <tr>
1407
- <td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
1408
- <td>another unsigned integer
1409
- </td>
1410
- </tr>
1411
- </tbody>
1412
- </table></div>
1413
- <p class="since">Since 2.16</p>
1414
- </div>
1415
- <hr>
1416
- <div class="refsect2">
1417
- <a name="g-assert-cmphex"></a><h3>g_assert_cmphex()</h3>
1418
- <pre class="programlisting">#define g_assert_cmphex(n1, cmp, n2)</pre>
1419
- <p>
1420
- Debugging macro to terminate the application with a warning message
1421
- if an unsigned integer comparison fails. This is a variant of
1422
- <a class="link" href="glib-Testing.html#g-assert-cmpuint" title="g_assert_cmpuint()"><code class="function">g_assert_cmpuint()</code></a> that displays the numbers in hexadecimal notation
1423
- in the message.
1424
- </p>
1425
- <div class="variablelist"><table border="0">
1426
- <col align="left" valign="top">
1427
- <tbody>
1428
- <tr>
1429
- <td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
1430
- <td>an unsigned integer
1431
- </td>
1432
- </tr>
1433
- <tr>
1434
- <td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
1435
- <td>The comparison operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
1436
- </td>
1437
- </tr>
1438
- <tr>
1439
- <td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
1440
- <td>another unsigned integer
1441
- </td>
1442
- </tr>
1443
- </tbody>
1444
- </table></div>
1445
- <p class="since">Since 2.16</p>
1446
- </div>
1447
- <hr>
1448
- <div class="refsect2">
1449
- <a name="g-assert-cmpfloat"></a><h3>g_assert_cmpfloat()</h3>
1450
- <pre class="programlisting">#define g_assert_cmpfloat(n1,cmp,n2)</pre>
1451
- <p>
1452
- Debugging macro to terminate the application with a warning message
1453
- if a floating point number comparison fails.
1454
- </p>
1455
- <p>
1456
- The effect of <code class="literal">g_assert_cmpfloat (n1, op, n2)</code> is the same
1457
- as <code class="literal">g_assert (n1 op n2)</code>. The advantage of this function
1458
- is that it can produce a message that includes the actual values of <em class="parameter"><code>n1</code></em>
1459
- and <em class="parameter"><code>n2</code></em>.
1460
- </p>
1461
- <div class="variablelist"><table border="0">
1462
- <col align="left" valign="top">
1463
- <tbody>
1464
- <tr>
1465
- <td><p><span class="term"><em class="parameter"><code>n1</code></em> :</span></p></td>
1466
- <td>an floating point number
1467
- </td>
1468
- </tr>
1469
- <tr>
1470
- <td><p><span class="term"><em class="parameter"><code>cmp</code></em> :</span></p></td>
1471
- <td>The comparison operator to use. One of ==, !=, &lt;, &gt;, &lt;=, &gt;=.
1472
- </td>
1473
- </tr>
1474
- <tr>
1475
- <td><p><span class="term"><em class="parameter"><code>n2</code></em> :</span></p></td>
1476
- <td>another floating point number
1477
- </td>
1478
- </tr>
1479
- </tbody>
1480
- </table></div>
1481
- <p class="since">Since 2.16</p>
1482
- </div>
1483
- <hr>
1484
- <div class="refsect2">
1485
- <a name="g-assert-no-error"></a><h3>g_assert_no_error()</h3>
1486
- <pre class="programlisting">#define g_assert_no_error(err)</pre>
1487
- <p>
1488
- 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>.
1490
- </p>
1491
- <p>
1492
- The effect of <code class="literal">g_assert_no_error (err)</code> is the same
1493
- as <code class="literal">g_assert (err == NULL)</code>. The advantage of this macro
1494
- is that it can produce a message that includes the error message and code.
1495
- </p>
1496
- <div class="variablelist"><table border="0">
1497
- <col align="left" valign="top">
1498
- <tbody><tr>
1499
- <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>
1501
- </td>
1502
- </tr></tbody>
1503
- </table></div>
1504
- <p class="since">Since 2.20</p>
1505
- </div>
1506
- <hr>
1507
- <div class="refsect2">
1508
- <a name="g-assert-error"></a><h3>g_assert_error()</h3>
1509
- <pre class="programlisting">#define g_assert_error(err, dom, c)</pre>
1510
- <p>
1511
- 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>.
1513
- </p>
1514
- <p>
1515
- The effect of <code class="literal">g_assert_error (err, dom, c)</code> is the same
1516
- as <code class="literal">g_assert (err != NULL &amp;&amp; err-&gt;domain == dom &amp;&amp; err-&gt;code == c)</code>.
1517
- The advantage of this macro is that it can produce a message that
1518
- includes the incorrect error message and code.
1519
- </p>
1520
- <p>
1521
- This can only be used to test for a specific error. If you want to
1522
- test that <em class="parameter"><code>err</code></em> is set, but don't care what it's set to, just use
1523
- <code class="literal">g_assert (err != NULL)</code>
1524
- </p>
1525
- <div class="variablelist"><table border="0">
1526
- <col align="left" valign="top">
1527
- <tbody>
1528
- <tr>
1529
- <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>
1531
- </td>
1532
- </tr>
1533
- <tr>
1534
- <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>
1537
- </tr>
1538
- <tr>
1539
- <td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
1540
- <td>the expected error code
1541
- </td>
1542
- </tr>
1543
- </tbody>
1544
- </table></div>
1545
- <p class="since">Since 2.20</p>
1546
- </div>
1547
- <hr>
1548
- <div class="refsect2">
1549
- <a name="GTestCase"></a><h3>GTestCase</h3>
1550
- <pre class="programlisting">typedef struct GTestCase GTestCase;
1551
- </pre>
1552
- <p>
1553
- An opaque structure representing a test case.
1554
- </p>
1555
- </div>
1556
- <hr>
1557
- <div class="refsect2">
1558
- <a name="GTestSuite"></a><h3>GTestSuite</h3>
1559
- <pre class="programlisting">typedef struct GTestSuite GTestSuite;
1560
- </pre>
1561
- <p>
1562
- An opaque structure representing a test suite.
1563
- </p>
1564
- </div>
1565
- <hr>
1566
- <div class="refsect2">
1567
- <a name="GTestFixtureFunc"></a><h3>GTestFixtureFunc ()</h3>
1568
- <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
- <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>
1570
- <p>
1571
- The type used for functions that operate on test fixtures. This is
1572
- used for the fixture setup and teardown functions as well as for the
1573
- testcases themselves.
1574
- </p>
1575
- <p>
1576
- <em class="parameter"><code>user_data</code></em> is a pointer to the data that was given when registering
1577
- the test case.
1578
- </p>
1579
- <p>
1580
- <em class="parameter"><code>fixture</code></em> will be a pointer to the area of memory allocated by the
1581
- test framework, of the size requested. If the requested size was
1582
- zero then <em class="parameter"><code>fixture</code></em> will be equal to <em class="parameter"><code>user_data</code></em>.
1583
- </p>
1584
- <div class="variablelist"><table border="0">
1585
- <col align="left" valign="top">
1586
- <tbody>
1587
- <tr>
1588
- <td><p><span class="term"><em class="parameter"><code>fixture</code></em> :</span></p></td>
1589
- <td>the test fixture
1590
- </td>
1591
- </tr>
1592
- <tr>
1593
- <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>
1596
- </tr>
1597
- </tbody>
1598
- </table></div>
1599
- </div>
1600
- <hr>
1601
- <div class="refsect2">
1602
- <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> * g_test_create_case (<em class="parameter"><code>const <span class="type">char</span> *test_name</code></em>,
1604
- <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
- <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
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()"><span class="type">GTestFixtureFunc</span></a> data_setup</code></em>,
1607
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()"><span class="type">GTestFixtureFunc</span></a> data_test</code></em>,
1608
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestFixtureFunc" title="GTestFixtureFunc ()"><span class="type">GTestFixtureFunc</span></a> data_teardown</code></em>);</pre>
1609
- <p>
1610
- Create a new <a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="type">GTestCase</span></a>, named <em class="parameter"><code>test_name</code></em>, this API is fairly
1611
- low level, calling <a class="link" href="glib-Testing.html#g-test-add" title="g_test_add()"><code class="function">g_test_add()</code></a> or <a class="link" href="glib-Testing.html#g-test-add-func" title="g_test_add_func ()"><code class="function">g_test_add_func()</code></a> is preferable.
1612
- When this test is executed, a fixture structure of size <em class="parameter"><code>data_size</code></em>
1613
- will be allocated and filled with 0s. Then <code class="function">data_setup()</code> is called
1614
- to initialize the fixture. After fixture setup, the actual test
1615
- function <code class="function">data_test()</code> is called. Once the test run completed, the
1616
- fixture structure is torn down by calling <code class="function">data_teardown()</code> and
1617
- after that the memory is released.
1618
- </p>
1619
- <p>
1620
- Splitting up a test run into fixture setup, test function and
1621
- fixture teardown is most usful if the same fixture is used for
1622
- multiple tests. In this cases, <a class="link" href="glib-Testing.html#g-test-create-case" title="g_test_create_case ()"><code class="function">g_test_create_case()</code></a> will be
1623
- called with the same fixture, but varying <em class="parameter"><code>test_name</code></em> and
1624
- <em class="parameter"><code>data_test</code></em> arguments.
1625
- </p>
1626
- <div class="variablelist"><table border="0">
1627
- <col align="left" valign="top">
1628
- <tbody>
1629
- <tr>
1630
- <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>
1633
- </tr>
1634
- <tr>
1635
- <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>
1638
- </tr>
1639
- <tr>
1640
- <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>
1643
- </tr>
1644
- <tr>
1645
- <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>
1648
- </tr>
1649
- <tr>
1650
- <td><p><span class="term"><em class="parameter"><code>data_test</code></em> :</span></p></td>
1651
- <td>the actual test function
1652
- </td>
1653
- </tr>
1654
- <tr>
1655
- <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>
1658
- </tr>
1659
- <tr>
1660
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1661
- <td> a newly allocated <a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="type">GTestCase</span></a>.
1662
-
1663
- </td>
1664
- </tr>
1665
- </tbody>
1666
- </table></div>
1667
- <p class="since">Since 2.16</p>
1668
- </div>
1669
- <hr>
1670
- <div class="refsect2">
1671
- <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> * g_test_create_suite (<em class="parameter"><code>const <span class="type">char</span> *suite_name</code></em>);</pre>
1673
- <p>
1674
- Create a new test suite with the name <em class="parameter"><code>suite_name</code></em>.
1675
- </p>
1676
- <div class="variablelist"><table border="0">
1677
- <col align="left" valign="top">
1678
- <tbody>
1679
- <tr>
1680
- <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>
1683
- </tr>
1684
- <tr>
1685
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1686
- <td> A newly allocated <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> instance.
1687
-
1688
- </td>
1689
- </tr>
1690
- </tbody>
1691
- </table></div>
1692
- <p class="since">Since 2.16</p>
1693
- </div>
1694
- <hr>
1695
- <div class="refsect2">
1696
- <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> * g_test_get_root (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1698
- <p>
1699
- Get the toplevel test suite for the test path API.
1700
- </p>
1701
- <div class="variablelist"><table border="0">
1702
- <col align="left" valign="top">
1703
- <tbody><tr>
1704
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1705
- <td> the toplevel <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a>
1706
-
1707
- </td>
1708
- </tr></tbody>
1709
- </table></div>
1710
- <p class="since">Since 2.16</p>
1711
- </div>
1712
- <hr>
1713
- <div class="refsect2">
1714
- <a name="g-test-suite-add"></a><h3>g_test_suite_add ()</h3>
1715
- <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
- <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>
1717
- <p>
1718
- Adds <em class="parameter"><code>test_case</code></em> to <em class="parameter"><code>suite</code></em>.
1719
- </p>
1720
- <div class="variablelist"><table border="0">
1721
- <col align="left" valign="top">
1722
- <tbody>
1723
- <tr>
1724
- <td><p><span class="term"><em class="parameter"><code>suite</code></em> :</span></p></td>
1725
- <td>a <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a>
1726
- </td>
1727
- </tr>
1728
- <tr>
1729
- <td><p><span class="term"><em class="parameter"><code>test_case</code></em> :</span></p></td>
1730
- <td>a <a class="link" href="glib-Testing.html#GTestCase" title="GTestCase"><span class="type">GTestCase</span></a>
1731
- </td>
1732
- </tr>
1733
- </tbody>
1734
- </table></div>
1735
- <p class="since">Since 2.16</p>
1736
- </div>
1737
- <hr>
1738
- <div class="refsect2">
1739
- <a name="g-test-suite-add-suite"></a><h3>g_test_suite_add_suite ()</h3>
1740
- <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
- <em class="parameter"><code><a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a> *nestedsuite</code></em>);</pre>
1742
- <p>
1743
- Adds <em class="parameter"><code>nestedsuite</code></em> to <em class="parameter"><code>suite</code></em>.
1744
- </p>
1745
- <div class="variablelist"><table border="0">
1746
- <col align="left" valign="top">
1747
- <tbody>
1748
- <tr>
1749
- <td><p><span class="term"><em class="parameter"><code>suite</code></em> :</span></p></td>
1750
- <td>a <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a>
1751
- </td>
1752
- </tr>
1753
- <tr>
1754
- <td><p><span class="term"><em class="parameter"><code>nestedsuite</code></em> :</span></p></td>
1755
- <td>another <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a>
1756
- </td>
1757
- </tr>
1758
- </tbody>
1759
- </table></div>
1760
- <p class="since">Since 2.16</p>
1761
- </div>
1762
- <hr>
1763
- <div class="refsect2">
1764
- <a name="g-test-run-suite"></a><h3>g_test_run_suite ()</h3>
1765
- <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
- <p>
1767
- Execute the tests within <em class="parameter"><code>suite</code></em> and all nested <a href="glib-Testing.html#GTestSuite"><span class="type">GTestSuites</span></a>.
1768
- The test suites to be executed are filtered according to
1769
- test path arguments (-p <em class="replaceable"><code>testpath</code></em>)
1770
- as parsed by <a class="link" href="glib-Testing.html#g-test-init" title="g_test_init ()"><code class="function">g_test_init()</code></a>.
1771
- <a class="link" href="glib-Testing.html#g-test-run-suite" title="g_test_run_suite ()"><code class="function">g_test_run_suite()</code></a> or <a class="link" href="glib-Testing.html#g-test-run" title="g_test_run ()"><code class="function">g_test_run()</code></a> may only be called once
1772
- in a program.
1773
- </p>
1774
- <div class="variablelist"><table border="0">
1775
- <col align="left" valign="top">
1776
- <tbody>
1777
- <tr>
1778
- <td><p><span class="term"><em class="parameter"><code>suite</code></em> :</span></p></td>
1779
- <td>a <a class="link" href="glib-Testing.html#GTestSuite" title="GTestSuite"><span class="type">GTestSuite</span></a>
1780
- </td>
1781
- </tr>
1782
- <tr>
1783
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1784
- <td> 0 on success
1785
-
1786
- </td>
1787
- </tr>
1788
- </tbody>
1789
- </table></div>
1790
- <p class="since">Since 2.16</p>
1791
- </div>
1792
- </div>
1793
- <div class="refsect1">
1794
- <a name="glib-Testing.see-also"></a><h2>See Also</h2>
1795
- <p>
1796
- <a href="gtester.html">gtester</a>,
1797
- <a href="gtester-report.html">gtester-report</a>
1798
- </p>
1799
- </div>
1800
- </div>
1801
- <div class="footer">
1802
- <hr>
1803
- Generated by GTK-Doc V1.15.1</div>
1804
- </body>
1805
- </html>