testBoilerplate.h
Go to the documentation of this file.
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_BOILDERPLATE_H
10#define SQUID_SRC_TEST_BOILDERPLATE_H
11
12#include "compat/cppunit.h"
13
14/*
15 * demonstration test file, as new idioms are made they will
16 * be shown in the TestBoilerplate source.
17 *
18 * If a class declaration is only used in one source file, then declare
19 * that class where it is used instead of adding a dedicated header file.
20 */
21
22class TestBoilerplate: public CPPUNIT_NS::TestFixture
23{
25 /* note the statement here and then the actual prototype below */
28
29public:
30
31protected:
32 void testDemonstration();
33};
34
35#endif /* SQUID_SRC_TEST_BOILDERPLATE_H */
36
CPPUNIT_TEST(testDemonstration)
CPPUNIT_TEST_SUITE(TestBoilerplate)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors