Automated tests for gnsstk::SP3NavDataFactory.
Definition at line 89 of file SP3NavDataFactory_T.cpp.
Public Member Functions | |
unsigned | addRinexClockTest () |
Test loading of RINEX clock data. More... | |
unsigned | constructorTest () |
Make sure the constructor does what it's supposed to. More... | |
unsigned | findEdgeTest () |
Test find with edge cases. More... | |
unsigned | findExactTest () |
Test find where the time stamps exactly match epochs in source data. More... | |
unsigned | findInterpTest () |
Test find where interpolation is required. More... | |
unsigned | gapTest () |
Test find with gap interval. More... | |
unsigned | loadIntoMapFGNSSTest (bool badPos, bool badClk, bool rcBefore, bool rcAfter) |
unsigned | loadIntoMapTest () |
Exercise loadIntoMap by loading data with different options in place. More... | |
unsigned | nomTimeStepTest () |
Test nomTimeStep via the friendlier wrapper methods. More... | |
unsigned | sp3cPTest () |
Test find with an SP3c file which contains P/EP records (no V) More... | |
unsigned | sp3cPVTest () |
Test find with an SP3c file which contains P/EP, V/EV records. More... | |
template<class NavClass > | |
void | verifyDataType (gnsstk::TestUtil &testFramework, gnsstk::NavMessageMap &nmm) |
unsigned SP3NavDataFactory_T::addRinexClockTest | ( | ) |
Test loading of RINEX clock data.
Definition at line 1255 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::constructorTest | ( | ) |
Make sure the constructor does what it's supposed to.
Definition at line 134 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::findEdgeTest | ( | ) |
Test find with edge cases.
Definition at line 514 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::findExactTest | ( | ) |
Test find where the time stamps exactly match epochs in source data.
Definition at line 216 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::findInterpTest | ( | ) |
Test find where interpolation is required.
Definition at line 439 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::gapTest | ( | ) |
Test find with gap interval.
Definition at line 1288 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::loadIntoMapFGNSSTest | ( | bool | badPos, |
bool | badClk, | ||
bool | rcBefore, | ||
bool | rcAfter | ||
) |
Exercise loadIntoMap by loading mixed source data.
[in] | badPos | Set the rejectBadPosFlag to this value. |
[in] | badClk | Set the rejectBadClkFlag to this value. |
[in] | rcBefore | Call useRinexClockData with this value before calling addDataSource. |
[in] | rcAfter | Call useRinexClockData with this value after calling addDataSource. |
Definition at line 1027 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::loadIntoMapTest | ( | ) |
Exercise loadIntoMap by loading data with different options in place.
Definition at line 149 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::nomTimeStepTest | ( | ) |
Test nomTimeStep via the friendlier wrapper methods.
Definition at line 1381 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::sp3cPTest | ( | ) |
Test find with an SP3c file which contains P/EP records (no V)
Definition at line 935 of file SP3NavDataFactory_T.cpp.
unsigned SP3NavDataFactory_T::sp3cPVTest | ( | ) |
Test find with an SP3c file which contains P/EP, V/EV records.
Definition at line 842 of file SP3NavDataFactory_T.cpp.
void SP3NavDataFactory_T::verifyDataType | ( | gnsstk::TestUtil & | testFramework, |
gnsstk::NavMessageMap & | nmm | ||
) |
Use dynamic_cast to verify that the contents of nmm are the right class.
[in] | testFramework | The test framework created by TUDEF, used by TUASSERT macros in this function. |
[in] | nmm | The data map to check. |
Definition at line 1238 of file SP3NavDataFactory_T.cpp.