HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / tools / dfilter-test.py
blobcd0f93ce6c36e40ccdb131bfffd6307b726ec13c
1 #!/usr/bin/env python
2 """
3 Test-suite to test wireshark's dfilter mechanism.
4 """
7 # $Id$
9 # Copyright (C) 2003-2013 by Gilbert Ramirez <gram@alumni.rice.edu>
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 import os
26 import sys
27 import types
28 import unittest
30 # Import each test class so unittest.main() can find them
31 from dftestlib.bytes_type import testBytes
32 from dftestlib.bytes_ether import testBytesEther
33 from dftestlib.bytes_ipv6 import testBytesIPv6
34 from dftestlib.double import testDouble
35 from dftestlib.integer import testInteger
36 from dftestlib.integer_1byte import testInteger1Byte
37 from dftestlib.ipv4 import testIPv4
38 from dftestlib.range_method import testRange
39 from dftestlib.scanner import testScanner
40 from dftestlib.string_type import testString
41 from dftestlib.stringz import testStringz
42 from dftestlib.time_type import testTime
43 from dftestlib.time_relative import testTimeRelative
44 from dftestlib.tvb import testTVB
45 from dftestlib.uint64 import testUINT64
47 if __name__ == "__main__":
48 unittest.main(verbosity=2)