Public Member Functions | List of all members
SP3NavDataFactory_T Class Reference

Detailed Description

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)
 

Member Function Documentation

◆ addRinexClockTest()

unsigned SP3NavDataFactory_T::addRinexClockTest ( )

Test loading of RINEX clock data.

Definition at line 1255 of file SP3NavDataFactory_T.cpp.

◆ constructorTest()

unsigned SP3NavDataFactory_T::constructorTest ( )

Make sure the constructor does what it's supposed to.

Definition at line 134 of file SP3NavDataFactory_T.cpp.

◆ findEdgeTest()

unsigned SP3NavDataFactory_T::findEdgeTest ( )

Test find with edge cases.

Definition at line 514 of file SP3NavDataFactory_T.cpp.

◆ findExactTest()

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.

◆ findInterpTest()

unsigned SP3NavDataFactory_T::findInterpTest ( )

Test find where interpolation is required.

Definition at line 439 of file SP3NavDataFactory_T.cpp.

◆ gapTest()

unsigned SP3NavDataFactory_T::gapTest ( )

Test find with gap interval.

Definition at line 1288 of file SP3NavDataFactory_T.cpp.

◆ loadIntoMapFGNSSTest()

unsigned SP3NavDataFactory_T::loadIntoMapFGNSSTest ( bool  badPos,
bool  badClk,
bool  rcBefore,
bool  rcAfter 
)

Exercise loadIntoMap by loading mixed source data.

Parameters
[in]badPosSet the rejectBadPosFlag to this value.
[in]badClkSet the rejectBadClkFlag to this value.
[in]rcBeforeCall useRinexClockData with this value before calling addDataSource.
[in]rcAfterCall useRinexClockData with this value after calling addDataSource.
Todo:
should we be able to form a useful OrbitDataSP3 w/o clock?

Definition at line 1027 of file SP3NavDataFactory_T.cpp.

◆ loadIntoMapTest()

unsigned SP3NavDataFactory_T::loadIntoMapTest ( )

Exercise loadIntoMap by loading data with different options in place.

Definition at line 149 of file SP3NavDataFactory_T.cpp.

◆ nomTimeStepTest()

unsigned SP3NavDataFactory_T::nomTimeStepTest ( )

Test nomTimeStep via the friendlier wrapper methods.

Definition at line 1381 of file SP3NavDataFactory_T.cpp.

◆ sp3cPTest()

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.

◆ sp3cPVTest()

unsigned SP3NavDataFactory_T::sp3cPVTest ( )

Test find with an SP3c file which contains P/EP, V/EV records.

Note
acc values not confirmed by SP3EphemerisStore
drift rate value not confirmed by SP3EphemerisStore

Definition at line 842 of file SP3NavDataFactory_T.cpp.

◆ verifyDataType()

template<class NavClass >
void SP3NavDataFactory_T::verifyDataType ( gnsstk::TestUtil testFramework,
gnsstk::NavMessageMap nmm 
)

Use dynamic_cast to verify that the contents of nmm are the right class.

Parameters
[in]testFrameworkThe test framework created by TUDEF, used by TUASSERT macros in this function.
[in]nmmThe data map to check.

Definition at line 1238 of file SP3NavDataFactory_T.cpp.


The documentation for this class was generated from the following file:


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