IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2005, 11:31:13 AM (21 years ago)
Author:
evanalst
Message:

Update test case for invalid arguments for psDBUpdateRows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataIO/verified/tst_psDB.stderr

    r4374 r4383  
    281281
    282282<DATE><TIME>|<HOST>|I|TPDBUpdateRows
    283     psDBUpdateRows shall update rows in a test table.
    284 <DATE><TIME>|<HOST>|I|_print_row
    285     [key_string]=[foobar]
    286 <DATE><TIME>|<HOST>|I|_print_row
    287     [key_s32]=[-18]
    288 <DATE><TIME>|<HOST>|I|_print_row
    289     [key_f32]=[3.33]
    290 <DATE><TIME>|<HOST>|I|_print_row
    291     [key_f64]=[1.23457]
    292 <DATE><TIME>|<HOST>|I|_print_row
    293     [key_bool]=[Nay]
    294 <DATE><TIME>|<HOST>|I|_print_row
    295     [key_s32_0]=[3]
     283    Following should generate an error message for NULL database
     284<DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO)
     285    Invalid psDB has been specified.
    296286<DATE><TIME>|<HOST>|I|TPDBUpdateRows
    297     found expected output.
     287    Following should generate an error message for invalid table
     288<DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO)
     289    Failed to prepare query.  Error: Table 'test.table999' doesn't exist
    298290<DATE><TIME>|<HOST>|I|TPDBUpdateRows
    299     found expected output.
     291    Following should generate an error message for NULL updates
     292<DATE><TIME>|<HOST>|E|psDBGenerateUpdateRowSQL (FILE:LINENO)
     293    Update row SQL generate fail: values and where params may not be NULL.
     294<DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO)
     295    Query generation failed.
     296<DATE><TIME>|<HOST>|I|TPDBUpdateRows
     297    Following should generate an error message for invalid where
     298<DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO)
     299    Failed to prepare query.  Error: Unknown column 'col999' in 'where clause'
    300300
    301301---> TESTPOINT PASSED (psDB{dbUpdateRows} | tst_psDB.c)
Note: See TracChangeset for help on using the changeset viewer.