]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemumigrationcookiexmltest: Add synthetic test case
authorPeter Krempa <pkrempa@redhat.com>
Fri, 30 Oct 2020 16:09:47 +0000 (17:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 Nov 2020 11:25:49 +0000 (12:25 +0100)
commit20feb62ed8271c50973175b7a3119ccdbc494e0f
treead0d7ebbebbe75ebfda073fe3d4383da6906a2fe
parent5511bf32fe8f850d2c45b0e04832af50e8581fc5
qemumigrationcookiexmltest: Add synthetic test case

Add a test case attempting to exercise the most of the cookie XML
parsing/formatting infra. Note that the data is not based on any real
case.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemumigrationcookiexmldata/full-xml2xml-in.xml [new file with mode: 0644]
tests/qemumigrationcookiexmldata/full-xml2xml-out.xml [new file with mode: 0644]
tests/qemumigrationcookiexmltest.c