Introduce QDict unit-tests

This suite contains tests to assure that QDict API works as expected.

To execute it you should have check installed and build QEMU with
check support enabled (--enable-check-utests) and then run:

$ ./check-qdict

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
3 files changed
tree: e8555be7286259f22bfa973834a48a3262c0ae1b
  1. audio/
  2. block/
  3. bsd-user/
  4. darwin-user/
  5. fpu/
  6. gdb-xml/
  7. hw/
  8. linux-user/
  9. pc-bios/
  10. slirp/
  11. target-alpha/
  12. target-arm/
  13. target-cris/
  14. target-i386/
  15. target-m68k/
  16. target-microblaze/
  17. target-mips/
  18. target-ppc/
  19. target-sh4/
  20. target-sparc/
  21. tcg/
  22. tests/
  23. .gitignore
  24. a.out.h
  25. acl.c
  26. acl.h
  27. aes.c
  28. aes.h
  29. aio.c
  30. alpha-dis.c
  31. alpha.ld
  32. arm-dis.c
  33. arm-semi.c
  34. arm.ld
  35. balloon.h
  36. block.c
  37. block.h
  38. block_int.h
  39. bswap.h
  40. bt-host.c
  41. bt-host.h
  42. bt-vhci.c
  43. buffered_file.c
  44. buffered_file.h
  45. cache-utils.c
  46. cache-utils.h
  47. Changelog
  48. check-qdict.c
  49. check-qint.c
  50. check-qstring.c
  51. cmd.c
  52. cmd.h
  53. cocoa.m
  54. CODING_STYLE
  55. configure
  56. console.c
  57. console.h
  58. COPYING
  59. COPYING.LIB
  60. cpu-all.h
  61. cpu-common.h
  62. cpu-defs.h
  63. cpu-exec.c
  64. create_config
  65. cris-dis.c
  66. curses.c
  67. curses_keys.h
  68. cutils.c
  69. d3des.c
  70. d3des.h
  71. def-helper.h
  72. device_tree.c
  73. device_tree.h
  74. dis-asm.h
  75. disas.c
  76. disas.h
  77. dma-helpers.c
  78. dma.h
  79. dyngen-exec.h
  80. elf.h
  81. elf_ops.h
  82. envlist.c
  83. envlist.h
  84. exec-all.h
  85. exec.c
  86. feature_to_c.sh
  87. gdbstub.c
  88. gdbstub.h
  89. gen-icount.h
  90. host-utils.c
  91. host-utils.h
  92. hostregs_helper.h
  93. hpet.h
  94. hppa-dis.c
  95. hppa.ld
  96. hxtool
  97. i386-dis.c
  98. i386.ld
  99. ia64.ld
  100. ioport-user.c
  101. ioport.c
  102. ioport.h
  103. keymaps.c
  104. keymaps.h
  105. kvm-all.c
  106. kvm.h
  107. libfdt_env.h
  108. LICENSE
  109. linux-aio.c
  110. loader.c
  111. m68k-dis.c
  112. m68k-semi.c
  113. m68k.ld
  114. MAINTAINERS
  115. Makefile
  116. Makefile.hw
  117. Makefile.target
  118. microblaze-dis.c
  119. migration-exec.c
  120. migration-fd.c
  121. migration-tcp.c
  122. migration-unix.c
  123. migration.c
  124. migration.h
  125. mips-dis.c
  126. mips.ld
  127. module.c
  128. module.h
  129. monitor.c
  130. monitor.h
  131. nbd.c
  132. nbd.h
  133. net-checksum.c
  134. net.c
  135. net.h
  136. osdep.c
  137. osdep.h
  138. path.c
  139. pci-ids.txt
  140. posix-aio-compat.c
  141. ppc-dis.c
  142. ppc.ld
  143. ppc64.ld
  144. qdict-test-data.txt
  145. qdict.c
  146. qdict.h
  147. qemu-aio.h
  148. qemu-binfmt-conf.sh
  149. qemu-char.c
  150. qemu-char.h
  151. qemu-common.h
  152. qemu-config.c
  153. qemu-config.h
  154. qemu-doc.texi
  155. qemu-img-cmds.hx
  156. qemu-img.c
  157. qemu-img.texi
  158. qemu-io.c
  159. qemu-lock.h
  160. qemu-log.h
  161. qemu-malloc.c
  162. qemu-monitor.hx
  163. qemu-nbd.c
  164. qemu-nbd.texi
  165. qemu-option.c
  166. qemu-option.h
  167. qemu-options.hx
  168. qemu-sockets.c
  169. qemu-tech.texi
  170. qemu-thread.c
  171. qemu-thread.h
  172. qemu-timer.h
  173. qemu-tool.c
  174. qemu.sasl
  175. qemu_socket.h
  176. qint.c
  177. qint.h
  178. qobject.h
  179. qstring.c
  180. qstring.h
  181. readline.c
  182. readline.h
  183. README
  184. rules.mak
  185. s390-dis.c
  186. s390.ld
  187. savevm.c
  188. sdl.c
  189. sdl_keysym.h
  190. sdl_zoom.c
  191. sdl_zoom.h
  192. sdl_zoom_template.h
  193. sh4-dis.c
  194. softmmu-semi.h
  195. softmmu_defs.h
  196. softmmu_exec.h
  197. softmmu_header.h
  198. softmmu_template.h
  199. sparc-dis.c
  200. sparc.ld
  201. sparc64.ld
  202. sys-queue.h
  203. sysemu.h
  204. tap-win32.c
  205. targphys.h
  206. texi2pod.pl
  207. thunk.c
  208. thunk.h
  209. TODO
  210. translate-all.c
  211. uboot_image.h
  212. usb-bsd.c
  213. usb-linux.c
  214. usb-stub.c
  215. VERSION
  216. vgafont.h
  217. vl.c
  218. vnc-auth-sasl.c
  219. vnc-auth-sasl.h
  220. vnc-auth-vencrypt.c
  221. vnc-auth-vencrypt.h
  222. vnc-tls.c
  223. vnc-tls.h
  224. vnc.c
  225. vnc.h
  226. vnc_keysym.h
  227. vnchextile.h
  228. x86_64.ld
  229. x_keymap.c
  230. x_keymap.h