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

Bug 103555

Summary: (Test) Test Log Viewer: Log viewer extensibility
Product: z_Archived Reporter: Bianca Jiang <bjiang>
Component: TPTPAssignee: Bianca Jiang <bjiang>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P1 CC: ashishkumarmathur, paulslau, wctobin
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 103103, 131571    
Bug Blocks:    

Description Bianca Jiang CLA 2005-07-12 17:13:46 EDT
A couple of interesting extension points that's requested by underlying tools:

1. editor page extensibility to allow: 
a) add additional pages, 
b) set the default page, and maybe
c) display/hide certain pages 

2. Details view. 
There is an existing extension point. But current event details implementation
doesn't display event properties so each tool has to display them in different
places like using eclipse Properties view. This should not be the case. TPTP log
viewer should be able to show all generic details and also extensible for tools
to customize it.

3. Event actions. 
There are many actions can be associated with an execution event depending on
individual tools. An extension point can be defined to allow that. A generic
action is to open the test script and show the line of the invocation that
caused the result. (need model extension. see Bug 103103)
Comment 1 Bianca Jiang CLA 2005-09-09 14:08:20 EDT
Editor extensibility is tracked separately by bug 109182 from now. This record
will only track Details View and Event Actions extensibility.
Comment 2 Kent D Siefkes CLA 2005-09-14 03:13:54 EDT
Updated Version to 4.2 and priority to P1, as agreed by Bianca, myself, and 
other consumers.
Comment 3 Mark D Dunn CLA 2005-11-01 09:32:34 EST
Reassigning to Bianca per her request.
Comment 4 Christophe Telep CLA 2005-12-09 10:22:12 EST
proposed to be plan for 4.2 (plan keyword added)
Comment 5 Christophe Telep CLA 2005-12-09 12:19:01 EST
Target set to 4.2
Comment 6 Bianca Jiang CLA 2006-01-23 14:31:47 EST
Implemented extension point:
"org.eclipse.hyades.test.ui.executionHistoryExtension" with two elements:

1) eventExtension
to associate a specific type of execution event or execution result with a custom details page(or label provider which is unchanged since 4.0). API: org.eclipse.ui.forms.IDetailsPage.

Note attribute "detailPageFactory" is deprecated and replaced by "detailsPage" to be eclipse forms compatible.

Also updated is all the default details pages in Test Log Viewer now display the proprties of ExecutionEvent (ie. TPFExecutionEvent.getProperties()).

2) actionExtension
to provide a custom action for ExecutionEvent and listens to event selection changes. API: org.eclipse.hyades.test.ui.forms.extensions.IEventAction.

The third element "resultExtension" is deprecated and is integrated with "eventExtension".
Comment 7 Bianca Jiang CLA 2006-02-24 17:47:04 EST
Also added a third extension point for the new Properties table in Test log viewer for custom properties display.

Comment 8 Paul Slauenwhite CLA 2006-11-16 08:59:35 EST
ACTION: Please verify/close this defect.
Comment 9 Paul Slauenwhite CLA 2007-02-12 12:57:56 EST
Closing by default since not closed by the originator in the 7+ months since being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the resolution is not correct.
Comment 10 Paul Slauenwhite CLA 2009-11-23 10:24:06 EST
Correcting component.