testEnumIterator.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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_TESTENUMITERATOR_H_
10 #define SQUID_TESTENUMITERATOR_H_
11 
12 #include "base/EnumIterator.h"
13 
14 #include <cppunit/extensions/HelperMacros.h>
15 
16 class testEnumIterator : public CPPUNIT_NS::TestFixture
17 {
26 
27 protected:
28  void testForwardIter();
29  void testReverseIter();
30  void testBidirectionalIter();
31  void testRangeFor();
32  void testRangeForRange();
33  void testUnsignedEnum();
34 };
35 
36 #endif /* SQUID_TESTENUMITERATOR_H_ */
37 
CPPUNIT_TEST_SUITE(testEnumIterator)
CPPUNIT_TEST(testForwardIter)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors