IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7115 for trunk/psLib/test/sys


Ignore:
Timestamp:
May 12, 2006, 10:56:48 PM (20 years ago)
Author:
magnier
Message:

dropped error message for NULL input string in psStringSplit

Location:
trunk/psLib/test/sys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tst_psString.c

    r7045 r7115  
    2020 *  @author  Eric Van Alst, MHPCC
    2121 *
    22  *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    23  *  @date  $Date: 2006-05-02 23:55:53 $
     22 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     23 *  @date  $Date: 2006-05-13 08:56:48 $
    2424 *
    2525 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    463463    psFree(strList);
    464464    strList = NULL;
    465     //Return NULL for NULL string input
    466     psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
     465    //Return empty list for NULL string input
     466    //psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
    467467    strList = psStringSplit(NULL, split, true);
    468468    //    if (strList != NULL) {
     
    684684        return 4;
    685685    }
    686     //psStringSplit should return NULL for NULL input string
     686    //psStringSplit should return empty list for NULL input string
    687687    psList *nullList = NULL;
    688     psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
     688    // psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
    689689    nullList = psStringSplit(nullTest, ",", true);
    690690    //    if (nullList != NULL) {
  • trunk/psLib/test/sys/verified/tst_psString.stderr

    r7047 r7115  
    146146    Following should generate error message
    147147<DATE><TIME>|<HOST>|E|psStringSplit (FILE:LINENO)
    148     Unallowable operation: string is NULL.
    149 <DATE><TIME>|<HOST>|I|testStrSplit00
    150     Following should generate error message
    151 <DATE><TIME>|<HOST>|E|psStringSplit (FILE:LINENO)
    152148    Unallowable operation: splitters is NULL.
    153149
     
    179175    Following should generate error message
    180176<DATE><TIME>|<HOST>|E|psStringSplit (FILE:LINENO)
    181     Unallowable operation: string is NULL.
    182 <DATE><TIME>|<HOST>|I|testNULLStrings
    183     Following should generate error message
    184 <DATE><TIME>|<HOST>|E|psStringSplit (FILE:LINENO)
    185177    Unallowable operation: splitters is NULL.
    186178
Note: See TracChangeset for help on using the changeset viewer.