]> git.ipfire.org Git - thirdparty/squid.git/blame - compat/testPreCompiler.h
SourceFormat Enforcement
[thirdparty/squid.git] / compat / testPreCompiler.h
CommitLineData
37be9888 1/*
4ac4a490 2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
37be9888
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 */
8
19ce1bfe
AJ
9#ifndef SQUID_COMPAT_TESTS_TESTPRECOMPILER_H
10#define SQUID_COMPAT_TESTS_TESTPRECOMPILER_H
11
12#include <cppunit/extensions/HelperMacros.h>
13
14/*
15 * Test the pre-compiler directives used within Squid code actually work.
16 */
17
18class testPreCompiler : public CPPUNIT_NS::TestFixture
19{
20 CPPUNIT_TEST_SUITE( testPreCompiler );
21 CPPUNIT_TEST( testIfDef );
469620bf
AJ
22 CPPUNIT_TEST( testIfDefAnd );
23 CPPUNIT_TEST( testIfDefOr );
19ce1bfe
AJ
24 CPPUNIT_TEST_SUITE_END();
25
26protected:
27 void testIfDef();
469620bf
AJ
28 void testIfDefAnd();
29 void testIfDefOr();
19ce1bfe
AJ
30};
31
32#endif /* SQUID_COMPAT_TESTS_TESTPRECOMPILER_H */
f53969cc 33