15 require_once (
'../../../tests/fossologyTestCase.php');
16 require_once (
'../../../tests/TestEnvironment.php');
23 function testUploadInstructMenu()
26 print
"starting UploadInstrucMenuTest\n";
29 $loggedIn = $this->mybrowser->get($URL);
30 $this->assertTrue($this->myassertText($loggedIn,
'/Upload/'));
31 $this->assertTrue($this->myassertText($loggedIn,
'/Instructions/'));
32 $this->assertTrue($this->myassertText($loggedIn,
'/From File/'));
33 $this->assertTrue($this->myassertText($loggedIn,
'/From Server/'));
34 $this->assertTrue($this->myassertText($loggedIn,
'/From URL/'));
35 $this->assertTrue($this->myassertText($loggedIn,
'/One-Shot Analysis/'));
39 $page = $this->mybrowser->get(
"$URL?mod=upload_instructions");
40 $this->assertTrue($this->myassertText($page,
'/Upload Instructions/'));
41 $this->assertTrue($this->myassertText($page,
'/On your browser system/'));
42 $this->assertTrue($this->myassertText($page,
'/On the FOSSology web server/'));
Login($User=NULL, $Password=NULL)