[ Index ] |
|
Code source de SPIP Agora 1.4 |
[Code source] [Imprimer] [Statistiques]
Calls tableInfo() in various ways and checks to see that the output matches what's expected. These tests account for each DBMS using different column types and reporting back different information. These differences are accounted for in the <var>$quirks</var> array, which has the following format:
Author: | Daniel Convissor <danielc@analysisandsolutions.com> |
Version: | $Id: 16tableinfo.phpt,v 1.25 2004/09/22 22:16:47 danielc Exp $ |
Poids: | 917 lignes (24 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers Pear/tests/driver/skipif.inc Pear/tests/driver/mktable.inc |
pe($o) X-Ref |
Local error callback handler. Prints out an error message and kills the process. param: object $o PEAR error object automatically passed to this method return: void |
examineArrayData($array, $field = false, $query = true) X-Ref |
Loop through an array returned from tableInfo(), compare the actual contents to the expected contents and print out what is found. param: array $array the array to be examined param: string $field field index number of $quriks and table param: boolean $query true if array is from a query or false if array return: void |
returnArrayData($array) X-Ref |
Loop through an array of table info data and return the results. param: array $array the array to be examined return: string |
runQuery() X-Ref |
Pas de description |
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |