From: Michael Wallner Date: Thu, 21 Nov 2013 08:51:07 +0000 (+0000) Subject: rm X-Git-Tag: RELEASE_2_1_0_RC3~10^2^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8b87ecd708acffb5643367aaa321981f66b4f67f;p=m6w6%2Fext-http rm --- diff --git a/tests/object001.phpt b/tests/object001.phpt deleted file mode 100644 index fe3d012..0000000 --- a/tests/object001.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -object default error handling ---SKIPIF-- - ---FILE-- - -Done ---EXPECT-- -Test -bool(true) -bool(true) -Done diff --git a/tests/object002.phpt b/tests/object002.phpt deleted file mode 100644 index b3e3743..0000000 --- a/tests/object002.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -object instance error handling ---SKIPIF-- - ---FILE-- -getErrorHandling()); -$eh->setErrorHandling(eh::EH_SUPPRESS); -var_dump(eh::EH_SUPPRESS === $eh->getErrorHandling()); - -?> -Done ---EXPECT-- -Test -bool(true) -bool(true) -Done diff --git a/tests/object003.phpt b/tests/object003.phpt deleted file mode 100644 index 842bb0d..0000000 --- a/tests/object003.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -object error suppression ---SKIPIF-- - ---FILE-- -triggerError(E_USER_WARNING, http\Exception::E_UNKNOWN, "suppress"); - -?> -Done ---EXPECT-- -Test -Done diff --git a/tests/object004.phpt b/tests/object004.phpt deleted file mode 100644 index 93a062d..0000000 --- a/tests/object004.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -object error exception ---SKIPIF-- - ---FILE-- -triggerError(E_USER_WARNING, http\Exception::E_UNKNOWN, "exception"); - -?> -Done ---EXPECTF-- -Test - -Fatal error: Uncaught exception 'http\Exception' with message 'exception' in %s:%d -Stack trace: -#0 %s(%d): http\Object->triggerError(512, 0, 'exception') -#1 {main} - thrown in %s on line %d diff --git a/tests/object005.phpt b/tests/object005.phpt deleted file mode 100644 index 0330d32..0000000 --- a/tests/object005.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -object normal error ---SKIPIF-- - ---FILE-- -triggerError(E_USER_WARNING, http\Exception::E_UNKNOWN, "warning"); - -?> -Done ---EXPECTF-- -Test - -Warning: http\Object::triggerError(): warning in %s on line %d -Done diff --git a/tests/object006.phpt b/tests/object006.phpt deleted file mode 100644 index a11529d..0000000 --- a/tests/object006.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -object error suppression2 ---SKIPIF-- - ---FILE-- -setErrorHandling(http\Object::EH_SUPPRESS); -$eh->triggerError(E_USER_WARNING, http\Exception::E_UNKNOWN, "suppress"); - -?> -Done ---EXPECTF-- -Test -Done diff --git a/tests/object007.phpt b/tests/object007.phpt deleted file mode 100644 index 475b4b8..0000000 --- a/tests/object007.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -object error exception2 ---SKIPIF-- - ---FILE-- -setErrorHandling(http\Object::EH_THROW); -$eh->triggerError(E_USER_WARNING, http\Exception::E_UNKNOWN, "exception"); - -?> -Done ---EXPECTF-- -Test - -Fatal error: Uncaught exception 'http\Exception' with message 'exception' in %s:%d -Stack trace: -#0 /home/mike/src/pecl_http-DEV_2.svn/tests/object007.php(9): http\Object->triggerError(512, 0, 'exception') -#1 {main} - thrown in %s on line %d diff --git a/tests/object008.phpt b/tests/object008.phpt deleted file mode 100644 index 6dff7d5..0000000 --- a/tests/object008.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -object normal error2 ---SKIPIF-- - ---FILE-- -setErrorHandling(http\Object::EH_NORMAL); -$eh->triggerError(E_USER_WARNING, http\Exception::E_UNKNOWN, "warning"); - -?> -Done ---EXPECTF-- -Test - -Warning: http\Object::triggerError(): warning in %s on line %d -Done diff --git a/tests/object009.phpt b/tests/object009.phpt deleted file mode 100644 index 4d6e574..0000000 --- a/tests/object009.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -object unknown error handling ---SKIPIF-- - ---FILE-- -setErrorHandling(12345); - -?> -Done ---EXPECTF-- -Test - -Warning: http\Object::setDefaultErrorHandling(): unknown error handling code (12345) in %s on line %d - -Warning: http\Object::setErrorHandling(): unknown error handling code (12345) in %s on line %d -Done