]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testConfigParser.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / tests / testConfigParser.h
1 /*
2 * Copyright (C) 1996-2023 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_CONFIG_PARSER_H
10 #define SQUID_SRC_TEST_CONFIG_PARSER_H
11
12 #include "compat/cppunit.h"
13
14 /*
15 * test the ConfigParser framework
16 */
17
18 class testConfigParser : public CPPUNIT_NS::TestFixture
19 {
20 CPPUNIT_TEST_SUITE( testConfigParser );
21 CPPUNIT_TEST( testParseQuoted );
22 CPPUNIT_TEST_SUITE_END();
23
24 public:
25 void setUp() override;
26
27 protected:
28 bool doParseQuotedTest(const char *, const char *);
29 void testParseQuoted();
30 };
31
32 #endif
33