26 require_once (
'../../../tests/fossologyTestCase.php');
27 require_once (
'../../../tests/TestEnvironment.php');
34 function testUploadUrlMenu()
37 print
"starting UploadUrlMenuTest\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_url");
51 $this->assertTrue($this->myassertText($page,
'/Upload from URL/'));
52 $this->assertTrue($this->myassertText($page,
'/Enter the URL to the file/'));
Login($User=NULL, $Password=NULL)