Version 2 (modified by niki, 16 years ago) (diff) |
---|
Analysis
Overview
The aim of the task is to improve the persistance functionality. Books would be saved and loaded.There is such functionality at the moment, but it does not work properly.Working tests must be done and they must be capsulated in module.
Task requirements
- save books
- load books
- must be capsulated in module
- Make working tests
- Make a design and write a documentation about how it works.
Extra
- to connect with LOAD / SAVE menu in the project
Task result
code
Implementation idea
At the moment the class "Storage" is implemented.Some other files , which are in org.sophie2.main.mode.persist are made, too.These files help for working with the books.A separate module must be done .It must be able to load and save the books. At the moment there is such module but it does not work properly, because there are many changes in the project .The module is "org.sophie2.main.model.persistance.r2". Working test must be done ,too. There are such tests at the moment but not all of them work properly.Test that work properly are Storage2XMLTest , StorageLoaderTest, StorageTest. Design and documantaion of the funcionality must be done.
Related
none
How to demo
It must show working tests and documentation for the functionality. In addition, it might make a demostratively load and save from the menu of the project
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.)