Last modified 16 years ago
Last modified on 07/14/09 18:40:31
Analysis
Overview
All unit tests in main.app.commons that are not working should be fixed.
Task requirements
- Move the tests, which are in wrong package, to their correct package.
- Delete duplicate tests.
- Fix all remaining tests.
Task result
All unit tests in main.app.commons should be working.
Implementation idea
Debug the tests that fail and correct the errors.
How to demo
Design
- For the test testContentView in class ContentViewTest - use the property contentElement() from the frameView to get the image instead of the property element(), provide ResourceChangeManager for the resources in the test.
- For all the tests in AppLogicSystemTest - move the class to package org.sophie2.author and start the required modules in fillDepenedencies() method.
- For the test testCloseApp in AppLogicSystemTest - check if the project is started through the fakeModuleRegistry, if so leaving the confirm dialog for exit with YES will cause System.exit(0) and the method will never return.
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)