test: extend sharkd tests to cover all requests
authorPeter Wu <peter@lekensteyn.nl>
Tue, 20 Nov 2018 15:27:56 +0000 (16:27 +0100)
committerAnders Broman <a.broman58@gmail.com>
Wed, 21 Nov 2018 04:36:20 +0000 (04:36 +0000)
commit7943dbf7bbffb535f83c333b779f9d384c7fe6df
tree632ac60aaddd5b79f67f54cd2261a54c04e80eb6
parent049d7464951eed3aa059b6b875888697bad3b2a5
test: extend sharkd tests to cover all requests

All request types have a corresponding test_sharkd_req_* test names
which tests the current (documented) behavior. The frame and download
tests are not very comprehensive though, but it's better than nothing.

(The original test_sharkd_hello_dhcp_pcap test is replaced by
test_sharkd_req_status and test_sharkd_req_frames, although the latter
does not literally check for the "DHCP" column anymore.)

Change-Id: Ic39b954fc50065345ac46e96a7057b7aba2a09e3
Reviewed-on: https://code.wireshark.org/review/30743
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
test/matchers.py [new file with mode: 0644]
test/suite_sharkd.py