]>
Commit | Line | Data |
---|---|---|
4e0938ef | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
4e0938ef AJ |
3 | * |
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. | |
7 | */ | |
985c86bc | 8 | |
1ca54a54 AJ |
9 | #ifndef SQUID_SRC_TESTS_TESTURISCHEME_H |
10 | #define SQUID_SRC_TESTS_TESTURISCHEME_H | |
985c86bc | 11 | |
12 | #include <cppunit/extensions/HelperMacros.h> | |
13 | ||
14 | /* | |
1ca54a54 | 15 | * test UriScheme |
985c86bc | 16 | */ |
17 | ||
1ca54a54 | 18 | class testUriScheme : public CPPUNIT_NS::TestFixture |
985c86bc | 19 | { |
1ca54a54 | 20 | CPPUNIT_TEST_SUITE( testUriScheme ); |
985c86bc | 21 | CPPUNIT_TEST( testAssignFromprotocol_t ); |
22 | CPPUNIT_TEST( testCastToprotocol_t ); | |
23 | CPPUNIT_TEST( testConstructprotocol_t ); | |
24 | #if 0 | |
25 | ||
26 | CPPUNIT_TEST( testConstructCharStart ); | |
27 | CPPUNIT_TEST( testConstructCharStartEnd ); | |
28 | #endif | |
29 | ||
30 | CPPUNIT_TEST( testDefaultConstructor ); | |
31 | CPPUNIT_TEST( testEqualprotocol_t ); | |
32 | CPPUNIT_TEST( testNotEqualprotocol_t ); | |
1ca54a54 | 33 | CPPUNIT_TEST( testC_str ); |
985c86bc | 34 | CPPUNIT_TEST( testStream ); |
35 | CPPUNIT_TEST_SUITE_END(); | |
36 | ||
37 | public: | |
38 | ||
39 | protected: | |
40 | void testAssignFromprotocol_t(); | |
41 | void testCastToprotocol_t(); | |
42 | void testConstructprotocol_t(); | |
43 | #if 0 | |
44 | ||
45 | void testConstructCharStart(); | |
46 | void testConstructCharStartEnd(); | |
47 | #endif | |
48 | ||
1ca54a54 | 49 | void testC_str(); |
985c86bc | 50 | void testDefaultConstructor(); |
51 | void testEqualprotocol_t(); | |
52 | void testNotEqualprotocol_t(); | |
53 | void testStream(); | |
54 | }; | |
55 | ||
56 | #endif | |
57 |