IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 2, 2005, 11:32:06 AM (21 years ago)
Author:
drobbin
Message:

made requested changes including using file descriptors in psTrace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tst_psTime_01.c

    r4547 r4944  
    2323 *  @author  Eric Van Alst, MHPCC
    2424 *
    25  *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
    26  *  @date  $Date: 2005-07-13 02:46:58 $
     25 *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
     26 *  @date  $Date: 2005-09-02 21:32:06 $
    2727 *
    2828 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    636636    // Attempt to convert NULL string
    637637    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);
    639639    if(time != NULL) {
    640640        psError(PS_ERR_UNKNOWN,true,"Did not return NULL as expected for NULL ISO string");
     
    643643
    644644    // Convert valid ISO string
    645     time = psTimeFromISO(testTime1Str);
     645    time = psTimeFromISO(testTime1Str, PS_TIME_TAI);
    646646    if(time->type != PS_TIME_TAI) {
    647647        psError(PS_ERR_UNKNOWN,true,"Type %d not as expected %d",
     
    658658    // Attempt to convert invalid ISO string
    659659    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);
    661661    if(time != NULL) {
    662662        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.