TreeView testing
Description | Value | Expected Result | Folder | Class | Interface | Datatype | Enum | Package |
---|---|---|---|---|---|---|---|---|
Simple add (without doublon) | ex. Folder | Add it | PASS | PASS | PASS | PASS | PASS | PASS |
Add with doublon | ex. Folder | Add it | PASS | PASS | PASS | PASS | PASS | PASS |
Remove the last occurence of a doublon | Remove the last doublon | PASS | FAIL | PASS | CRASH | PASS | FAIL | |
Remove the first occurence of a doublon after erasing the first one | Remove the item | PASS | PASS | PASS | can't test | FAIL | PASS | |
Simple add (without doublon), add a doublon and close the window (X) | ex. Folder, then Folder, then cancel | Add it | No popup | popup | popup | popup | popup | popup |
Add empty name | "" | Remove the empty item | ADD | ADD | ADD | ADD | ADD | ADD |
Add item #1, add item #2, then rename the second with the first item name | ex. Folder, then Folder2, then Folder | Name of item #2 doesn't change (except Folder/Package) | change | PASS | PASS | PASS | PASS | change |
Add item #1, rename it to an empty name | ex. "Folder", then "" | Popup info and name doesn't change | PASS | PASS | PASS | PASS | PASS | PASS |
Add attribute | attribute | Add "attribute :" | - | PASS | - | - | - | - |
Add attribute (doublon) | attribute | Add "attribute :" or don't add it | - | FAIL | - | - | - | - |
Add attribute (datatype exists) | attribute : int | Add "attribute : int" | - | PASS | - | - | - | - |
Add attribute (datatype exists) and doublon | attribute : int | Don't add it | - | FAIL | - | - | - | - |
Add attribute (datatype doesn't exist) | attribute : test | Add "attribute : test" and add new datatype? | - | FAIL | - | - | - | - |
Add new operation "test()", then add attribute "test", then remove attribute "test" | test() test |
test() and remove attribute | - | CRASH | - | - | - | - |
Add operation | operation | Add "operation()" | - | PASS | PASS | - | - | - |
Add operation (doublon) | operation | Ask, then click "use", delete new one | - | PASS | PASS | - | - | - |
Add operation (doublon) - rename new name | operation | Ask, then click "rename", enter "operation2" | - | FAIL, delete it | FAIL, delete it | - | - | - |
Add operation (doublon) - rename old name | operation | Ask, then click "rename", enter "operation" again | - | can't test | can't test | - | - | - |
Add operation with one argument | operation(test) | Add "operation(test : )" | - | PASS | PASS | - | - | - |
Add operation with one argument (doublon) | operation(test) | Remove the new item | - | CRASH | CRASH | - | - | - |
Add template | template | Add | - | PASS | PASS | - | - | - |
Add template (doublon) | template | Remove the new one | - | FAIL | FAIL | - | - | - |
Remove the new doublon template | Remove the new template, keep the first one | - | FAIL | CRASH | - | - | - | |