Bug 140162 - Implement tests for the lite generator fuctionality
Summary: Implement tests for the lite generator fuctionality
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: All Windows XP
: P3 normal (vote)
Target Milestone: 2.0   Edit
Assignee: Boris Blajer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed, test
Depends on:
Blocks:
 
Reported: 2006-05-04 10:09 EDT by Boris Blajer CLA
Modified: 2010-07-19 22:22 EDT (History)
1 user (show)

See Also:


Attachments
First part: refactoring of the current tests (46.31 KB, patch)
2006-05-04 10:40 EDT, Boris Blajer CLA
no flags Details | Diff
Additional refactoring (11.38 KB, patch)
2006-05-22 10:04 EDT, Boris Blajer CLA
no flags Details | Diff
Tests for the lite mode (23.08 KB, patch)
2006-05-22 10:09 EDT, Boris Blajer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Blajer CLA 2006-05-04 10:09:41 EDT
The tests should cover the same aspects of the generated diagram editor as the gmf.runtime-based ones. Preferably, the gmf.runtime-based tests should be refactored to make it possible to reuse as much as possible from these tests.
Comment 1 Boris Blajer CLA 2006-05-04 10:40:54 EDT
Created attachment 40355 [details]
First part: refactoring of the current tests

First part: refactoring of the tests that generate diagram editor plugins and check their functionality. 

The tests are now parametrized in the following two ways: i) how the code is generated and ii) how various commands are obtained (e.g., commands to create a node or a link, to start a link or to set a domain model property), since this behavior is different for the GMF.runtime-based and the “lite” mode.
Comment 2 Artem Tikhomirov CLA 2006-05-17 06:34:47 EDT
first part reviewed and committed
Comment 3 Boris Blajer CLA 2006-05-22 10:04:51 EDT
Created attachment 42150 [details]
Additional refactoring

Some methods made protected to make subclassing possible in lite mode;
One more method moved to GeneratorConfiguration;
One GeneratorConfiguration method's signature changed to align with the newly created method.
Comment 4 Boris Blajer CLA 2006-05-22 10:09:50 EDT
Created attachment 42153 [details]
Tests for the lite mode
Comment 5 Artem Tikhomirov CLA 2006-05-22 14:25:56 EDT
reviewed and committed.
Comment 6 Artem Tikhomirov CLA 2006-06-27 11:32:53 EDT
Milestone updated
Comment 7 Artem Tikhomirov CLA 2007-04-26 11:04:54 EDT
Waiting to be resolved?
Comment 8 Boris Blajer CLA 2007-07-19 12:37:07 EDT
Long since fixed.
Comment 9 Richard Gronback CLA 2008-08-13 13:11:39 EDT
[target cleanup] 2.0 M7 was the original target milestone for this bug
Comment 10 Eclipse Webmaster CLA 2010-07-19 22:22:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation - Lite was the original product and component for this bug