15 require_once (
'../../../tests/fossologyTestCase.php');
16 require_once (
'../../../tests/TestEnvironment.php');
23 function testUploadsDeleteMenu()
26 print
"starting UploadsDeleteMenuTest\n";
29 $loggedIn = $this->mybrowser->get($URL);
30 $this->assertTrue($this->myassertText($loggedIn,
'/Organize/'));
31 $this->assertTrue($this->myassertText($loggedIn,
'/Uploads/'));
32 $this->assertTrue($this->myassertText($loggedIn,
'/Delete Uploaded File/'));
33 $this->assertTrue($this->myassertText($loggedIn,
'/Edit Properties/'));
34 $this->assertTrue($this->myassertText($loggedIn,
'/Move/'));
38 $page = $this->mybrowser->get(
"$URL?mod=admin_upload_delete");
39 $this->assertTrue($this->myassertText($page,
'/Delete Uploaded File/'));
40 $this->assertTrue($this->myassertText($page,
'/THERE IS NO UNDELETE/'));
Login($User=NULL, $Password=NULL)