cvs: php4 /ext/dbx/tests 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt skipif.inc

From: Date: Thu, 24 Oct 2002 19:34:20 +0000
Subject: cvs: php4 /ext/dbx/tests 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt skipif.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15394@lists.php.net to get a copy of this message
helly Thu Oct 24 15:34:20 2002 EDT Added files: /php4/ext/dbx/tests skipif.inc Modified files: /php4/ext/dbx/tests 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt Log: -specify reason if connection is not specified -remove unnecessary sections Index: php4/ext/dbx/tests/001.phpt diff -u php4/ext/dbx/tests/001.phpt:1.1 php4/ext/dbx/tests/001.phpt:1.2 --- php4/ext/dbx/tests/001.phpt:1.1 Tue Jun 5 09:51:01 2001 +++ php4/ext/dbx/tests/001.phpt Thu Oct 24 15:34:18 2002 @@ -2,8 +2,6 @@ Check for dbx presence --SKIPIF-- <?php if (!extension_loaded("dbx")) print("skip"); ?> ---POST-- ---GET-- --FILE-- <?php print("dbx extension is available"); Index: php4/ext/dbx/tests/002.phpt diff -u php4/ext/dbx/tests/002.phpt:1.5 php4/ext/dbx/tests/002.phpt:1.6 --- php4/ext/dbx/tests/002.phpt:1.5 Mon Feb 18 04:21:51 2002 +++ php4/ext/dbx/tests/002.phpt Thu Oct 24 15:34:18 2002 @@ -2,8 +2,6 @@ DBX_CONSTANTS --SKIPIF-- <?php if (!extension_loaded("dbx")) print("skip"); ?> ---POST-- ---GET-- --FILE-- <?php if (DBX_MYSQL=="DBX_MYSQL") print('!DBX_MYSQL'); Index: php4/ext/dbx/tests/003.phpt diff -u php4/ext/dbx/tests/003.phpt:1.4 php4/ext/dbx/tests/003.phpt:1.5 --- php4/ext/dbx/tests/003.phpt:1.4 Mon Oct 7 05:27:02 2002 +++ php4/ext/dbx/tests/003.phpt Thu Oct 24 15:34:18 2002 @@ -2,14 +2,8 @@ dbx_connect --SKIPIF-- <?php - if (!extension_loaded("dbx")) print("skip"); - else { - include_once("dbx_test.p"); - if ($connection===NULL) print("skip"); - } +include_once("skipif.inc"); ?> ---POST-- ---GET-- --FILE-- <?php include_once("dbx_test.p"); Index: php4/ext/dbx/tests/004.phpt diff -u php4/ext/dbx/tests/004.phpt:1.3 php4/ext/dbx/tests/004.phpt:1.4 --- php4/ext/dbx/tests/004.phpt:1.3 Wed Oct 23 06:45:29 2002 +++ php4/ext/dbx/tests/004.phpt Thu Oct 24 15:34:18 2002 @@ -2,14 +2,8 @@ dbx_close --SKIPIF-- <?php - if (!extension_loaded("dbx")) print("skip"); - else { - include_once("dbx_test.p"); - if ($connection===NULL) print("skip"); - } +include_once("skipif.inc"); ?> ---POST-- ---GET-- --FILE-- <?php include_once("dbx_test.p"); Index: php4/ext/dbx/tests/005.phpt diff -u php4/ext/dbx/tests/005.phpt:1.6 php4/ext/dbx/tests/005.phpt:1.7 --- php4/ext/dbx/tests/005.phpt:1.6 Thu Oct 24 10:16:27 2002 +++ php4/ext/dbx/tests/005.phpt Thu Oct 24 15:34:18 2002 @@ -2,14 +2,8 @@ dbx_query --SKIPIF-- <?php - if (!extension_loaded("dbx")) print("skip"); - else { - include_once("dbx_test.p"); - if ($connection===NULL) print("skip"); - } +include_once("skipif.inc"); ?> ---POST-- ---GET-- --FILE-- <?php include_once("dbx_test.p"); Index: php4/ext/dbx/tests/006.phpt diff -u php4/ext/dbx/tests/006.phpt:1.5 php4/ext/dbx/tests/006.phpt:1.6 --- php4/ext/dbx/tests/006.phpt:1.5 Wed Oct 23 06:45:29 2002 +++ php4/ext/dbx/tests/006.phpt Thu Oct 24 15:34:18 2002 @@ -2,14 +2,8 @@ dbx_error --SKIPIF-- <?php - if (!extension_loaded("dbx")) print("skip"); - else { - include_once("dbx_test.p"); - if ($connection===NULL) print("skip"); - } +include_once("skipif.inc"); ?> ---POST-- ---GET-- --FILE-- <?php include_once("dbx_test.p"); Index: php4/ext/dbx/tests/007.phpt diff -u php4/ext/dbx/tests/007.phpt:1.4 php4/ext/dbx/tests/007.phpt:1.5 --- php4/ext/dbx/tests/007.phpt:1.4 Thu Oct 24 10:16:28 2002 +++ php4/ext/dbx/tests/007.phpt Thu Oct 24 15:34:18 2002 @@ -2,14 +2,8 @@ dbx_sort --SKIPIF-- <?php - if (!extension_loaded("dbx")) print("skip"); - else { - include_once("dbx_test.p"); - if ($connection===NULL) print("skip"); - } +include_once("skipif.inc"); ?> ---POST-- ---GET-- --FILE-- <?php include_once("dbx_test.p"); Index: php4/ext/dbx/tests/008.phpt diff -u php4/ext/dbx/tests/008.phpt:1.4 php4/ext/dbx/tests/008.phpt:1.5 --- php4/ext/dbx/tests/008.phpt:1.4 Thu Oct 24 10:16:28 2002 +++ php4/ext/dbx/tests/008.phpt Thu Oct 24 15:34:18 2002 @@ -2,14 +2,8 @@ dbx_compare --SKIPIF-- <?php - if (!extension_loaded("dbx")) print("skip"); - else { - include_once("dbx_test.p"); - if ($connection===NULL) print("skip"); - } +include_once("skipif.inc"); ?> ---POST-- ---GET-- --FILE-- <?php include_once("dbx_test.p"); Index: php4/ext/dbx/tests/skipif.inc +++ php4/ext/dbx/tests/skipif.inc <?php if (!extension_loaded("dbx")) die("skip"); include_once("dbx_test.p"); if ($connection===NULL) die("skip connection not specified"); ?>

« previous php.cvs (#15394) next »