mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
40 lines
2.2 KiB
PHP
40 lines
2.2 KiB
PHP
#!/usr/bin/php
|
|
<?php
|
|
/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */
|
|
// +-----------------------------------------------------------------------------+
|
|
// | Copyright (c) 2003 Sérgio Gonçalves Carvalho |
|
|
// +-----------------------------------------------------------------------------+
|
|
// | This file is part of Structures_Graph. |
|
|
// | |
|
|
// | Structures_Graph is free software; you can redistribute it and/or modify |
|
|
// | it under the terms of the GNU Lesser General Public License as published by |
|
|
// | the Free Software Foundation; either version 2.1 of the License, or |
|
|
// | (at your option) any later version. |
|
|
// | |
|
|
// | Structures_Graph is distributed in the hope that it will be useful, |
|
|
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
// | GNU Lesser General Public License for more details. |
|
|
// | |
|
|
// | You should have received a copy of the GNU Lesser General Public License |
|
|
// | along with Structures_Graph; if not, write to the Free Software |
|
|
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
|
|
// | 02111-1307 USA |
|
|
// +-----------------------------------------------------------------------------+
|
|
// | Author: Sérgio Carvalho <sergio.carvalho@portugalmail.com> |
|
|
// +-----------------------------------------------------------------------------+
|
|
//
|
|
|
|
// Place development Structures_Graph ahead in the include_path
|
|
ini_set('include_path', realpath(dirname(__FILE__) . "/..") . ":.:" . ini_get('include_path'));
|
|
|
|
require_once 'testCase/BasicGraph.php';
|
|
require_once 'PHPUnit.php';
|
|
|
|
$suite = new PHPUnit_TestSuite();
|
|
$suite->addTest(new PHPUnit_TestSuite('BasicGraph'));
|
|
$result = PHPUnit::run($suite);
|
|
|
|
echo $result->toString();
|
|
?>
|