libvirt/tests/nwfilterxml2xmlout
Peter Krempa 9cb4e78ffd virNWFilterRuleDefDetailsFormat: Refactor formatter
Format the rule attributes in two passes, first for positive 'match' and
second pass for negative. This removes the crazy logic for switching
between match modes inside the formatter.

The refactor makes it also more clear in which cases we actually do
format something.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-06-05 13:23:06 +02:00
..
ah-ipv6-test.xml
ah-test.xml
all-ipv6-test.xml
all-test.xml
arp-test.xml
attr-value-test.xml Add test cases for parsing of list values 2011-11-18 11:58:18 -05:00
chain_prefixtest1.xml Add test cases 2011-11-18 11:58:18 -05:00
comment-test.xml
conntrack-test.xml
esp-ipv6-test.xml
esp-test.xml
example-1.xml
example-2.xml
hex-data-test.xml
icmp-direction2-test.xml
icmp-direction3-test.xml
icmp-direction-test.xml
icmp-test.xml
icmpv6-test.xml
igmp-test.xml
ip-test.xml
ipset-test.xml
ipt-no-macspoof-test.xml
ipv6-test.xml
iter-test1.xml
iter-test2.xml
iter-test3.xml
mac-test.xml
quirks-invalid.xml virNWFilterRuleDefDetailsFormat: Refactor formatter 2023-06-05 13:23:06 +02:00
rarp-test.xml
ref-rule-test.xml This patch adds a couple of test cases for the XML parsing test suite covering various filterable protocols. For each test case an input XML and an output XML is provided checking the input XML after parsing and converting back into XML against the exepcted output XML. 2010-04-02 13:28:28 -04:00
ref-test.xml
sctp-ipv6-test.xml
sctp-test.xml
stp-test.xml
tcp-ipv6-test.xml
tcp-test.xml
udp-ipv6-test.xml
udp-test.xml
udplite-ipv6-test.xml
udplite-test.xml
vlan-test.xml