Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342263 - [language,test] Test static features
Summary: [language,test] Test static features
Status: NEW
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 06:59 EDT by Ed Willink CLA
Modified: 2011-04-08 06:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-04-08 06:59:46 EDT
The current unit tests test only parsing of static feature definition.

Tests are needed for parsing of usage, which presumably should use :: rather than . access and should expect type sources. This should also test https://bugs.eclipse.org/bugs/show_bug.cgi?id=285633#c4.

Tests are needed for evaluation to demonstrate that the value is shared via the class for evaluations within the same environment, but not across environments.

The UML tests should exploit UML sattics while the Ecore tests need synthetic statics.

Tests should also demonstrate a considered treatment of a collection and/or tuple static.