testEnumIterator.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_TESTENUMITERATOR_H_
10#define SQUID_TESTENUMITERATOR_H_
11
12#include "base/EnumIterator.h"
13
14#include "compat/cppunit.h"
15
16class TestEnumIterator: public CPPUNIT_NS::TestFixture
17{
26
27protected:
28 void testForwardIter();
29 void testReverseIter();
31 void testRangeFor();
32 void testRangeForRange();
33 void testUnsignedEnum();
34};
35
36#endif /* SQUID_TESTENUMITERATOR_H_ */
37
CPPUNIT_TEST(testForwardIter)
CPPUNIT_TEST(testRangeFor)
CPPUNIT_TEST(testUnsignedEnum)
CPPUNIT_TEST(testBidirectionalIter)
CPPUNIT_TEST(testRangeForRange)
CPPUNIT_TEST_SUITE(TestEnumIterator)
CPPUNIT_TEST(testReverseIter)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors