]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testEnumIterator.h
2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_TESTENUMITERATOR_H_
10 #define SQUID_TESTENUMITERATOR_H_
12 #include "base/EnumIterator.h"
14 #include <cppunit/extensions/HelperMacros.h>
16 class testEnumIterator
: public CPPUNIT_NS::TestFixture
18 CPPUNIT_TEST_SUITE( testEnumIterator
);
19 CPPUNIT_TEST( testForwardIter
);
20 CPPUNIT_TEST( testReverseIter
);
21 CPPUNIT_TEST( testBidirectionalIter
);
22 CPPUNIT_TEST( testRangeFor
);
23 CPPUNIT_TEST( testRangeForRange
);
24 CPPUNIT_TEST( testUnsignedEnum
);
25 CPPUNIT_TEST_SUITE_END();
28 void testForwardIter();
29 void testReverseIter();
30 void testBidirectionalIter();
32 void testRangeForRange();
33 void testUnsignedEnum();
36 #endif /* SQUID_TESTENUMITERATOR_H_ */