26 require_once (
'../../../tests/fossologyTestCase.php');
27 require_once (
'../../../tests/TestEnvironment.php');
34 function testUploadInstructMenu()
37 print
"starting UploadInstrucMenuTest\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_instructions");
51 $this->assertTrue($this->myassertText($page,
'/Upload Instructions/'));
52 $this->assertTrue($this->myassertText($page,
'/On your browser system/'));
53 $this->assertTrue($this->myassertText($page,
'/On the FOSSology web server/'));
Login($User=NULL, $Password=NULL)