Browse Source

-specify reason if connection is not specified

-remove unnecessary sections
experimental/threaded
Marcus Boerger 24 years ago
parent
commit
cb330eb5d7
  1. 2
      ext/dbx/tests/001.phpt
  2. 2
      ext/dbx/tests/002.phpt
  3. 8
      ext/dbx/tests/003.phpt
  4. 8
      ext/dbx/tests/004.phpt
  5. 8
      ext/dbx/tests/005.phpt
  6. 8
      ext/dbx/tests/006.phpt
  7. 8
      ext/dbx/tests/007.phpt
  8. 8
      ext/dbx/tests/008.phpt
  9. 5
      ext/dbx/tests/skipif.inc

2
ext/dbx/tests/001.phpt

@ -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");

2
ext/dbx/tests/002.phpt

@ -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');

8
ext/dbx/tests/003.phpt

@ -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");

8
ext/dbx/tests/004.phpt

@ -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");

8
ext/dbx/tests/005.phpt

@ -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");

8
ext/dbx/tests/006.phpt

@ -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");

8
ext/dbx/tests/007.phpt

@ -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");

8
ext/dbx/tests/008.phpt

@ -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");

5
ext/dbx/tests/skipif.inc

@ -0,0 +1,5 @@
<?php
if (!extension_loaded("dbx")) die("skip");
include_once("dbx_test.p");
if ($connection===NULL) die("skip connection not specified");
?>
Loading…
Cancel
Save