aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite_dfilter
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15test: convert suite_dfilter to use fixturesPeter Wu17-510/+580
Stop using subprocesstest, drop the (now redundant) DFTestCase base class and use pytest-style fixtures to inject the dependency on tshark. This approach makes it easier to switch to pytest in the future. Most substitutions were automated, so no typos should be present. Change-Id: I3516029162f87423816937410ff63507ff82e96f Reviewed-on: https://code.wireshark.org/review/30649 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-10-25test: make 'double' tests rely on icmp instead of ntp.Dario Lombardo1-19/+18
'double' tests have been disabled in aa03833 due to format change in ntp fields. Change-Id: Id3ab0a736c164bb7fdfed7b5da8856b512308978 Reviewed-on: https://code.wireshark.org/review/30366 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-10-21ntp: change root delay and dispersion to integer for fixed precision.Dario Lombardo1-0/+3
dfilter/group_double tests have been removed and need to be replaced by leveraging another protocol. Bug: 15049 Change-Id: I354a27a5217336ee5c9b1d021a2d3226e3532eec Reviewed-on: https://code.wireshark.org/review/29035 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
2018-09-04ntp: make ntp.precision an uint8.Dario Lombardo1-12/+12
Change-Id: I7ee0c7fbe5bab90bd1109b2f39feaec033b95621 Reviewed-on: https://code.wireshark.org/review/29178 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-05-30Test: Add UTF-8 filter tests.Gerald Combs1-0/+9
Change-Id: Ic1e961802e716b5c446428efa068a6205faab954 Reviewed-on: https://code.wireshark.org/review/27912 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-05-06Test: Make sure we run our display filter tests.Gerald Combs16-16/+16
Change the test suite list in CMakeLists.txt to a static list. Add a CTest coverage unit test. Change-Id: I8459f320a2d0707618d6d56abdfce80274fddd2d Reviewed-on: https://code.wireshark.org/review/27377 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-05-04Test: Add dftest to our tests.Gerald Combs18-0/+1108
Move the dfilter tests and captures from tools to test. Change-Id: I2e6a6cc1d383c985ba07c76c93ae1c57d3c8f84c Reviewed-on: https://code.wireshark.org/review/27339 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>