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