Wireshark-commits: [Wireshark-commits] master a051c12: Added a generic dissector validator and some

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Dec 2018 16:52:46 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a051c12f2caa82e51e29225d26ba85e34689a1a1
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

a051c12 by Atli Guðmundsson (atli@xxxxxxx):

    Added a generic dissector validator and some ASTERIX unit tests that use it.
    
    This patch extends the test suite with:
    * a way for tests to check if a given byte sequence dissects into an expected dissection result.
    
    Unit tests included:
    * ASTERIX I019
    * ASTERIX I063
    * ASTERIX I065
    
    Change-Id: Ib168382ec15b0b610ff5913806120ba1bf1d1503
    Reviewed-on: https://code.wireshark.org/review/31083
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  796dca3   print: use frame date instead of current for json index.
     add  a051c12   Added a generic dissector validator and some ASTERIX unit tests that use it.


Summary of changes:
 CMakeLists.txt                                     |    1 +
 .../__init__.py                                    |    2 +
 test/suite_dissectors/dissectorstest.py            |  119 ++
 test/suite_dissectors/group_asterix.py             | 1483 ++++++++++++++++++++
 4 files changed, 1605 insertions(+)
 copy test/{suite_dfilter => suite_dissectors}/__init__.py (99%)
 create mode 100644 test/suite_dissectors/dissectorstest.py
 create mode 100644 test/suite_dissectors/group_asterix.py