30 require_once (
'TestEnvironment.php');
31 require_once (
'fossologyTestCase.php');
56 print
"starting testmytest\n";
57 $page = $this->mybrowser->get($URL);
58 $page = $this->mybrowser->clickLink(
'Browse');
60 $this->assertTrue($this->myassertText($page,
'/Folder Navigation/'),
61 "testmyTest FAILED! There is no Folder Navigation Title\n");
62 $page = $this->mybrowser->clickLink(
'Create');
63 $this->testFolder =
'Sample-Folder';
82 print
"mytest: in tearDown\n";
83 $page = $this->mybrowser->get(
"$URL?mod=admin_folder_delete");
84 $this->assertTrue($this->myassertText($page,
'/Delete Folder/'));
85 $FolderId = $this->
getFolderId($this->testFolder, $page);
86 $this->assertTrue($this->mybrowser->setField(
'folder', $FolderId));
87 $page = $this->mybrowser->clickSubmit(
'Delete!');
88 $this->assertTrue(page);
89 $this->assertTrue($this->myassertText($page,
"/Deletion of folder $this->testFolder/"),
90 "FolderTest tearDown FAILED! Deletion of $this->testFolder not found\n");
createFolder($parent=null, $name, $description=null)
getFolderId($folderName, $page, $selectName)
Login($User=NULL, $Password=NULL)