2 * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_SRC_TEST_RFC1035_H
10 #define SQUID_SRC_TEST_RFC1035_H
12 #include <cppunit/extensions/HelperMacros.h>
15 * test the DNS resolver RFC 1035 Engine
18 class testRFC1035
: public CPPUNIT_NS::TestFixture
20 CPPUNIT_TEST_SUITE( testRFC1035
);
21 CPPUNIT_TEST( testHeaderUnpack
);
22 CPPUNIT_TEST( testParseAPacket
);
24 CPPUNIT_TEST( testBugPacketHeadersOnly
);
25 CPPUNIT_TEST( testBugPacketEndingOnCompressionPtr
);
26 CPPUNIT_TEST_SUITE_END();
31 void testHeaderUnpack();
32 void testParseAPacket();
35 void testBugPacketEndingOnCompressionPtr();
36 void testBugPacketHeadersOnly();
39 #endif /* SQUID_SRC_TEST_IPADDRESS_H */