diff --git a/HACKING b/HACKING index 3183e570c..74c9b310b 100644 --- a/HACKING +++ b/HACKING @@ -22,8 +22,14 @@ to see a code coverage report. 'test*' have a --debug option if you are hitting problems. -For translations, please sign up for transifex.com and contribute to the -virt-manager project. +One useful way to manually test virt-manager's UI is using libvirt's +unit test driver. From the source directory, Launch virt-manager like: + + virt-manager --connect test://$PWD/tests/testdriver.xml + +This testdriver has many fake XML definitions that can be used to see +each bit of virt-manager's UI. It also enables testing the various wizards +without having to alter your host virt config. Submitting patches @@ -41,3 +47,10 @@ For an web view, see: Patches should be sent to the mailing list (see README for details). Using git format-patch/send-email is preferred, but an attachment with format-patch output is fine too. + + + Translations + ============ + +For translations, please sign up for transifex.com and contribute to the +virt-manager project. diff --git a/tests/cli-test-xml/compare/clone-auto1.xml b/tests/cli-test-xml/compare/clone-auto1.xml index 5050c7c77..a42306685 100644 --- a/tests/cli-test-xml/compare/clone-auto1.xml +++ b/tests/cli-test-xml/compare/clone-auto1.xml @@ -1,4 +1,4 @@ - + test-for-clone1 00000000-1111-2222-3333-444444444444 409600 @@ -19,12 +19,18 @@ restart /usr/lib/xen/bin/qemu-dm - + - +
+ + + + +
+ @@ -34,24 +40,24 @@ +
- - -
+ +
+ - - - - -
+ + +
+ + - - - + + diff --git a/tests/cli-test-xml/compare/clone-auto2.xml b/tests/cli-test-xml/compare/clone-auto2.xml index 17a7f39f6..e6cb868cf 100644 --- a/tests/cli-test-xml/compare/clone-auto2.xml +++ b/tests/cli-test-xml/compare/clone-auto2.xml @@ -1,4 +1,4 @@ - + newvm 00000000-1111-2222-3333-444444444444 409600 diff --git a/tests/interface-xml/test-bridge-ip.xml b/tests/interface-xml/test-bridge-ip.xml index 812600eba..7998fd736 100644 --- a/tests/interface-xml/test-bridge-ip.xml +++ b/tests/interface-xml/test-bridge-ip.xml @@ -17,6 +17,11 @@ + + + + + diff --git a/tests/interface-xml/test-bridge.xml b/tests/interface-xml/test-bridge.xml index 7fb778171..9295881db 100644 --- a/tests/interface-xml/test-bridge.xml +++ b/tests/interface-xml/test-bridge.xml @@ -4,6 +4,11 @@ + + + + + diff --git a/tests/testdriver.xml b/tests/testdriver.xml index 66ebb7700..575420397 100644 --- a/tests/testdriver.xml +++ b/tests/testdriver.xml @@ -11,6 +11,16 @@ 10000000 + + + + + + + + + + test 4a64cc71-19c4-2fd0-2323-3050941ea3c3 @@ -29,6 +39,307 @@ + + + test-many-devices + 204800 + 409600 + + + + 12345678-12F4-1234-1234-123456789012 + + hvm + /usr/lib/xen/boot/hvmloader + + + Foo bar baz & + yeah boii < > yeahfoo + + + + + + destroy + restart + restart + 9 + + core2duo + Intel + + + + + + + + + + + + + + + + /usr/lib/xen/bin/qemu-dm + + + + + + + + + + + + + + + + 5242880 + 50 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +