Commit 652e9d0b95d4bb23cfa2a4c05b0ccd0aaa413c98

Authored by nbm
1 parent 54718288

Remove exceptions.php for now - breaks compilation of PHP files.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5450 c91229c3-7414-0410-bfa2-8a42b809f60b
thirdparty/simpletest/simpletest/exceptions.php deleted
1 -<?php  
2 - /**  
3 - * base include file for SimpleTest  
4 - * @package SimpleTest  
5 - * @subpackage UnitTester  
6 - * @version $Id$  
7 - */  
8 -  
9 - /**#@+  
10 - * Includes SimpleTest files and defined the root constant  
11 - * for dependent libraries.  
12 - */  
13 - require_once(dirname(__FILE__) . '/invoker.php');  
14 -  
15 - /**  
16 - * Extension that traps exceptions and turns them into  
17 - * an error message.  
18 - * @package SimpleTest  
19 - * @subpackage UnitTester  
20 - */  
21 - class SimpleExceptionTrappingInvoker extends SimpleInvokerDecorator {  
22 -  
23 - /**  
24 - * Stores the invoker to be wrapped.  
25 - * @param SimpleInvoker $invoker Test method runner.  
26 - */  
27 - function SimpleExceptionTrappingInvoker($invoker) {  
28 - $this->SimpleInvokerDecorator($invoker);  
29 - }  
30 -  
31 - /**  
32 - * Invokes a test method and dispatches any  
33 - * untrapped errors.  
34 - * @param string $method Test method to call.  
35 - * @access public  
36 - */  
37 - function invoke($method) {  
38 - try {  
39 - parent::invoke($method);  
40 - } catch (Exception $exception) {  
41 - $test_case = &$this->getTestCase();  
42 - $test_case->exception($exception);  
43 - }  
44 - }  
45 - }  
46 -?>  
47 \ No newline at end of file 0 \ No newline at end of file