wiki:UNPLANED_APP_COMMONS_TEST_FIXING
Last modified 16 years ago Last modified on 07/14/09 18:40:31

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=UNPLANED_APP_COMMONS_TEST_FIXING, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

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.)