33 require_once (
'fossologyTestCase.php');
34 require_once (
'TestEnvironment.php');
56 print
"Creating Code Coveragefolder\n";
57 $page = $this->mybrowser->get($URL);
61 function testuploadUnpack() {
66 print
"starting testuploadUnpack\n";
69 $uploadList = array(
'TestData/archives/eddyData.tar.bz2',
70 'TestData/archives/foss23D1F1L.tar.bz2',
71 'TestData/licenses/gplv2.1',
72 'TestData/licenses/Affero-v1.0');
73 $urlList = array(
'http://downloads.sourceforge.net/simpletest/simpletest_1.0.1.tar.gz',
74 'http://www.gnu.org/licenses/gpl-3.0.txt',
75 'http://www.gnu.org/licenses/agpl-3.0.txt',
76 'http://osrb-1.fc.hp.com/~fosstester/fossology_1.1.1~20100622_all.deb');
78 print
"Starting file uploads\n";
79 foreach($uploadList as $upload) {
80 $description =
"File $upload uploaded by Upload Test Data Test";
81 $this->
uploadFile(
'Testing', $upload, $description, null, NULL);
89 $this->webProxy = $PROXY;
91 print
"Starting Url uploads\n";
92 foreach($urlList as $url)
94 $this->
uploadUrl($rootFolder, $url, null, null, NULL);
createFolder($parent=null, $name, $description=null)
uploadFile($parentFolder, $uploadFile, $description=null, $uploadName=null, $agents=null)
testCreateTestingFolder()
uploadUrl($parentFolder=1, $url, $description=null, $uploadName=null, $agents=null)
Login($User=NULL, $Password=NULL)