Changeset 4944 for trunk/psLib/test/astro/tst_psTime_01.c
- Timestamp:
- Sep 2, 2005, 11:32:06 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tst_psTime_01.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tst_psTime_01.c
r4547 r4944 23 23 * @author Eric Van Alst, MHPCC 24 24 * 25 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-0 7-13 02:46:58$25 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-09-02 21:32:06 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 636 636 // Attempt to convert NULL string 637 637 psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message for NULL ISO string"); 638 time = psTimeFromISO(NULL );638 time = psTimeFromISO(NULL, PS_TIME_TAI); 639 639 if(time != NULL) { 640 640 psError(PS_ERR_UNKNOWN,true,"Did not return NULL as expected for NULL ISO string"); … … 643 643 644 644 // Convert valid ISO string 645 time = psTimeFromISO(testTime1Str );645 time = psTimeFromISO(testTime1Str, PS_TIME_TAI); 646 646 if(time->type != PS_TIME_TAI) { 647 647 psError(PS_ERR_UNKNOWN,true,"Type %d not as expected %d", … … 658 658 // Attempt to convert invalid ISO string 659 659 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for invalid ISO string"); 660 time = psTimeFromISO("Here I am" );660 time = psTimeFromISO("Here I am", PS_TIME_TAI); 661 661 if(time != NULL) { 662 662 psError(PS_ERR_UNKNOWN,true,"Did not return NULL as expected for invalid ISO string");
Note:
See TracChangeset
for help on using the changeset viewer.
