summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/tests/PEAR.r3
-rw-r--r--pear/tests/PEAR.t16
-rw-r--r--pear/tests/PEAR_Error.r20
-rw-r--r--pear/tests/PEAR_Error.t18
4 files changed, 0 insertions, 57 deletions
diff --git a/pear/tests/PEAR.r b/pear/tests/PEAR.r
deleted file mode 100644
index e8210eee35..0000000000
--- a/pear/tests/PEAR.r
+++ /dev/null
@@ -1,3 +0,0 @@
-test class __TestPEAR1
-PEAR constructor called, class=__testpear1
-string(11) "__testpear1"
diff --git a/pear/tests/PEAR.t b/pear/tests/PEAR.t
deleted file mode 100644
index 6c8346adc7..0000000000
--- a/pear/tests/PEAR.t
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php // -*- C++ -*-
-
-require_once "PEAR.php";
-
-class __TestPEAR1 extends PEAR {
- function __TestPEAR1() {
- $this->_debug = true;
- $this->PEAR();
- }
-}
-
-print "test class __TestPEAR1\n";
-$o = new __TestPEAR1;
-var_dump(get_class($o));
-
-?>
diff --git a/pear/tests/PEAR_Error.r b/pear/tests/PEAR_Error.r
deleted file mode 100644
index fce8a664a7..0000000000
--- a/pear/tests/PEAR_Error.r
+++ /dev/null
@@ -1,20 +0,0 @@
-new PEAR_Error object(pear_error)(8) {
- ["classname"]=>
- string(10) "pear_error"
- ["error_message_prefix"]=>
- string(0) ""
- ["error_prepend"]=>
- string(0) ""
- ["error_append"]=>
- string(0) ""
- ["mode"]=>
- int(0)
- ["level"]=>
- int(1024)
- ["message"]=>
- string(13) "unknown error"
- ["code"]=>
- int(0)
-}
-isError 1 bool(true)
-isError 2 bool(false)
diff --git a/pear/tests/PEAR_Error.t b/pear/tests/PEAR_Error.t
deleted file mode 100644
index 4fae7b4cda..0000000000
--- a/pear/tests/PEAR_Error.t
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php // -*- C++ -*-
-
-// Test for: PEAR.php
-// Parts tested: - PEAR_Error class
-// - PEAR::isError static method
-// testing PEAR_Error
-
-require_once "PEAR.php";
-
-print "new PEAR_Error ";
-var_dump($err = new PEAR_Error);
-print "isError 1 ";
-var_dump(PEAR::isError($err));
-print "isError 2 ";
-$str = "not an error";
-var_dump(PEAR::isError($str));
-
-?>