Changeset 2964
- Timestamp:
- Jan 12, 2005, 3:35:31 PM (22 years ago)
- Location:
- trunk/psLib/test/astronomy
- Files:
-
- 1 added
- 2 edited
-
tst_psTime_03.c (modified) (2 diffs)
-
verified/tst_psTime_03.stderr (added)
-
verified/tst_psTime_03.stdout (modified) (1 diff)
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 -
trunk/psLib/test/astronomy/verified/tst_psTime_03.stdout
r2750 r2964 75 75 /***************************** TESTPOINT ******************************************\ 76 76 * TestFile: tst_psTime_03.c * 77 * TestPoint: psTime{Test H1 - Verify error message in allocating invalid time type} * 78 * TestType: Positive * 79 \**********************************************************************************/ 80 81 82 ---> TESTPOINT PASSED (psTime{Test H1 - Verify error message in allocating invalid time type} | tst_psTime_03.c) 83 84 /***************************** TESTPOINT ******************************************\ 85 * TestFile: tst_psTime_03.c * 77 86 * TestPoint: psTime{Test I - Free data} * 78 87 * TestType: Positive *
Note:
See TracChangeset
for help on using the changeset viewer.
