26 require_once (
'../../../tests/fossologyTestCase.php');
27 require_once (
'../../../tests/TestEnvironment.php');
34 function testUploadServerMenu()
37 print
"starting UploadServerMenuTest\n";
40 $loggedIn = $this->mybrowser->get($URL);
41 $this->assertTrue($this->myassertText($loggedIn,
'/Upload/'));
42 $this->assertTrue($this->myassertText($loggedIn,
'/Instructions/'));
43 $this->assertTrue($this->myassertText($loggedIn,
'/From File/'));
44 $this->assertTrue($this->myassertText($loggedIn,
'/From Server/'));
45 $this->assertTrue($this->myassertText($loggedIn,
'/From URL/'));
46 $this->assertTrue($this->myassertText($loggedIn,
'/One-Shot Analysis/'));
50 $page = $this->mybrowser->get(
"$URL?mod=upload_srv_files");
51 $this->assertTrue($this->myassertText($page,
'/Upload from Server/'));
52 $this->assertTrue($this->myassertText($page,
'/Disable alphabetized sub-folders/'));
Login($User=NULL, $Password=NULL)