Test Class Reference

Inheritance diagram for Test:

Inheritance graph
[legend]
Collaboration diagram for Test:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Test (const string &progName)

Public Attributes

ANSITime ansi
CivilTime civil
GPSEpochWeekSecond gews
GPSWeekSecond gws
GPSWeekZcount gwz
GPSZcount29 gz29
GPSZcount32 gz32
JulianDate jd
MJD mjd
UnixTime ut
YDSTime yds
SystemTime st

Protected Member Functions

virtual void process ()
 Processing to be performed.
void dumpCommonTime (const TimeTag &t)
bool simpleCopyTest ()
template<class T>
bool isCopySuccess (T &t)
bool conversionTest ()
template<class T>
bool toCommonAndBack (T &t)
bool simpleEqualityTest ()
template<class T>
bool isEqual (T &t)
bool systemTimeTest ()
bool simpleLessThanTest ()
bool otherTest ()

Constructor & Destructor Documentation

Test const string &  progName  )  [inline]
 

Definition at line 92 of file TimeTest.cpp.

References ansi, civil, defaultDay, defaultDoy, defaultEpoch, defaultFullWeek, defaultFullZcount, defaultFullZcount32, defaultHour, defaultJD, defaultMinute, defaultMJD, defaultMonth, defaultSecondD, defaultSod, defaultSow, defaultUnixSec, defaultUnixUsec, defaultWeek, defaultYear, defaultZcount, gews, gws, gwz, gz29, gz32, jd, mjd, ut, and yds.


Member Function Documentation

bool conversionTest  )  [protected]
 

Definition at line 199 of file TimeTest.cpp.

References ansi, civil, dumpCommonTime(), gews, gws, gwz, gz29, gz32, jd, mjd, toCommonAndBack(), ut, and yds.

Referenced by process().

void dumpCommonTime const TimeTag t  )  [protected]
 

Definition at line 158 of file TimeTest.cpp.

References TimeTag::convertToCommonTime().

Referenced by conversionTest().

bool isCopySuccess T &  t  )  [protected]
 

Definition at line 189 of file TimeTest.cpp.

Referenced by simpleCopyTest().

bool isEqual T &  t  )  [protected]
 

Definition at line 271 of file TimeTest.cpp.

Referenced by simpleEqualityTest().

bool otherTest  )  [protected]
 

Definition at line 348 of file TimeTest.cpp.

References gpstk::StringUtils::asInt(), TimeTag::scanf(), gpstk::scanTime(), and YDSTime::setFromInfo().

void process  )  [protected, virtual]
 

Processing to be performed.

This method should be implemeneted by the end-user.

Reimplemented from BasicFramework.

Definition at line 146 of file TimeTest.cpp.

References conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and systemTimeTest().

bool simpleCopyTest  )  [protected]
 

Definition at line 169 of file TimeTest.cpp.

References ansi, civil, gews, gws, gwz, gz29, gz32, isCopySuccess(), jd, mjd, ut, and yds.

Referenced by process().

bool simpleEqualityTest  )  [protected]
 

Definition at line 252 of file TimeTest.cpp.

References ansi, civil, gews, gws, gwz, gz29, gz32, isEqual(), jd, mjd, ut, and yds.

Referenced by process().

bool simpleLessThanTest  )  [protected]
 

Definition at line 317 of file TimeTest.cpp.

References ansi, civil, gews, gws, gwz, gz29, gz32, jd, mjd, st, ut, and yds.

Referenced by process().

bool systemTimeTest  )  [protected]
 

Definition at line 300 of file TimeTest.cpp.

References st.

Referenced by process().

bool toCommonAndBack T &  t  )  [protected]
 

Definition at line 235 of file TimeTest.cpp.

References TimeTag::convertFromCommonTime().

Referenced by conversionTest().


Member Data Documentation

ANSITime ansi
 

Definition at line 108 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

CivilTime civil
 

Definition at line 109 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

GPSEpochWeekSecond gews
 

Definition at line 110 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

GPSWeekSecond gws
 

Definition at line 111 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

GPSWeekZcount gwz
 

Definition at line 112 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

GPSZcount29 gz29
 

Definition at line 113 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

GPSZcount32 gz32
 

Definition at line 114 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

JulianDate jd
 

Definition at line 115 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

MJD mjd
 

Definition at line 116 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

SystemTime st
 

Definition at line 119 of file TimeTest.cpp.

Referenced by simpleLessThanTest(), and systemTimeTest().

UnixTime ut
 

Definition at line 117 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().

YDSTime yds
 

Definition at line 118 of file TimeTest.cpp.

Referenced by conversionTest(), simpleCopyTest(), simpleEqualityTest(), simpleLessThanTest(), and Test().


The documentation for this class was generated from the following file:
Generated on Tue Feb 7 03:31:25 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1