Version 5 (modified by pavlina, 17 years ago) (diff) |
---|
Analysis
Overview
Enable easily writing of source code and tests (unit or system) with dialogs.
Task requirements
- Revise the existing source code for the dialogs.
- Define the extension points and the extensions connected with dialogs.
- Writing system tests with dialogs should be easy.
Task result
- The result of the task should be source code.
Implementation idea
-
Related
-
How to demo
- Run Sophie and show the dialogs.
- Run unit tests to demonstrate that it would be easy to use base dialogs with tests (unit or system).
Design
- The module org.sophie2.base.dialogs contains felix activator, dialog module which extends sophie module, dialog object and dialog input(with settings to the dialog), dialog manager which controls the dialogs.
- BaseDialogModule already provides extension point for the dialog extentions
- There is TestingDialogManager class. All dialog tests should use it, otherwise the automatic testing can break while the dialogs are shown.
- there is DialogManagerTest for the DialogManager but it is now in messy module. When creating file dialogs module we have to move it in test dir of the base.dialogs because it depends on the file dialogs.
Implementation
(Implementation results should be described and linked here (from the wiki or the repository)
Testing
Comments
Log