List of all members | Public Member Functions | Private Member Functions | Private Attributes
TestTime Class Reference
Inheritance diagram for TestTime:
Inheritance graph
[legend]

Public Member Functions

void setUp ()
 
void tearDown ()
 
void TestArithmetic ()
 
void TestBool ()
 
void TestConversions ()
 
void TestConversions2 ()
 
void TestConversions3 ()
 
void TestConversions4 ()
 
void TestConversions5 ()
 
void TestLeap1 ()
 
void TestLeap2 ()
 
void TestLeap3 ()
 
void TestLeap4 ()
 
void TestLeap5 ()
 
void TestLeap6 ()
 
void TestLeapException1 ()
 
void TestLeapException2 ()
 
void TestLeapException3 ()
 
void TestLeapException4 ()
 
void TestLeapException5 ()
 
void TestLeapSecondBoundary ()
 
void TestRealTimeStopwatch ()
 
void TestStopwatch ()
 
 TestTime ()
 
void TestTimeConsistency ()
 
void TestTimeIntervalInitialization ()
 
void TestTimeRange ()
 
void TestTimeRangeSearch ()
 
void TestTimeStampInitException ()
 
void TestTimeStampInitialization ()
 
void TestUTCToGPSLeapSeconds ()
 

Private Member Functions

 CPPUNIT_TEST (TestTimeStampInitialization)
 
 CPPUNIT_TEST (TestLeap1)
 
 CPPUNIT_TEST (TestLeap2)
 
 CPPUNIT_TEST (TestLeap3)
 
 CPPUNIT_TEST (TestLeap4)
 
 CPPUNIT_TEST (TestLeap5)
 
 CPPUNIT_TEST (TestLeap6)
 
 CPPUNIT_TEST (TestTimeIntervalInitialization)
 
 CPPUNIT_TEST (TestLeapSecondBoundary)
 
 CPPUNIT_TEST (TestArithmetic)
 
 CPPUNIT_TEST (TestBool)
 
 CPPUNIT_TEST (TestTimeRange)
 
 CPPUNIT_TEST (TestTimeRangeSearch)
 
 CPPUNIT_TEST (TestStopwatch)
 
 CPPUNIT_TEST (TestRealTimeStopwatch)
 
 CPPUNIT_TEST (TestUTCToGPSLeapSeconds)
 
 CPPUNIT_TEST (TestConversions)
 
 CPPUNIT_TEST (TestConversions2)
 
 CPPUNIT_TEST (TestConversions3)
 
 CPPUNIT_TEST (TestConversions4)
 
 CPPUNIT_TEST (TestConversions5)
 
 CPPUNIT_TEST (TestTimeConsistency)
 
 CPPUNIT_TEST_EXCEPTION (TestTimeStampInitException, OutOfBoundException)
 
 CPPUNIT_TEST_EXCEPTION (TestLeapException1, OutOfBoundException)
 
 CPPUNIT_TEST_EXCEPTION (TestLeapException2, OutOfBoundException)
 
 CPPUNIT_TEST_EXCEPTION (TestLeapException3, OutOfBoundException)
 
 CPPUNIT_TEST_EXCEPTION (TestLeapException4, OutOfBoundException)
 
 CPPUNIT_TEST_EXCEPTION (TestLeapException5, OutOfBoundException)
 
 CPPUNIT_TEST_SUITE (TestTime)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

TimeStamp fLeap
 
TimeStamp fLeapMinusOne
 
TimeStamp fLeapPlusOne
 
TimeStamp fNoLeap
 
TimeStamp fNoLeapMinusOne
 
TimeStamp fNoLeapPlusOne
 
TimeInterval fOneSecond
 
TimeInterval fTwoSeconds
 
TimeInterval fZero
 

Detailed Description

Definition at line 42 of file testTime.cc.

Constructor & Destructor Documentation

TestTime::TestTime ( )
inline

Definition at line 86 of file testTime.cc.

Member Function Documentation

TestTime::CPPUNIT_TEST ( TestTimeStampInitialization  )
private
TestTime::CPPUNIT_TEST ( TestLeap1  )
private
TestTime::CPPUNIT_TEST ( TestLeap2  )
private
TestTime::CPPUNIT_TEST ( TestLeap3  )
private
TestTime::CPPUNIT_TEST ( TestLeap4  )
private
TestTime::CPPUNIT_TEST ( TestLeap5  )
private
TestTime::CPPUNIT_TEST ( TestLeap6  )
private
TestTime::CPPUNIT_TEST ( TestTimeIntervalInitialization  )
private
TestTime::CPPUNIT_TEST ( TestLeapSecondBoundary  )
private
TestTime::CPPUNIT_TEST ( TestArithmetic  )
private
TestTime::CPPUNIT_TEST ( TestBool  )
private
TestTime::CPPUNIT_TEST ( TestTimeRange  )
private
TestTime::CPPUNIT_TEST ( TestTimeRangeSearch  )
private
TestTime::CPPUNIT_TEST ( TestStopwatch  )
private
TestTime::CPPUNIT_TEST ( TestRealTimeStopwatch  )
private
TestTime::CPPUNIT_TEST ( TestUTCToGPSLeapSeconds  )
private
TestTime::CPPUNIT_TEST ( TestConversions  )
private
TestTime::CPPUNIT_TEST ( TestConversions2  )
private
TestTime::CPPUNIT_TEST ( TestConversions3  )
private
TestTime::CPPUNIT_TEST ( TestConversions4  )
private
TestTime::CPPUNIT_TEST ( TestConversions5  )
private
TestTime::CPPUNIT_TEST ( TestTimeConsistency  )
private
TestTime::CPPUNIT_TEST_EXCEPTION ( TestTimeStampInitException  ,
OutOfBoundException   
)
private
TestTime::CPPUNIT_TEST_EXCEPTION ( TestLeapException1  ,
OutOfBoundException   
)
private
TestTime::CPPUNIT_TEST_EXCEPTION ( TestLeapException2  ,
OutOfBoundException   
)
private
TestTime::CPPUNIT_TEST_EXCEPTION ( TestLeapException3  ,
OutOfBoundException   
)
private
TestTime::CPPUNIT_TEST_EXCEPTION ( TestLeapException4  ,
OutOfBoundException   
)
private
TestTime::CPPUNIT_TEST_EXCEPTION ( TestLeapException5  ,
OutOfBoundException   
)
private
TestTime::CPPUNIT_TEST_SUITE ( TestTime  )
private
TestTime::CPPUNIT_TEST_SUITE_END ( )
private
void TestTime::setUp ( )
inline

Definition at line 98 of file testTime.cc.

void TestTime::tearDown ( )
inline

Definition at line 100 of file testTime.cc.

void TestTime::TestArithmetic ( )
inline
void TestTime::TestBool ( )
inline

Definition at line 293 of file testTime.cc.

void TestTime::TestConversions ( )
inline
void TestTime::TestConversions2 ( )
inline

Definition at line 546 of file testTime.cc.

References utl::UTCDateTime::GetTimeStamp().

void TestTime::TestConversions3 ( )
inline
void TestTime::TestConversions4 ( )
inline

Definition at line 604 of file testTime.cc.

void TestTime::TestConversions5 ( )
inline
void TestTime::TestLeap1 ( )
inline

Definition at line 182 of file testTime.cc.

void TestTime::TestLeap2 ( )
inline

Definition at line 183 of file testTime.cc.

void TestTime::TestLeap3 ( )
inline

Definition at line 184 of file testTime.cc.

void TestTime::TestLeap4 ( )
inline

Definition at line 185 of file testTime.cc.

void TestTime::TestLeap5 ( )
inline

Definition at line 186 of file testTime.cc.

void TestTime::TestLeap6 ( )
inline

Definition at line 187 of file testTime.cc.

void TestTime::TestLeapException1 ( )
inline

Definition at line 176 of file testTime.cc.

References tst::Expected().

void TestTime::TestLeapException2 ( )
inline

Definition at line 177 of file testTime.cc.

References tst::Expected().

void TestTime::TestLeapException3 ( )
inline

Definition at line 178 of file testTime.cc.

References tst::Expected().

void TestTime::TestLeapException4 ( )
inline

Definition at line 179 of file testTime.cc.

References tst::Expected().

void TestTime::TestLeapException5 ( )
inline

Definition at line 180 of file testTime.cc.

References tst::Expected().

void TestTime::TestLeapSecondBoundary ( )
inline

Definition at line 190 of file testTime.cc.

void TestTime::TestRealTimeStopwatch ( )
inline
void TestTime::TestStopwatch ( )
inline
void TestTime::TestTimeConsistency ( )
inline
void TestTime::TestTimeIntervalInitialization ( )
inline
void TestTime::TestTimeRange ( )
inline

Definition at line 313 of file testTime.cc.

References utl::TimeRange::HasCommonTime(), and utl::TimeRange::SetTimeRange().

void TestTime::TestTimeRangeSearch ( )
inline

Definition at line 362 of file testTime.cc.

void TestTime::TestTimeStampInitException ( )
inline

Definition at line 170 of file testTime.cc.

void TestTime::TestTimeStampInitialization ( )
inline
void TestTime::TestUTCToGPSLeapSeconds ( )
inline

Member Data Documentation

TimeStamp TestTime::fLeap
private

Definition at line 76 of file testTime.cc.

TimeStamp TestTime::fLeapMinusOne
private

Definition at line 75 of file testTime.cc.

TimeStamp TestTime::fLeapPlusOne
private

Definition at line 77 of file testTime.cc.

TimeStamp TestTime::fNoLeap
private

Definition at line 79 of file testTime.cc.

TimeStamp TestTime::fNoLeapMinusOne
private

Definition at line 78 of file testTime.cc.

TimeStamp TestTime::fNoLeapPlusOne
private

Definition at line 80 of file testTime.cc.

TimeInterval TestTime::fOneSecond
private

Definition at line 82 of file testTime.cc.

TimeInterval TestTime::fTwoSeconds
private

Definition at line 83 of file testTime.cc.

TimeInterval TestTime::fZero
private

Definition at line 81 of file testTime.cc.


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

, generated on Tue Sep 26 2023.