IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2004, 11:59:16 AM (22 years ago)
Author:
evanalst
Message:

Added tests for new psError API functions and STDERR verified file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/verified/tst_psError.stderr

    r1851 r1867  
    55\**********************************************************************************/
    66
     7<DATE><TIME>|<HOST>|E|testError00
     8    ALL TYPES intval = 1 longval = 2 floatval = 3.010000 charval = E strval = E R R O R
     9<DATE><TIME>|<HOST>|E|__LINE__
     10    NO VALUES
     11<DATE><TIME>|<HOST>|E|
     12
     13---> TESTPOINT PASSED (psError{psError()} | tst_psError.c)
     14
    715/***************************** TESTPOINT ******************************************\
    816*             TestFile: tst_psError.c                                              *
    9 *            TestPoint: psError{Multiple type values in error message}             *
     17*            TestPoint: psError{psErrorMsg(),psErrorStackPrint()}                  *
    1018*             TestType: Positive                                                   *
    1119\**********************************************************************************/
    1220
    13 <DATE><TIME>|<HOST>|E|testError00
    14     ALL TYPES intval = 1 longval = 2 floatval = 3.010000 charval = E strval = E R R O R
     21<DATE><TIME>|<HOST>|E|test1A
     22    Error code = 262
     23ERROR STACK PRINT Test1A -> test1A: parameter is out-of-range
     24     Error code = 262
     25<DATE><TIME>|<HOST>|E|
     26    Error code = 263
     27ERROR STACK PRINT Test1B -> : parameter is of unsupported type
     28     Error code = 263
     29<DATE><TIME>|<HOST>|E|
     30    Error code = 264
     31ERROR STACK PRINT Test1C -> : parameter is null
     32     Error code = 264
     33<DATE><TIME>|<HOST>|E|test1D
     34    Error code = -1
     35ERROR STACK PRINT Test1D -> test1D: (null)
     36     Error code = -1
     37<DATE><TIME>|<HOST>|E|test1E
     38    Error code = 262
     39ERROR STACK PRINT Test1E -> test1D: (null)
     40     Error code = -1
     41 -> test1E: parameter is out-of-range
     42     Error code = 262
    1543
    16 ---> TESTPOINT PASSED (psError{Multiple type values in error message} | tst_psError.c)
     44---> TESTPOINT PASSED (psError{psErrorMsg(),psErrorStackPrint()} | tst_psError.c)
    1745
    1846/***************************** TESTPOINT ******************************************\
    1947*             TestFile: tst_psError.c                                              *
    20 *            TestPoint: psError{String values in error message}                    *
     48*            TestPoint: psError{psErrorStackPrintV()}                              *
    2149*             TestType: Positive                                                   *
    2250\**********************************************************************************/
    2351
    24 <DATE><TIME>|<HOST>|E|__LINE__
    25     NO VALUES
     52<DATE><TIME>|<HOST>|E|test2A
     53    Error code = 262
     54ERROR STACK PRINT Test2A -> test2A: parameter is out-of-range
     55     Error code = 262
    2656
    27 ---> TESTPOINT PASSED (psError{String values in error message} | tst_psError.c)
     57---> TESTPOINT PASSED (psError{psErrorStackPrintV()} | tst_psError.c)
    2858
    2959/***************************** TESTPOINT ******************************************\
    3060*             TestFile: tst_psError.c                                              *
    31 *            TestPoint: psError{Empty strings in error message}                    *
     61*            TestPoint: psError{psErrorGet(),psErrorLast()}                        *
    3262*             TestType: Positive                                                   *
    3363\**********************************************************************************/
    3464
    35 <DATE><TIME>|<HOST>|E|
     65<DATE><TIME>|<HOST>|E|test3A
     66    Error code = 262
     67<DATE><TIME>|<HOST>|E|test3A
     68    Error code = 263
     69<DATE><TIME>|<HOST>|E|test3A
     70    Error code = 264
    3671
    37 ---> TESTPOINT PASSED (psError{Empty strings in error message} | tst_psError.c)
     72---> TESTPOINT PASSED (psError{psErrorGet(),psErrorLast()} | tst_psError.c)
    3873
     74/***************************** TESTPOINT ******************************************\
     75*             TestFile: tst_psError.c                                              *
     76*            TestPoint: psError{psErrorClear()}                                    *
     77*             TestType: Positive                                                   *
     78\**********************************************************************************/
    3979
    40 ---> TESTPOINT PASSED (psError{psError()} | tst_psError.c)
     80<DATE><TIME>|<HOST>|E|test3A
     81    Error code = 262
     82<DATE><TIME>|<HOST>|E|test3A
     83    Error code = 263
     84<DATE><TIME>|<HOST>|E|test3A
     85    Error code = 264
    4186
     87---> TESTPOINT PASSED (psError{psErrorClear()} | tst_psError.c)
     88
Note: See TracChangeset for help on using the changeset viewer.