Classes | Macros
FactoryCounter.hpp File Reference
#include "NavData.hpp"
#include "NavMessageType.hpp"
#include "TestUtil.hpp"
Include dependency graph for FactoryCounter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >
 

Macros

#define FCASSERTE(TYPE, COUNTER, EXP, GOT, LINE)
 

Macro Definition Documentation

◆ FCASSERTE

#define FCASSERTE (   TYPE,
  COUNTER,
  EXP,
  GOT,
  LINE 
)
Value:
try \
{ \
std::ostringstream ostr; \
ostr << std::boolalpha << "Expected " << COUNTER << "=" << EXP \
<< ", but got " << COUNTER << "=" << GOT; \
testFramework.assert_equals<TYPE>(EXP, GOT, LINE, ostr.str()); \
} \
catch (gnsstk::Exception &exc) \
{ \
std::cerr << exc << std::endl; \
testFramework.assert(false, \
"Exception evaluating " #EXP " or " #GOT, \
LINE); \
} \
catch (...) \
{ \
testFramework.assert(false, \
"Exception evaluating " #EXP " or " #GOT, \
LINE); \
}

Definition at line 49 of file FactoryCounter.hpp.

gnsstk::Exception
Definition: Exception.hpp:151


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42