cvs: pear /XML_Query2XML INSTALL README
| From: | Lukas Feiler | Date: | Sat, 14 Oct 2006 19:29:58 +0000 |
| Subject: | cvs: pear /XML_Query2XML INSTALL README | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-42570@lists.php.net to get a copy of this message | ||
lukasfeiler Sat Oct 14 19:29:58 2006 UTC
Modified files:
/pear/XML_Query2XML INSTALL README
Log:
documented the new unit tests Query2XMLTestDB.php, Query2XMLTestMDB2.php, Query2XMLTestADOdb.php,
Query2XMLTestADOdbPEAR.php and Query2XMLTestADOdbException.php
http://cvs.php.net/viewvc.cgi/pear/XML_Query2XML/INSTALL?r1=1.2&r2=1.3&diff_format=u
Index: pear/XML_Query2XML/INSTALL
diff -u pear/XML_Query2XML/INSTALL:1.2 pear/XML_Query2XML/INSTALL:1.3
--- pear/XML_Query2XML/INSTALL:1.2 Thu Sep 28 10:16:35 2006
+++ pear/XML_Query2XML/INSTALL Sat Oct 14 19:29:58 2006
@@ -1,6 +1,6 @@
Query2XML Installation
======================
-Version: $Id: INSTALL,v 1.2 2006/09/28 10:16:35 lukasfeiler Exp $
+Version: $Id: INSTALL,v 1.3 2006/10/14 19:29:58 lukasfeiler Exp $
Requirements
@@ -8,7 +8,7 @@
- PHP5: XML_Query2XML heavily uses the new exception handling and
object orientation features.
- PHP5's DOM XML extension (which is complied in to PHP5 by default)
-- PEAR DB or PEAR MDB2
+- PEAR DB, PEAR MDB2 or ADOdb
The following packages are optional:
- PEAR Log
@@ -29,6 +29,11 @@
$PHP_PEAR_INSTALL_DIR/XML/Query2XML/ISO9075Mapper.php
$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/Query2XML_Tests.sql
$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/Query2XMLTest.php
+$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/Query2XMLTestADOdb.php
+$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/Query2XMLTestADOdbException.php
+$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/Query2XMLTestADOdbPEAR.php
+$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/Query2XMLTestDB.php
+$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/Query2XMLTestMDB2.php
$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/ISO9075MapperTest.php
$PHP_PEAR_TEST_DIR/XML_Query2XML/tests/testCases.sh
$PHP_PEAR_DOC_DIR/XML_Query2XML/ChangeLog
http://cvs.php.net/viewvc.cgi/pear/XML_Query2XML/README?r1=1.2&r2=1.3&diff_format=u
Index: pear/XML_Query2XML/README
diff -u pear/XML_Query2XML/README:1.2 pear/XML_Query2XML/README:1.3
--- pear/XML_Query2XML/README:1.2 Thu Sep 28 10:16:35 2006
+++ pear/XML_Query2XML/README Sat Oct 14 19:29:58 2006
@@ -1,6 +1,6 @@
Query2XML
=========
-Version: $Id: README,v 1.2 2006/09/28 10:16:35 lukasfeiler Exp $
+Version: $Id: README,v 1.3 2006/10/14 19:29:58 lukasfeiler Exp $
1. Overview
2. Contents of this package
@@ -45,22 +45,32 @@
----------
After installation $PHP_PEAR_TEST_DIR/XML_Query2XML/tests will contain
the following files:
-- Query2XMLTest.php ...... 142 unit tests for the class XML_Query2XML
-- ISO9075MapperTest.php .. 26 unit tests fot the class
- XML_Query2XML_ISO9075Mapper
+- Query2XMLTest.php ................. 3 unit tests that do not require
+ any database abstraction layer to
+ be present
+- Query2XMLTestDB.php ............... 68 unit tests that require PEAR DB
+- Query2XMLTestMDB2.php ............. 71 unit tests that require PEAR MDB2
+- Query2XMLTestADOdb.php ............ 70 unit tests that require ADOdb
+- Query2XMLTestADOdbPEAR.php ........ 70 unit tests that require ADOdb which
+ is using PEAR_Error for error handling
+- Query2XMLTestADOdbException.php ... 70 unit tests that require ADOdb which
+ is using exceptions for error handling
+- ISO9075MapperTest.php ............. 26 unit tests fot the class
+ XML_Query2XML_ISO9075Mapper
- testCases.sh ........... special test script; see below
- Query2XML_Tests.sql .... The SQL DDL required to run Query2XMLTest.php
and testCases.sh
-Query2XMLTest.php can be run like this:
+*.php test files can be run like this:
``phpunit Query2XMLTest.php''
For complex test cases, an MD5 hash will be generated for all the
XML data. Such a test will fail if the generated MD5 hash does not
match the MD5 hash defined in the test case. To find out what really
went wrong, use testCases.sh.
-To get Query2XMLTest.php working, you will have to change the
-the default DSN mysql://root@localhost/Query2XML_Tests within the file.
+To get Query2XMLTestDB.php, Query2XMLTestMDB2.php or Query2XMLTestADOdb*.php
+working, you will have to change the the default DSN
+mysql://root@localhost/Query2XML_Tests within the files.
ISO9075MapperTest.php can be run like this:
``phpunit ISO9075MapperTest.php''