~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to lib/tests/testRFC1035.h

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2010-05-04 11:15:49 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (20.3.1 squeeze) (21.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100504111549-1apjh2g5sndki4te
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SQUID_SRC_TEST_RFC1035_H
 
2
#define SQUID_SRC_TEST_RFC1035_H
 
3
 
 
4
#include <cppunit/extensions/HelperMacros.h>
 
5
 
 
6
/*
 
7
 * test the DNS resolver RFC 1035 Engine
 
8
 */
 
9
 
 
10
class testRFC1035 : public CPPUNIT_NS::TestFixture
 
11
{
 
12
    CPPUNIT_TEST_SUITE( testRFC1035 );
 
13
    CPPUNIT_TEST( testHeaderUnpack );
 
14
    CPPUNIT_TEST( testParseAPacket );
 
15
 
 
16
    CPPUNIT_TEST( testBugPacketHeadersOnly );
 
17
    CPPUNIT_TEST( testBugPacketEndingOnCompressionPtr );
 
18
    CPPUNIT_TEST_SUITE_END();
 
19
 
 
20
public:
 
21
 
 
22
protected:
 
23
    void testHeaderUnpack();
 
24
    void testParseAPacket();
 
25
 
 
26
    // bugs.
 
27
    void testBugPacketEndingOnCompressionPtr();
 
28
    void testBugPacketHeadersOnly();
 
29
};
 
30
 
 
31
#endif /* SQUID_SRC_TEST_IPADDRESS_H */