Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 222822 - Provide error handling for corrupt/incomplete test assets.
Summary: Provide error handling for corrupt/incomplete test assets.
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Bozier jerome CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 166025
Blocks: 232081
  Show dependency tree
 
Reported: 2008-03-14 18:16 EDT by Paul Slauenwhite CLA
Modified: 2016-05-05 11:09 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 Paul Slauenwhite CLA 2008-03-14 18:16:55 EDT
Provide error handling for corrupt/incomplete test assets.

As a continuation of enhancement 166025 (UC5: http://wiki.eclipse.org/TPTP-Test-Tools-Design-Review-166025-01112008#Core_Use_Cases), provide fall-back error handling for modifications done to test assets outside of the Test Perspective/Test Navigator (e.g. deleting a referenced test asset on the local file system).

This error handling mechanism would iterate the workspace when the Test Perspective/Test Navigator is opened to correct any inconsistent references/names. 

This function would also support UC6 (http://wiki.eclipse.org/TPTP-Test-Tools-Design-Review-166025-01112008#Core_Use_Cases), exporting a subset of test assets and then importing the subset of test assets into a new workspace (e.g. missing test asserts).
Comment 1 Paul Slauenwhite CLA 2008-03-14 18:17:31 EDT
Jerome, please provide a sizing.
Comment 2 Bozier jerome CLA 2009-05-27 13:09:40 EDT
i am not really sure to understand this bug
do they want consistency check ?
automatically done or done on refresh ?
do they want callback functions in case inconsistency is detected ?

updating estimated time to around 2 week (lots of uncertainty margin)
Comment 3 Paul Slauenwhite CLA 2009-06-10 14:22:22 EDT
(In reply to comment #2)
> i am not really sure to understand this bug
> do they want consistency check ?

This function would handle the use case where test assets are created/updated/deleted outside of the Test Navigator.  For example, on the local file system or in the Package Explorer of the Java perspective.  It is required to ensure references between test assets are not corrupted when those referenced test assets are created/updated/deleted outside of the Test Navigator. 

> automatically done or done on refresh ?

Automatically would be best (similar to the Eclipse navigator sensing a resource change on the local file system) although somewhat inefficient.  A refresh (or a third alternative, when a reference is requested from the proxy) would require fall-back error handling (e.g. iterating the workspace to find the correct test asset or ask the user to select the correct test asset) as opposed to fixing the reference automatically when the resource change event occurs.

> do they want callback functions in case inconsistency is detected ?

No.  However, we should display the errors as markers in the Problems view so consumers can contribute 'quick fixes'.
Comment 4 Paul Slauenwhite CLA 2010-05-20 07:33:17 EDT
No longer required.
Comment 5 Paul Slauenwhite CLA 2010-05-20 09:59:06 EDT
Closing.