]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add test cases for the empty bitmap
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Wed, 6 Jul 2016 12:02:28 +0000 (14:02 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 9 Jul 2016 09:03:32 +0000 (11:03 +0200)
commit1edf20a9f87eb5873394182f470e191a9c70f9cf
tree29fcf40851a3256472444d2ca362055eeccfcf01
parentbd125c28b7a9e0ae58c0f34cb33e9dafa7fa664f
tests: Add test cases for the empty bitmap

As the empty bitmap exists, we should also test it. This patch adds
test cases for the procedures 'virBitmapNextSetBit', 'virBitmapLastSetBit',
'virBitmapNextClearBit'.

Tested-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
tests/virbitmaptest.c