IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2005, 1:35:07 PM (21 years ago)
Author:
evanalst
Message:

Update test case for psDBSelectColumnNum.

File:
1 edited

Legend:

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

    r4280 r4292  
    125125
    126126<DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    127     psDBSelectColumnNum shall select data from a test table.
     127    Following should generate an error for NULL database object
     128<DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO)
     129    Invalid psDB has been specified.
     130<DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO)
     131    Failed to select column.
    128132<DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    129     str=[12345]
     133    Following should generate an error for NULL table
     134<DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO)
     135    Failed to execute SQL query.  Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null) LIMIT 10' at line 1
     136<DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO)
     137    Failed to select column.
    130138<DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    131     str=[2345]
     139    Following should generate an error for invalid column
     140<DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO)
     141    Failed to execute SQL query.  Error: Unknown column 'key_999' in 'field list'
     142<DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO)
     143    Failed to select column.
    132144<DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    133     str=[1974]
    134 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    135     found expected S32 output.
    136 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    137     bool=[1]
    138 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    139     bool=[0]
    140 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    141     bool=[1]
    142 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum
    143     found expected bool output.
     145    Following should generate an error for invalid type
     146<DATE><TIME>|<HOST>|E|psVectorAlloc (FILE:LINENO)
     147    Input psVector is an unsupported type (0x0).
    144148
    145149---> TESTPOINT PASSED (psDB{dbSelectColumnNum} | tst_psDB.c)
Note: See TracChangeset for help on using the changeset viewer.