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

Bug 110827

Summary: Links to referenced test suites (manual and JUnit) break between TPTP releases.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: TPTPAssignee: Jerome Gout <jerome.gout>
Status: CLOSED INVALID QA Contact:
Severity: major    
Priority: P1 CC: paulslau
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screen_capture.JPG
none
Here is what I get
none
screen_capture2.JPG none

Description Paul Slauenwhite CLA 2005-09-27 12:09:32 EDT
Links to referenced test suites (manual and JUnit) break between TPTP releases.

Note:  Please reroute this defect to the correct component.  The problem 
manifests itself in the test suite editors but appears to be a Test model issue 
with the relative links.

From release to release of TPTP, links to referenced test suites (manual and 
JUnit but HTTP has not been checked) break.  The use case for this defect is 
the TPTP testing resources (http://dev.eclipse.org/viewcvs/index.cgi/test-
results/?cvsroot=TPTP_Project).  The test-
results\platform\org.eclipse.hyades.tests\AllJUnitTests.testsuite test suite 
references (see the Behavior tab of the test suite's editor) AllTests.testsuite 
test suites in the other projects of the test-results directory (see test-
results\platform\org.eclipse.hyades.tests\README.txt and 
http://www.eclipse.org/tptp/home/documents/process/TPTP_Testing_Strategy.html 
for more details).  From release to release of TPTP, some of these linkages are 
broken.  To reproduce, extract the test-results module from either the TPTP-
4_0_0 or TPTP-4_0_1 CVS branches to a TPTP v4.0 and TPTP v4.1 workbench.  Note 
the linkages are present in the TPTP v4.0 workbench but not in the TPTP v4.1 
workbench.
Comment 1 Mark D Dunn CLA 2005-10-06 15:59:13 EDT
Will attempt to fix this in 4.1i3.
Comment 2 Mark D Dunn CLA 2005-10-25 14:35:27 EDT
Retarget to 4.2 since this cannot be fixed in 4.1.
Comment 3 Mark D Dunn CLA 2005-12-14 11:27:57 EST
Reassign to Jerome for tptp 4.2. in accordance with discussion in Test project meeting 12/12/2005.
Comment 4 Paul Slauenwhite CLA 2006-01-31 15:02:17 EST
Increasing severity since this defect has resurfaced again in TPTP V4.2.0 (see http://dev.eclipse.org/viewcvs/index.cgi/test-results/platform/org.eclipse.hyades.tests/AllManualTests.testsuite?cvsroot=TPTP_Project).
Comment 5 Paul Slauenwhite CLA 2006-02-02 12:33:09 EST
Created attachment 34028 [details]
screen_capture.JPG
Comment 6 Jerome Gout CLA 2006-02-03 05:41:45 EST
Using latest 4.2, I'm not able to reproduce.
I have inspected/debuged the source code that is responsible of displaying data in the test suite editor for the test suite you mentioned.
The source code is very simple and clear at this point.
There are two possible reasons to explain the result you noticed:
 1- an improbable one. The object contained in the selection of the left panel is not an invocation.
 2- the invoked test reference set in the invocation object returns null.
The query of the invoked test is located at the line 205 in the class org.eclipse.hyades.test.tools.ui.common.internal.editor.TestInvocationDetailPage.
I think the content of this getter is clean (even if this is not a pure EMF generated getter due the facade).

For all those reason I believe that this problem comes from your configuration.

Feel free to reopen if you find a usecase that reproduces it each time.
Comment 7 Jerome Gout CLA 2006-02-03 05:48:09 EST
Created attachment 34064 [details]
Here is what I get
Comment 8 Paul Slauenwhite CLA 2006-02-03 09:54:48 EST
Created attachment 34077 [details]
screen_capture2.JPG

This problem can be reproduced (TPTP-4.2.0-200601310100) when extracting the actual test plug-ins from CVS (see screen_capture2.JPG).  For example, extract all the plug-ins in the following folders under the test-results module in CVS:

http://dev.eclipse.org/viewcvs/index.cgi/test-results/monitor/?cvsroot=TPTP_Project

http://dev.eclipse.org/viewcvs/index.cgi/test-results/platform/?cvsroot=TPTP_Project

http://dev.eclipse.org/viewcvs/index.cgi/test-results/test/?cvsroot=TPTP_Project

http://dev.eclipse.org/viewcvs/index.cgi/test-results/trace/?cvsroot=TPTP_Project
Comment 9 Paul Slauenwhite CLA 2006-02-03 09:55:26 EST
(In reply to comment #8)

As such, reopening.
Comment 10 Jerome Gout CLA 2006-04-06 09:48:38 EDT
No resource to investigate this defect before end of 4.2
Comment 11 Jerome Gout CLA 2006-11-06 09:36:10 EST
Retarget to 4.4 since all non-blocking/critical defects will be deferred
as decided in AG call.
Comment 12 Paul Slauenwhite CLA 2007-01-17 09:44:07 EST
Has the priority for this defect been recently reviewed given its severity?  If not, please take a few minutes and reevaluate the priority.
Comment 13 Paul Slauenwhite CLA 2007-01-26 08:45:09 EST
Will be included in the 4.4 plan.  

Please target to a 4.4 iteration.
Comment 14 Paul Slauenwhite CLA 2007-01-26 10:21:00 EST
Increasing the priority to P1 since including in the 4.4 plan.
Comment 15 Paul Slauenwhite CLA 2007-01-26 10:21:22 EST
Increasing the priority to P1 since including in the 4.4 plan.
Comment 16 Paul Slauenwhite CLA 2007-03-23 16:13:25 EDT
Assigning target.
Comment 17 Paul Slauenwhite CLA 2007-04-05 12:07:57 EDT
This defect is the result of test suites being copied/moved.  As such, the solution is to provide move, copy, delete, rename and import/export capabilities for test assets. (see feature 166025).
Comment 18 Paul Slauenwhite CLA 2007-04-05 12:08:07 EDT
Closing.