ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
testDictKeywordFormatter.cpp File Reference
#include <dictKeywordFormatter.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>

Go to the source code of this file.

Classes

class  daq::TestFormatKeyword
 
class  daq::TestFormatLiteralKeyword
 
class  daq::TestFormatEsoKeyword
 
class  daq::TestFormatValueKeyword
 

Namespaces

namespace  daq
 

Macros

#define EXPECT_THROW_THAT(stmt, etype, matcher)
 

Functions

 daq::TEST_F (TestFormatLiteralKeyword, StringIsWrongType)
 
 daq::TEST_F (TestFormatLiteralKeyword, InvalidStrings)
 
 daq::TEST_F (TestFormatLiteralKeyword, InvalidFloat)
 
 daq::TEST_F (TestFormatLiteralKeyword, InvalidInteger)
 
 daq::TEST_F (TestFormatLiteralKeyword, InvalidBool)
 
 daq::TEST_F (TestFormatLiteralKeyword, ValidStrings)
 
 daq::TEST_F (TestFormatLiteralKeyword, ValidFloatsAreReformatted)
 
 daq::TEST_F (TestFormatLiteralKeyword, ValidFloatsWithoutFormatKeepsFormatting)
 
 daq::TEST_F (TestFormatLiteralKeyword, ValidBool)
 
 daq::TEST_F (TestFormatValueKeyword, ValidStrings)
 
 daq::TEST_F (TestFormatValueKeyword, ValidBool)
 
 daq::TEST_F (TestFormatValueKeyword, ValidFloat)
 
 daq::TEST_F (TestFormatValueKeyword, ValidFloatNoDecimalDigits)
 
 daq::TEST_F (TestFormatValueKeyword, ValidInteger)
 
 daq::TEST_F (TestFormatValueKeyword, NoRecordCommentCoverage)
 
 daq::TEST_F (TestFormatValueKeyword, StringIsWrongType)
 
 daq::TEST_F (TestFormatValueKeyword, DoubleIsWrongType)
 
 daq::TEST_F (TestFormatEsoKeyword, DoubleIsWrongType)
 
 daq::TEST_F (TestFormatEsoKeyword, StringIsWrongType)
 
 daq::TEST_F (TestFormatEsoKeyword, IntegersAreTheWrongType)
 
 daq::TEST_F (TestFormatEsoKeyword, BoolIsTheWrongType)
 

Detailed Description

Definition in file testDictKeywordFormatter.cpp.

Macro Definition Documentation

◆ EXPECT_THROW_THAT

#define EXPECT_THROW_THAT (   stmt,
  etype,
  matcher 
)
Value:
EXPECT_THROW( \
try { stmt; } catch (const etype& ex) { \
EXPECT_THAT(std::string(ex.what()), matcher); \
throw; \
}, \
etype)

Definition at line 17 of file testDictKeywordFormatter.cpp.