Arbit - project tracking

PHP Depend

Browse source code

File: / tests/ PHP/ Depend/ Util/ AllTests.php

Type
text/plain text/plain
Last Author
mapi
Version
1244
Line Rev. Author Source
1 43 mapi <?php
2 mapi /**
3 mapi * This file is part of PHP_Depend.
4 614 mapi *
5 43 mapi * PHP Version 5
6 mapi *
7 1030 mapi * Copyright (c) 2008-2010, Manuel Pichler <mapi@pdepend.org>.
8 43 mapi * All rights reserved.
9 mapi *
10 mapi * Redistribution and use in source and binary forms, with or without
11 mapi * modification, are permitted provided that the following conditions
12 mapi * are met:
13 mapi *
14 mapi * * Redistributions of source code must retain the above copyright
15 mapi * notice, this list of conditions and the following disclaimer.
16 mapi *
17 mapi * * Redistributions in binary form must reproduce the above copyright
18 mapi * notice, this list of conditions and the following disclaimer in
19 mapi * the documentation and/or other materials provided with the
20 mapi * distribution.
21 mapi *
22 mapi * * Neither the name of Manuel Pichler nor the names of his
23 mapi * contributors may be used to endorse or promote products derived
24 mapi * from this software without specific prior written permission.
25 mapi *
26 mapi * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27 mapi * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28 mapi * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
29 mapi * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
30 mapi * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
31 mapi * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
32 mapi * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
33 mapi * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34 mapi * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 mapi * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
36 mapi * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 mapi * POSSIBILITY OF SUCH DAMAGE.
38 mapi *
39 mapi * @category QualityAssurance
40 mapi * @package PHP_Depend
41 269 mapi * @author Manuel Pichler <mapi@pdepend.org>
42 1030 mapi * @copyright 2008-2010 Manuel Pichler. All rights reserved.
43 43 mapi * @license http://www.opensource.org/licenses/bsd-license.php BSD License
44 mapi * @version SVN: $Id: AllTests.php 1244 2010-04-15 06:48:20Z mapi $
45 823 mapi * @link http://pdepend.org/
46 43 mapi */
47 mapi
48 1039 mapi require_once 'PHPUnit/Framework.php';
49 43 mapi
50 1109 mapi require_once dirname(__FILE__) . '/Cache/AllTests.php';
51 1059 mapi require_once dirname(__FILE__) . '/Coverage/AllTests.php';
52 885 mapi require_once dirname(__FILE__) . '/FileUtilTest.php';
53 261 mapi require_once dirname(__FILE__) . '/ImageConvertTest.php';
54 886 mapi require_once dirname(__FILE__) . '/MathUtilTest.php';
55 1039 mapi require_once dirname(__FILE__) . '/TypeTest.php';
56 1244 mapi require_once dirname(__FILE__) . '/UuidBuilderTest.php';
57 43 mapi
58 mapi /**
59 mapi * Main test suite for the PHP_Depend_Util package.
60 mapi *
61 mapi * @category QualityAssurance
62 mapi * @package PHP_Depend
63 269 mapi * @author Manuel Pichler <mapi@pdepend.org>
64 1030 mapi * @copyright 2008-2010 Manuel Pichler. All rights reserved.
65 43 mapi * @license http://www.opensource.org/licenses/bsd-license.php BSD License
66 mapi * @version Release: @package_version@
67 823 mapi * @link http://pdepend.org/
68 43 mapi */
69 mapi class PHP_Depend_Util_AllTests
70 mapi {
71 mapi /**
72 mapi * Creates the phpunit test suite for this package.
73 mapi *
74 mapi * @return PHPUnit_Framework_TestSuite
75 mapi */
76 mapi public static function suite()
77 mapi {
78 mapi $suite = new PHPUnit_Framework_TestSuite('PHP_Depend_Util - AllTests');
79 885 mapi
80 1109 mapi $suite->addTest(PHP_Depend_Util_Cache_AllTests::suite());
81 1059 mapi $suite->addTest(PHP_Depend_Util_Coverage_AllTests::suite());
82 1109 mapi
83 885 mapi $suite->addTest(new PHP_Depend_Util_FileUtilTest());
84 886 mapi $suite->addTest(new PHP_Depend_Util_MathUtilTest());
85 885 mapi
86 261 mapi $suite->addTestSuite('PHP_Depend_Util_ImageConvertTest');
87 1039 mapi $suite->addTestSuite('PHP_Depend_Util_TypeTest');
88 1244 mapi $suite->addTestSuite('PHP_Depend_Util_UuidBuilderTest');
89 614 mapi
90 43 mapi return $suite;
91 mapi }
92 mapi }