testEnumIterator.cc File Reference
#include "squid.h"
#include "base/EnumIterator.h"
#include "compat/cppunit.h"
#include "unitTestMain.h"
#include <cppunit/TestAssert.h>
Include dependency graph for testEnumIterator.cc:

Go to the source code of this file.

Classes

class  TestEnumIterator
 

Enumerations

enum class  TestEnum {
  enumBegin_ = 0 ,
  zero = enumBegin_ ,
  one ,
  two ,
  three ,
  four ,
  enumEnd_
}
 
enum class  UnsignedTestEnum : unsigned char {
  enumBegin_ = 0 ,
  zero = enumBegin_ ,
  one ,
  two ,
  three ,
  four ,
  enumEnd_
}
 

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (TestEnumIterator)
 
int main (int argc, char *argv[])
 

Enumeration Type Documentation

◆ TestEnum

enum class TestEnum
strong
Enumerator
enumBegin_ 
zero 
one 
two 
three 
four 
enumEnd_ 

Definition at line 38 of file testEnumIterator.cc.

◆ UnsignedTestEnum

enum class UnsignedTestEnum : unsigned char
strong
Enumerator
enumBegin_ 
zero 
one 
two 
three 
four 
enumEnd_ 

Definition at line 48 of file testEnumIterator.cc.

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( TestEnumIterator  )

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 166 of file testEnumIterator.cc.

References TestProgram::run().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors