Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
#!/usr/bin/php
2
<?php
3
/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */
4
// +-----------------------------------------------------------------------------+
5
// | Copyright (c) 2003 Sérgio Gonçalves Carvalho                                |
6
// +-----------------------------------------------------------------------------+
7
// | This file is part of Structures_Graph.                                      |
8
// |                                                                             |
9
// | Structures_Graph is free software; you can redistribute it and/or modify    |
10
// | it under the terms of the GNU Lesser General Public License as published by |
11
// | the Free Software Foundation; either version 2.1 of the License, or         |
12
// | (at your option) any later version.                                         |
13
// |                                                                             |
14
// | Structures_Graph is distributed in the hope that it will be useful,         |
15
// | but WITHOUT ANY WARRANTY; without even the implied warranty of              |
16
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
17
// | GNU Lesser General Public License for more details.                         |
18
// |                                                                             |
19
// | You should have received a copy of the GNU Lesser General Public License    |
20
// | along with Structures_Graph; if not, write to the Free Software             |
21
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA                    |
22
// | 02111-1307 USA                                                              |
23
// +-----------------------------------------------------------------------------+
24
// | Author: Sérgio Carvalho <sergio.carvalho@portugalmail.com>                  |
25
// +-----------------------------------------------------------------------------+
26
//
27
 
28
// Place development Structures_Graph ahead in the include_path
29
ini_set('include_path', realpath(dirname(__FILE__) . "/..") . ":.:" . ini_get('include_path'));
30
 
31
require_once 'testCase/BasicGraph.php';
32
require_once 'PHPUnit.php';
33
 
34
$suite  = new PHPUnit_TestSuite();
35
$suite->addTest(new PHPUnit_TestSuite('BasicGraph'));
36
$result = PHPUnit::run($suite);
37
 
38
echo $result->toString();
39
?>