History | View | Annotate | Download (13.2 kB)
check-qdict: Test termination of qdict_array_split()
qdict_array_split() should terminate if it encounters both an entry witha key of "%u" and entries with keys prefixed "%u." for the same index.
This patch adds a test for this case.
Signed-off-by: Max Reitz <mreitz@redhat.com>...
check-qdict: Adjust test for qdict_array_split()
Test the new functionality of qdict_array_split(), that is, splittingoff single objects.
Signed-off-by: Max Reitz <mreitz@redhat.com>Reviewed-by: Eric Blake <eblake@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests: Add test for qdict_array_split()
Add a test case for qdict_array_split() in tests/check-qdict.c.
tests: Add test for qdict_flatten()
Add a test case for qdict_flatten() in tests/check-qdict.c. This testcase covers the flattening of subordinate QLists as well.
qapi: move include files to include/qobject/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
test makefile overhaul
This introduces new test reporting infrastructure based ongtester and gtester-report.
Also, all existing tests are moved to tests/, and tests/Makefileis reorganized to factor out the commonalities in the rules.
Signed-off-by: Anthony Liguori <aliguori@linux.vnet.ibm.com>...