Basic Fossology functionality

Version 2 (larry shi, 02/23/2012 01:57 am)

1 1 larry shi
table{border:1px solid black}.
2 1 larry shi
|_.Testsuit Name|Basic Fossology functionality|_.Estimated run time|2h|_.Note||
3 1 larry shi
4 1 larry shi
{{toc}}
5 1 larry shi
6 1 larry shi
h1. CreateFolderTest.php
7 1 larry shi
8 1 larry shi
h1. DeleteFolderTest.php
9 1 larry shi
10 1 larry shi
h1. editFolderDescriptionOnlyTest.php
11 1 larry shi
12 1 larry shi
h1. editFolderNameOnlyTest.php
13 1 larry shi
14 1 larry shi
h1. editFolderTest.php
15 1 larry shi
16 1 larry shi
h1. moveFolderTest.php
17 1 larry shi
18 1 larry shi
The tests above are tested in http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks/#OrgFoldersMenuTest-Createphp   and http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks/#OrgFoldersMenuTest-Editphp
19 1 larry shi
20 2 larry shi
h1. DupFolderTest.php
21 2 larry shi
22 2 larry shi
table{border:1px solid black}.
23 2 larry shi
|_.Purpose | test if can create 2 diff folders under one folder |
24 2 larry shi
|_.Dependencies | install fossology sucessfully |
25 2 larry shi
26 2 larry shi
27 2 larry shi
table{border:1px color:black}.
28 2 larry shi
|_. Step |_.Action |_.Expected Results|
29 2 larry shi
|1. |click on [Organize]-->[Folders]-->[Create] menu to create one folder 'test_dup' under 'Software Repository' folder, set the folder description as 'test dup description'; click on 'Create!' link| click on [Browse] menu you shoud see the 'test_dup' folder under 'Software Repository' folder|
30 2 larry shi
|2. |click on [Organize]-->[Folders]-->[Create] menu to create one folder 'test_dup' under 'Software Repository' folder, set the folder description as 'test dup description 2nd'; click on 'Create!' link| you will get one error msng say 'Folder test_dup Exists'; click on [Browse] menu you shoud can not see the 2 'test_dup' folders under 'Software Repository' folder|
31 2 larry shi
|3. | click on [Upload]-->[From File] menu to the 'upload from file' page; selec the storing folder as 'test_dup', select one file from local, set the description for this upload as 'dup upload des', set viewable name for this upload as dup_upload'; click on the link 'Upload'| you will get the notice msg on the top of this page, the msg looks like 'The file upload des has been uploaded. It is upload #upload_id. '|
32 2 larry shi
|4. | check all the jobs for this upload sucessful, how to check you can refer to http://www.fossology.org/projects/fossology/wiki/Cluster_Test_Cases#Cluster-functional-tests |all the jobs are completed sucessfully|
33 2 larry shi
|5. repleat the step 3(upload the same file, and do the same setting)| you will get the notice msg on the top of this page, the msg looks like 'The file upload des has been uploaded. It is upload #upload_id_last+1. '|
34 2 larry shi
|6. | repeat step 4 to check if all the jobs are completed sucessfully| all the jobs are completed sucessfully|
35 2 larry shi
|7. | click on menu [Browse] to the Browse page|you will get 2 duplicate upload under 'test_dup' folder|
36 2 larry shi
37 2 larry shi
38 2 larry shi
39 2 larry shi
40 1 larry shi
h1. moveUploadTest.php
41 1 larry shi
42 1 larry shi
h1. upload properties
43 1 larry shi
44 1 larry shi
h1. upload removal
45 1 larry shi
46 1 larry shi
The tests above are tested in http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks#OrgUploadsMenuTest-Deletephp
47 1 larry shi
48 1 larry shi
h1. UploadFileTest.php
49 1 larry shi
50 1 larry shi
h1. UploadUrlTest.php
51 1 larry shi
52 1 larry shi
h1. uploadSrvFileTest.php
53 1 larry shi
54 1 larry shi
h1. UploadSrvArchiveTest.php
55 1 larry shi
56 1 larry shi
h1. uploadSrvDirTest.php
57 1 larry shi
58 1 larry shi
The tests above are tested in http://www.fossology.org/projects/fossology/wiki/20-specific_Test_Suite#Functionality
59 1 larry shi
60 1 larry shi
h1. addUserTest.php
61 1 larry shi
62 1 larry shi
The test above is tested in http://www.fossology.org/projects/fossology/wiki/Common_UI_Test_Cases#plugin_disable