Version 7 (modified by niki, 16 years ago) (diff) |
---|
Analysis
Overview
The aim of this task is to revise the code of the Storage class - the intermediate format for saving Sophie2 books.
Task requirements
- Refactor the code of the Storage class and all related classes so that it is working
- Move things to the base.persistence module.
- Provide class/dependency diagrams with the new structure.
- Ensure the existing unit tests pass and provide new if necessary
Task result
The result of this task should be :
- Source code
- Class/dependency diagrams
- Working unit tests
Implementation idea
- Review the code in main.model.persist* packages
- Run the existing unit tests and see where they fail.
- Run the application and try loading/saving books. Mark the exceptions you get.
- Fix the errors - ensured by passing unit tests and ability to load/save.
- Move to the new module and refactor. Test again
Related
How to demo
- Show the new classes and describe their relations.
- Run unit tests.
- Open Sophie2 and demonstrate loading/saving.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)