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

Bug 344404

Summary: [documentation] Provide DocumentationExamples unit tests
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse
Version: 3.1.0   
Target Milestone: RC4   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Smoke test for Parsing OCL Documents example none

Description Ed Willink CLA 2011-05-01 12:17:46 EDT
The examples in the documenatation contain typos, so cannot have been tested when written and may have experienced bit rot. Provide smoke test JUnit tests for them.
Comment 1 Ed Willink CLA 2011-05-01 12:20:35 EDT
Created attachment 194454 [details]
Smoke test for Parsing OCL Documents example

Adolfo: the attachment modifies the ecore tests manifest to require the EMF Library example. Can you please modify the Hudson setup to provide it.
Comment 2 Axel Uhl CLA 2011-05-01 13:39:16 EDT
Applied the patch, ran tests. Looks good. +1
Comment 3 Ed Willink CLA 2011-05-01 14:23:45 EDT
Minor documentation/test support doesn't really need a +1.

The important constraint is that the plugin dependency must not break Hudson.
Comment 4 Adolfo Sanchez-Barbudo Herrera CLA 2011-05-09 12:21:41 EDT
(In reply to comment #1)
> 
> Adolfo: the attachment modifies the ecore tests manifest to require the EMF
> Library example. Can you please modify the Hudson setup to provide it.
Ed,

Sorry for the delay... I had missed it.

In principle, I don't think that this change require any Releng action. The EMFs library example is already being downloaded into the buckminster workspace in order to zip it by our examples.

Simply commit it to verify.

Cheers,
Adolfo.
Comment 5 Ed Willink CLA 2011-05-09 12:44:41 EDT
Parsing OCL Documents example committed to head. Other examples to be done.
Comment 6 Ed Willink CLA 2012-06-09 08:54:05 EDT
We now have significant Documentation tests in ecore.tests and pivot.tests
Comment 7 Ed Willink CLA 2013-05-20 11:38:00 EDT
CLOSED after a year in the RESOLVED state.