Update dfilter-test.py to use a much more modern test harness,
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 18 Sep 2013 05:07:46 +0000 (05:07 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 18 Sep 2013 05:07:46 +0000 (05:07 +0000)
commite7b4a0045d15c70115c20473de84fd245a58ca21
treebb3e38489329a99f43c10ea4aa29aa80e313d0fc
parent22217dc153d8915c39203ca10bf613b3ca6e2e26
Update dfilter-test.py to use a much more modern test harness,
the "unittest" module that comes with Python. Specifically, this
takes advantage of a couple of features in the "unittest" in
Python 2.7. The tests are all the same as before, but much
better managed.

This is in preparation for some work on the display filter code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@52136 f5534014-38df-0310-8fa8-9805f1628bb7
26 files changed:
doc/README.display_filter
tools/dfilter-test.py
tools/dftestfiles/arp.cap [new file with mode: 0644]
tools/dftestfiles/http.cap [new file with mode: 0644]
tools/dftestfiles/ipv6.cap [new file with mode: 0644]
tools/dftestfiles/ipx_rip.cap [new file with mode: 0644]
tools/dftestfiles/nfs.cap [new file with mode: 0644]
tools/dftestfiles/ntp.cap [new file with mode: 0644]
tools/dftestfiles/tftp.cap [new file with mode: 0644]
tools/dftestlib/__init__.py [new file with mode: 0644]
tools/dftestlib/bytes_ether.py [new file with mode: 0644]
tools/dftestlib/bytes_ipv6.py [new file with mode: 0644]
tools/dftestlib/bytes_type.py [new file with mode: 0644]
tools/dftestlib/dftest.py [new file with mode: 0644]
tools/dftestlib/double.py [new file with mode: 0644]
tools/dftestlib/integer.py [new file with mode: 0644]
tools/dftestlib/integer_1byte.py [new file with mode: 0644]
tools/dftestlib/ipv4.py [new file with mode: 0644]
tools/dftestlib/range_method.py [new file with mode: 0644]
tools/dftestlib/scanner.py [new file with mode: 0644]
tools/dftestlib/string_type.py [new file with mode: 0644]
tools/dftestlib/stringz.py [new file with mode: 0644]
tools/dftestlib/time_relative.py [new file with mode: 0644]
tools/dftestlib/time_type.py [new file with mode: 0644]
tools/dftestlib/uint64.py [new file with mode: 0644]
tools/dftestlib/util.py [new file with mode: 0644]