19 require_once (
'TestEnvironment.php');
20 require_once (
'fossologyTestCase.php');
45 print
"starting testmytest\n";
46 $page = $this->mybrowser->get($URL);
47 $page = $this->mybrowser->clickLink(
'Browse');
49 $this->assertTrue($this->myassertText($page,
'/Folder Navigation/'),
50 "testmyTest FAILED! There is no Folder Navigation Title\n");
51 $page = $this->mybrowser->clickLink(
'Create');
52 $this->testFolder =
'Sample-Folder';
71 print
"mytest: in tearDown\n";
72 $page = $this->mybrowser->get(
"$URL?mod=admin_folder_delete");
73 $this->assertTrue($this->myassertText($page,
'/Delete Folder/'));
74 $FolderId = $this->
getFolderId($this->testFolder, $page);
75 $this->assertTrue($this->mybrowser->setField(
'folder', $FolderId));
76 $page = $this->mybrowser->clickSubmit(
'Delete!');
77 $this->assertTrue(page);
78 $this->assertTrue($this->myassertText($page,
"/Deletion of folder $this->testFolder/"),
79 "FolderTest tearDown FAILED! Deletion of $this->testFolder not found\n");
createFolder($parent, $name, $description=null)
getFolderId($folderName, $page, $selectName)
Login($User=NULL, $Password=NULL)