Project
Loading...
Searching...
No Matches
testEnumFlags.cxx File Reference
#include <boost/test/unit_test.hpp>
#include <stdexcept>
#include <string>
#include "CommonUtils/EnumFlags.h"

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   Test Flags
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Enumerations

enum class  TestEnum : uint8_t {
  Bit1 , Bit2 , Bit3 , Bit4 ,
  Bit5VeryLongName
}
 
enum class  TestEnumLong : uint64_t {
  Bit1 , Bit2 , Bit3 , Bit4 ,
  Bit5 , Bit6 , Bit7 , Bit8 ,
  Bit9 , Bit10 , Bit11 , Bit12 ,
  Bit13 , Bit14 , Bit15 , Bit16 ,
  Bit17 , Bit18 , Bit19 , Bit20 ,
  Bit21 , Bit22 , Bit23 , Bit24 ,
  Bit25 , Bit26 , Bit27 , Bit28 ,
  Bit29 , Bit30 , Bit31 , Bit32 ,
  Bit33 , Bit34
}
 

Functions

 BOOST_AUTO_TEST_CASE (Flags_test)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file testEnumFlags.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file testEnumFlags.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test Flags

Definition at line 12 of file testEnumFlags.cxx.

Enumeration Type Documentation

◆ TestEnum

enum class TestEnum : uint8_t
strong
Enumerator
Bit1 
Bit2 
Bit3 
Bit4 
Bit5VeryLongName 

Definition at line 23 of file testEnumFlags.cxx.

◆ TestEnumLong

enum class TestEnumLong : uint64_t
strong
Enumerator
Bit1 
Bit2 
Bit3 
Bit4 
Bit5 
Bit6 
Bit7 
Bit8 
Bit9 
Bit10 
Bit11 
Bit12 
Bit13 
Bit14 
Bit15 
Bit16 
Bit17 
Bit18 
Bit19 
Bit20 
Bit21 
Bit22 
Bit23 
Bit24 
Bit25 
Bit26 
Bit27 
Bit28 
Bit29 
Bit30 
Bit31 
Bit32 
Bit33 
Bit34 

Definition at line 33 of file testEnumFlags.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( Flags_test  )

Definition at line 71 of file testEnumFlags.cxx.