]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testString.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / tests / testString.h
1 /*
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
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 */
8
9 #ifndef SQUID_SRC_TEST_STRING_H
10 #define SQUID_SRC_TEST_STRING_H
11
12 #include "compat/cppunit.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 );
24 CPPUNIT_TEST( testSubstr );
25
26 CPPUNIT_TEST_SUITE_END();
27
28 public:
29 void setUp();
30
31 protected:
32 void testCmpDefault();
33 void testCmpEmptyString();
34 void testCmpNotEmptyDefault();
35 void testSubstr();
36 };
37
38 #endif
39