]>
Commit | Line | Data |
---|---|---|
4e0938ef | 1 | /* |
bde978a6 | 2 | * Copyright (C) 1996-2015 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 | */ | |
c21ad0f5 | 8 | |
9 | #ifndef SQUID_SRC_TEST_STRING_H | |
10 | #define SQUID_SRC_TEST_STRING_H | |
11 | ||
12 | #include <cppunit/extensions/HelperMacros.h> | |
13 | ||
14 | /* | |
15 | * test the store framework | |
16 | */ | |
17 | ||
18 | class testString : public CPPUNIT_NS::TestFixture | |
19 | { | |
20 | CPPUNIT_TEST_SUITE( testString ); | |
21 | CPPUNIT_TEST( testCmpDefault ); | |
22 | CPPUNIT_TEST( testCmpEmptyString ); | |
23 | CPPUNIT_TEST( testCmpNotEmptyDefault ); | |
9b558d8a FC |
24 | CPPUNIT_TEST( testSubstr ); |
25 | ||
c21ad0f5 | 26 | CPPUNIT_TEST_SUITE_END(); |
27 | ||
28 | public: | |
16555581 | 29 | void setUp(); |
c21ad0f5 | 30 | |
31 | protected: | |
32 | void testCmpDefault(); | |
33 | void testCmpEmptyString(); | |
34 | void testCmpNotEmptyDefault(); | |
9b558d8a | 35 | void testSubstr(); |
c21ad0f5 | 36 | }; |
37 | ||
38 | #endif | |
30abd221 | 39 |