26 require_once (
'../../../tests/fossologyTestCase.php');
27 require_once (
'../../../tests/TestEnvironment.php');
34 function testUploadsDeleteMenu()
37 print
"starting UploadsDeleteMenuTest\n";
40 $loggedIn = $this->mybrowser->get($URL);
41 $this->assertTrue($this->myassertText($loggedIn,
'/Organize/'));
42 $this->assertTrue($this->myassertText($loggedIn,
'/Uploads/'));
43 $this->assertTrue($this->myassertText($loggedIn,
'/Delete Uploaded File/'));
44 $this->assertTrue($this->myassertText($loggedIn,
'/Edit Properties/'));
45 $this->assertTrue($this->myassertText($loggedIn,
'/Move/'));
49 $page = $this->mybrowser->get(
"$URL?mod=admin_upload_delete");
50 $this->assertTrue($this->myassertText($page,
'/Delete Uploaded File/'));
51 $this->assertTrue($this->myassertText($page,
'/THERE IS NO UNDELETE/'));
Login($User=NULL, $Password=NULL)