Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 143875 - Test UI does not does not remove referenced suites properly
Summary: Test UI does not does not remove referenced suites properly
Status: CLOSED DUPLICATE of bug 113590
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Paul Slauenwhite CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-25 21:45 EDT by Sheldon Lee-Loy CLA
Modified: 2016-05-05 10:59 EDT (History)
1 user (show)

See Also:


Attachments
manual test element that still contains referenced manual elements (1.84 KB, application/octet-stream)
2006-05-25 21:47 EDT, Sheldon Lee-Loy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sheldon Lee-Loy CLA 2006-05-25 21:45:33 EDT
When removing a referenced test suite from a parent test suite the references aren't removed.  I was told by Dave Smith that he removed the following test cases from the test-results/monitor/org.eclipse.tptp.monitoring.tests/manual/AllTests.testsuite file

Monitor.Analysis.LogImport.AIX_PCC
Monitor.Analysis.LogImport.HPUX_RISC
Monitor.Analysis.LogImport.Linux_IA32
Monitor.Analysis.LogImport.Linux_PPC64
Monitor.Analysis.LogImport.Linux_zSeries

However when you open the contents of AllTests.testsuite you will notice that there are entries for the referencedSuites. The following shows the referencedSuites are still there.

  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.AIX_PPC.testsuite#E30EBB50607094E91A05A6003A0B11DA"/>
  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.HPUX_RISC.testsuite#E30EBB50607094E9A7601A103A0D11DA"/>
  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.Linux_IA32.testsuite#E30EBB50607094E909B9B6D03A0E11DA"/>
  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.Linux_PPC64.testsuite#E30EBB50607094E9D2E7A3003A0E11DA"/>
  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.Linux_zSeries.testsuite#E30EBB50607094E9465CAC903A0F11DA"/>
  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.OS400_iSeries.testsuite#E30EBB50607094E9CDD28FA03A0F11DA"/>
  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.Solaris_SPARC.testsuite#E30EBB50607094E9725B61503A1011DA"/>
  <referencedSuites href="Profiling_and_Logging/Monitor.Analysis.LogImport.Windows_IA32.testsuite#EB429B9AD2DC4D86838C39B0319A11D9"/>

The file is corrupted as a result.  

I reproduced the problem by first creating a manual test element that references another manual test element.  I then removed the referenced manual test element.
Comment 1 Sheldon Lee-Loy CLA 2006-05-25 21:47:46 EDT
Created attachment 42670 [details]
manual test element that still contains referenced manual elements

You will notice that if you open this file using the manual test editor the referenced manual test elements are not shown in the UI.
Comment 2 Mark D Dunn CLA 2006-05-26 09:25:29 EDT
Reassign to Paul.  This looks like a manual test issue.
Comment 3 Paul Slauenwhite CLA 2006-05-26 09:35:10 EDT

*** This bug has been marked as a duplicate of 113590 ***
Comment 4 Paul Slauenwhite CLA 2006-11-16 09:02:35 EST
ACTION: Please verify/close this defect.
Comment 5 Sheldon Lee-Loy CLA 2006-11-16 11:00:26 EST
Closing