Test Cases
- Adding a task should select the added task.
- Open test1.ics.
- Select "A".
- Local Menu.
- Add Subtask.
- Enter a summary.
- OK.
- The new subtask should be selected.
- Select next task after cut.
- Open test2.ics.
- Select "A".
- Local Menu.
- Cut.
- C should be selected.
- Adding a task should not collapse the tree.
- Open test3.ics.
- Expand All.
- Create a new task under the task list node.
- "A" should not collapse.
- Sorting should not change the selection
- Open test4.ics.
- Expand All.
- Select "A".
- Sort the tasks on summary.
- "A" should remain selected.
- Filtering should work
- Open test5.ics.
- Set the following filter: "Done is true".
- G, E, B should be visible.
- C, A, D should be grayed out.
- F, H should be filtered out.
- Starting/stopping a task
- Open test6.ics
- Start Colors/G
- StartAction should be disabled.
- StopAction should be enabled.
- The icon for "G" should have the "started" badge.
- Stop "G"
- StopAction should be disabled.
- StartAction should be enabled.
- The icon for "G" should not have the "started" badge.
- Clear percent complete
- Open test7.ics.
- "Clear Percent Complete" for "Test".
- Confirmation dialog should appear.
- All tasks under "Test" should have 0%.
- "Clear Percent Complete" for "Colors".
- R and B should have 0%, G - 25%
- Editable "Summary" column
- Open test8.ics.
- Select the root node.
- F2.
- The cell should not become editable.
- Select "Colors/B".
- F2.
- Enter "Test".
- Show Task "Test".
- Check the summary. It should be "Test".
- "Move up/Move down" should not change selection.
- Open test9.ics.
- Select "Music".
- Move it down.
- "Music" still selected.
- Select "Music/Pop".
- Move it down.
- "Music/Pop" still selected.
- -
- Expanded nodes/selection/started task/scrollbar positions should
be restored after NB
restart.
- Open test11.ics.
- Expand "Lights" and "Music".
- Start "Lights/Green"
- Select "Colors"
- Scroll down/right
- Restart NB.
- Check selection, expanded nodes and started task, scrollbar
positions.