18 require_once (
'fossologyTestCase.php');
19 require_once (
'TestEnvironment.php');
32 function testRmTestingFolders() {
35 $folderList = array(
'Basic-Testing',
42 print
"Removing Testing folders\n";
43 $page = $this->mybrowser->get($URL);
44 foreach($folderList as $folder) {
49 function testRmUploads() {
51 print
"Removing ALL uploads in the root folder\n";
53 if(!chdir(TESTROOT)) {
54 print
"ERROR! could not cd to $tr\n";
55 print
"please run $tr" .
"/cleanRF.php by hand\n";
57 $uploadLast = exec(
"fo-runTests cleanRF.php -n 'Clean Root Folder'", $dummy, $Urtn);
Login($User=NULL, $Password=NULL)