root/trunk/Tests/AllTests.php

Revision 72, 2.4 KB (checked in by m, 22 months ago)

Switched Tests to PHPUnit3

  • Property svn:keywords set to Id Rev
Line 
1<?php
2
3// +----------------------------------------------------------------------+
4// | Decode and Encode data in Bittorrent format                          |
5// +----------------------------------------------------------------------+
6// | Copyright (C) 2004-2006 Markus Tacker <m@tacker.org>                 |
7// +----------------------------------------------------------------------+
8// | This library is free software; you can redistribute it and/or        |
9// | modify it under the terms of the GNU Lesser General Public           |
10// | License as published by the Free Software Foundation; either         |
11// | version 2.1 of the License, or (at your option) any later version.   |
12// |                                                                      |
13// | This library is distributed in the hope that it will be useful,      |
14// | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
15// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    |
16// | Lesser General Public License for more details.                      |
17// |                                                                      |
18// | You should have received a copy of the GNU Lesser General Public     |
19// | License along with this library; if not, write to the                |
20// | Free Software Foundation, Inc.                                       |
21// | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA               |
22// +----------------------------------------------------------------------+
23
24    /**
25    * Test for File_Bittorrent
26    *
27    * @package File_Bittorrent
28    * @subpackage Test
29    * @category File
30    * @author Markus Tacker <m@tacker.org>
31    * @version $Id$
32    */
33
34    error_reporting(E_ALL);
35    ini_set('display_errors', 1);
36
37    require_once 'Tests/FileBittorrent.php';
38    require_once 'Tests/Bug7406.php';
39    require_once 'Tests/Bug8085.php';
40
41    /**
42    * Test for File_Bittorrent
43    *
44    * @package File_Bittorrent
45    * @subpackage Test
46    * @category File
47    * @author Markus Tacker <m@tacker.org>
48    * @version $Id$
49    */
50    class Tests_AllTests {
51
52        public static function suite() {
53            $suite = new PHPUnit_Framework_TestSuite();
54
55            $suite->addTestSuite('Tests_FileBittorrent');
56            $suite->addTestSuite('Tests_Bug7406');
57            $suite->addTestSuite('Tests_Bug8085');
58
59            return $suite;
60        }
61    }
62
63?>
Note: See TracBrowser for help on using the browser.