Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 69805 - (Test)Deleting the .testsuite file should also delete any associated files with the test suite
Summary: (Test)Deleting the .testsuite file should also delete any associated files wi...
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Bozier jerome CLA
QA Contact:
URL:
Whiteboard: housecleaned460 closed471
Keywords:
Depends on: 166025
Blocks:
  Show dependency tree
 
Reported: 2004-07-11 16:05 EDT by Navid Mehregani CLA
Modified: 2016-05-05 11:07 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Mehregani CLA 2004-07-11 16:05:38 EDT
Deleting the .testsuite file should also delete any associated files with the
test suite.

Problem:
--------

- Create a new HTTP Recorder 
- Delete the .testsuite file from the 'Test Navigator' view of the 'Test'
perspective
- Switch to the 'Navigator' view
- Notice that the .rec and .recmodel files of the HTTP Recorder are still there

If there is a reason for keeping these files then the user should be at least
prompted whether he/she wants to also delete all the associated files with the
test suite.
Comment 1 Todd Merriweather CLA 2004-07-12 10:10:09 EDT
This issue is not specific to HTTP, but common to everything in Test
Comment 2 Ruth Lee CLA 2005-02-09 17:18:05 EST
Adding Hendra Suwanda to the CC list because Navid has gone back to school. If
you have any questions about these defects then please ask Hendra.
Comment 3 Mark D Dunn CLA 2005-12-14 11:10:25 EST
Reassign to Jerome for tptp 4.2. in accordance with discussion in Test project meeting 12/12/2005.
Comment 4 Paul Slauenwhite CLA 2007-03-14 14:27:05 EDT
Updating target to future as requested by the PMC.  

Enhancements are targeted to future if not in plan for the current release.
Comment 5 Paul Slauenwhite CLA 2008-04-08 07:41:30 EDT
Jerome, wouldn't this request be handled under the delete use case for 166025?  The exception would be the .rec and .recmodel files since there is no direct link from the generated test suite.  Any ideas?
Comment 6 Bozier jerome CLA 2008-04-08 10:04:33 EDT
this is not as simple as it seems....

in fact, testsuites are generated from .rec or .recmodel files
so, a .rec can generate several testsuite. and if the user make an error by deleting things inside a testsuite that can not be created manually (as "windows" element in citrix testsuite), he have no way to recreate them outside re-generating the testsuite
so, on my opinion, we can not delete the rec and recmodel files when we delete a testsuite

on the other side, we could make a "owner" relationship from rec to testsuite, so that deleteting a rec file give the user the ability to delete the testsuite (disabled by default)

doing this could be done quite easily : i just have to check if rec/recmodel file have their own proxy kind. if yes, we just have to define two relationship (recToTestsuite and testsuiteToRec) with the existing extension point, with the "own" flag corectly setted, and the work is done

we should discuss on this topic on next meeting....
Comment 7 Paul Slauenwhite CLA 2009-06-30 06:28:07 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As such, TPTP is not delivering enhancements. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement is resolved as WONTFIX. For this enhancement to be considered, please re-open with an attached patch including the Description Document (see http://www.eclipse.org/tptp/home/documents/process/development/description_documents.html), code (see http://www.eclipse.org/tptp/home/documents/resources/TPTPDevGuide.htm), and test cases (see http://www.eclipse.org/tptp/home/documents/process/TPTP_Testing_Strategy.html).
Comment 8 Paul Slauenwhite CLA 2009-06-30 06:48:51 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As such, TPTP is not delivering enhancements. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement is resolved as WONTFIX. For this enhancement to be considered, please re-open with an attached patch including the Description Document (see http://www.eclipse.org/tptp/home/documents/process/development/description_documents.html), code (see http://www.eclipse.org/tptp/home/documents/resources/TPTPDevGuide.htm), and test cases (see http://www.eclipse.org/tptp/home/documents/process/TPTP_Testing_Strategy.html).
Comment 9 Kathy Chan CLA 2010-11-18 23:08:07 EST
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.