16 require_once (
'../../../tests/fossologyTestCase.php');
17 require_once (
'../../../tests/TestEnvironment.php');
25 protected function setUp() {
27 $this->CreateFolder(1,
'SrvUploads',
'Folder for upload from server tests');
30 public function testUploadSrvFile() {
34 $page = $this->mybrowser->get($URL);
36 $File =
'/home/fosstester/licenses/ApacheLicense-v2.0';
37 $Filedescription =
"File uploaded from Server";
39 $this->
uploadServer(
'SrvUploads', $File, $Filedescription,
null,
'all');
uploadServer($parentFolder, $uploadPath, $description=null, $uploadName=null, $agents=null)
Login($User=NULL, $Password=NULL)