1 : <?php
2 : /**
3 : * $Id$
4 : *
5 : * Copyright (c) 2008-2009 Andreas Heigl<andreas@heigl.org>
6 : *
7 : * Permission is hereby granted, free of charge, to any person obtaining a copy
8 : * of this software and associated documentation files (the "Software"), to deal
9 : * in the Software without restriction, including without limitation the rights
10 : * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 : * copies of the Software, and to permit persons to whom the Software is
12 : * furnished to do so, subject to the following conditions:
13 : *
14 : * The above copyright notice and this permission notice shall be included in
15 : * all copies or substantial portions of the Software.
16 : *
17 : * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 : * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 : * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 : * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 : * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 : * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 : * THE SOFTWARE.
24 : *
25 : * @category Org_Heigl
26 : * @package Org_Heigl_Hyphenator
27 : * @author Andreas Heigl <andreas@heigl.org>
28 : * @copyright 2008-2009 Andreas Heigl<andreas@heigl.org>
29 : * @license http://www.opensource.org/licenses/mit-license.php MIT-License
30 : * @version SVN: $Revision$
31 : * @since 20.04.2009
32 : */
33 : error_reporting ( E_ALL | E_STRICT );
34 :
35 : if ( ! defined ( 'PHPUnit_MAIN_METHOD') ) {
36 : define ( 'PHPUnit_MAIN_METHOD', 'AllTests::main' );
37 : }
38 :
39 : /** TestConfiguration */
40 : require_once dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'TestConfiguration.php';
41 :
42 : /** PHPUnit_Framework_TestSuite */
43 : require_once 'PHPUnit/Framework/TestSuite.php';
44 :
45 : /** PHPUnit_TextUI_TestRunner */
46 : require_once 'PHPUnit/TextUI/TestRunner.php';
47 :
48 : class AllTests
49 : {
50 : public static function main () {
51 0 : PHPUnit_TextUI_TestRunner::run ( self::suite () );
52 0 : }
53 :
54 : public static function suite () {
55 0 : $suite = new PHPUnit_Framework_TestSuite ( 'Org_Heigl - Andreas Heigl et al' );
56 :
57 0 : include_once 'Org/Heigl/AllTests.php';
58 0 : $suite -> addTest ( Org_Heigl_AllTests::suite () );
59 :
60 0 : return $suite;
61 : }
62 : }
63 :
64 : if ( PHPUnit_MAIN_METHOD == 'AllTests::main' ) {
65 : AllTests::main ();
|