FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
all_tests.php
1
#!/usr/bin/php
2
<?php
3
/***********************************************************
4
Copyright (C) 2007 Hewlett-Packard Development Company, L.P.
5
6
This program is free software; you can redistribute it and/or
7
modify it under the terms of the GNU General Public License
8
version 2 as published by the Free Software Foundation.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License along
16
with this program; if not, write to the Free Software Foundation, Inc.,
17
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
***********************************************************/
19
26
// Standard requires for any test.
27
require_once(
'/usr/local/simpletest/unit_tester.php'
);
28
require_once(
'/usr/local/simpletest/mock_objects.php'
);
29
require_once(
'/usr/local/simpletest/reporter.php'
);
30
31
$command =
'/usr/local/bin/test.cp2foss'
;
32
33
$test =
new
TestSuite(
'cp2foss Test Suite'
);
34
// parameters tests valid and invalid inputs
35
//echo "Running Parameter Tests\n";
36
$test->addTestFile(
'parameters.php'
);
37
//echo "Running -d 'description' Tests\n";
38
$test->addTestFile(
'desc.php'
);
39
//echo "Running Recursion, directory input Tests\n";
40
$test->addTestFile(
'dashR.php'
);
41
$test->addTestFile(
'duplicate-Upfolder.php'
);
42
$test->run(
new
TextReporter());
43
44
src
cli
tests
all_tests.php
Generated on Mon Jun 29 2020 12:03:42 for FOSSology by
1.8.11