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

Bug 287562

Summary: [TMF] Update the Event Model code
Product: z_Archived Reporter: Francois Chouinard <fchouinard>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 301613    
Attachments:
Description Flags
Event model refresh
fchouinard: iplog-
TMF Event update + JUnits
none
TMF Event Update + JUnits
none
TmfEvent update (2) fchouinard: iplog-

Description Francois Chouinard CLA 2009-08-25 10:26:09 EDT
Update the TMF Event Model code as per the documentation

RE: org.eclipse.linuxtools.tmf.doc/models/TMF-3 Event.pdf
Comment 1 Francois Chouinard CLA 2009-08-25 14:55:06 EDT
Created attachment 145578 [details]
Event model refresh

Synched the code with the current version of the model and adjusted the JUnits.
Comment 2 Andrew Overholt CLA 2009-08-26 10:32:14 EDT
Hi Francois,

I see you're using junit4 here.  That's not going to work as both JUnit 3 and JUnit 4 can't exist in the Eclipse Testing Framework at the same time.  See bug #153429 for more details.  Is it possible to move to JUnit 3?
Comment 3 Francois Chouinard CLA 2009-08-26 16:38:49 EDT
Hi Andrew,

No problem.
/fc
Comment 4 Francois Chouinard CLA 2009-10-21 16:39:12 EDT
After the first internal delivery (and some comments from the mailing list...), some changes will be made to the event model:
- The notion of TmfFormat will disappear; its responsibilities will be split between TmfType and TmfContent
- TmfType will now provide the field IDs
- TmfContent gets to implement the parsing on demand
- TmfContent will also maintain a pointer to its parent event
- TmfFields will maintain a pointer to its parent content

Code and document will be updated accordingly.
Comment 5 Francois Chouinard CLA 2009-11-04 00:18:23 EST
Created attachment 151266 [details]
TMF Event update + JUnits

Preliminary patch to investigate updated model (doc to follow).

Warning: breaks the LTTng components
Comment 6 Francois Chouinard CLA 2009-11-04 00:23:53 EST
Created attachment 151267 [details]
TMF Event Update + JUnits

Regenerated the patch to include an overlooked component.
Comment 7 Francois Chouinard CLA 2009-11-08 23:34:32 EST
Created attachment 151666 [details]
TmfEvent update (2)

Updated patch
Comment 8 Francois Chouinard CLA 2010-03-16 11:27:02 EDT
Comment on attachment 151666 [details]
TmfEvent update (2)

Patch was committed a while ago...
Comment 9 Francois Chouinard CLA 2010-04-13 16:57:19 EDT
This is pretty much "it" for Helios.