Changeset 2964 for trunk/psLib/test/astronomy/tst_psTime_03.c
- Timestamp:
- Jan 12, 2005, 3:35:31 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psTime_03.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psTime_03.c
r2808 r2964 14 14 * Test G - Add two times across leapsecond boundary 15 15 * Test H - Find number of leapseconds added between two times 16 * Test H1 - Verify error message to invalid time type in psTimeAlloc 16 17 * Test G - Free data 17 18 * 18 19 * @author Ross Harman, MHPCC 19 20 * 20 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $21 * @date $Date: 200 4-12-23 19:38:38$21 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2005-01-13 01:35:30 $ 22 23 * 23 24 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 155 156 printFooter(stdout, "psTime", "Test H - Find number of leapseconds added between two times", true); 156 157 158 // Test H1 - Error in allocating time not UTC or TAI 159 printPositiveTestHeader(stdout,"psTime","Test H1 - Verify error message in allocating invalid time type"); 160 psLogMsg(__func__,PS_LOG_INFO,"Invalid time type during allocation should generate error message"); 161 psTime *time10 = psTimeAlloc(10); 162 if(time10 != NULL) { 163 printf("ERROR: returned time should be NULL\n"); 164 } 165 printFooter(stdout,"psTime","Test H1 - Verify error message in allocating invalid time type",true); 157 166 158 167 // Test G - Free data
Note:
See TracChangeset
for help on using the changeset viewer.
