Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342263

Summary: [language,test] Test static features
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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.