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 :
34 : /** PHPUnit_Framework_TestSuite */
35 : require_once 'PHPUnit/Framework/TestSuite.php';
36 :
37 : /** PHPUnit_TextUI_TestRunner */
38 : require_once 'PHPUnit/TextUI/TestRunner.php';
39 :
40 : /**
41 : * This class provides all tests of the Org_Heigl Package
42 : *
43 : * @category Org_Heigl
44 : * @package Org_Heigl_Hyphenator
45 : * @author Andreas Heigl <andreas@heigl.org>
46 : * @copyright 2008-2009 Andreas Heigl<andreas@heigl.org>
47 : * @license http://www.opensource.org/licenses/mit-license.php MIT-License
48 : * @version SVN: $Revision$
49 : * @since 20.04.2009
50 : */
51 : class Org_Heigl_AllTests
52 : {
53 : public static function main () {
54 0 : PHPUnit_TextUI_TestRunner::run ( self::suite () );
55 0 : }
56 :
57 : public static function suite () {
58 0 : $suite = new PHPUnit_Framework_TestSuite ( 'Org_Heigl' );
59 :
60 0 : include_once 'Org/Heigl/HyphenatorTest.php';
61 :
62 0 : $suite -> addTestSuite ( 'Org_Heigl_HyphenatorTest' );
63 :
64 0 : return $suite;
65 :
66 : }
|