This is a unit test for NewNavToRinex. It is implemented a bit differently than the typical unit tests in that it acts like an application being tested, taking input and producing output. The validation of the output is separate from this process. This is so that we can implement a round-trip test.
Definition at line 76 of file NewNavToRinex_T.cpp.
Public Member Functions | |
bool | initialize (int argc, char *argv[], bool pretty=true) noexcept override |
NewNavToRinex_T (const string &applName) | |
void | process () override |
![]() | |
BasicFramework (const std::string &applName, const std::string &applDesc) noexcept | |
bool | run () noexcept |
virtual | ~BasicFramework () |
Destructor. More... | |
Public Attributes | |
CommandOptionRest | restOpt |
![]() | |
int | exitCode |
Additional Inherited Members | |
![]() | |
static const int | EXCEPTION_ERROR = 1 |
static const int | EXIST_ERROR = 2 |
static const int | GENERAL_ERROR = 1 |
static const int | OPTION_ERROR = 2 |
![]() | |
virtual void | additionalSetup () |
virtual void | completeProcessing () |
virtual void | shutDown () |
virtual void | spinUp () |
![]() | |
std::string | appDesc |
Description of program's function. More... | |
std::string | argv0 |
Name of the program. More... | |
int | debugLevel |
Debug level for this run of the program. More... | |
CommandOptionNoArg | debugOption |
Enable/increase debugging output. More... | |
CommandOptionHelpUsage | helpOption |
Request command-line option usage. More... | |
int | verboseLevel |
Verbose level for this run of the program. More... | |
CommandOptionNoArg | verboseOption |
Enable/increase informational output. More... | |
NewNavToRinex_T::NewNavToRinex_T | ( | const string & | applName | ) |
Definition at line 90 of file NewNavToRinex_T.cpp.
|
overridevirtualnoexcept |
Process command line arguments. When this method is overridden, make sure to call the parent class's initialize().
[in] | argc | same as main() argc. |
[in] | argv | same as main() argv. |
[in] | pretty | Whether the 'pretty print' option will be used when printing descriptions. It is 'TRUE' by default. |
Reimplemented from gnsstk::BasicFramework.
Definition at line 100 of file NewNavToRinex_T.cpp.
|
overridevirtual |
Processing to be performed. This method should be implemeneted by the end-user.
Reimplemented from gnsstk::BasicFramework.
Definition at line 121 of file NewNavToRinex_T.cpp.
CommandOptionRest NewNavToRinex_T::restOpt |
Definition at line 85 of file NewNavToRinex_T.cpp.