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

Bug 75686

Summary: Deleting a test method causes saving error
Product: z_Archived Reporter: Todd Merriweather <toddmm>
Component: HyadesAssignee: Joe Toomey <jptoomey>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: steven.wasleski
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Todd Merriweather CLA 2004-10-05 23:35:32 EDT
Deleting a test method before removing the method's invocation from the test 
behavior and then saving the testsuite causes the following error:

IWAT4001E An error has happened during the saving attempt. 

File: /HTTPJavaProj1/httprec2.testsuite
Reason: The object 'org.eclipse.hyades.models. common. 
testprofile.impl.TPFBehaviorImpl@583358 (id:CE0AE050CAFCA2B79120C4BDDC3911D8, 
description: null, name: 25 GET localhost_behavior) (isReentrant: null, 
resource: C5getlocalhost, location: null)' is not contained in a resource. 

If the method invocation is still present in a behavior, the deletion of the 
test method should be prevented.  Unless the user has a thorough understanding 
of how methods and their invocations are related, this would appear to be a 
perfectly acceptable task to perform when in reality it is not.
Comment 1 Joe Toomey CLA 2004-10-12 09:38:36 EDT

*** This bug has been marked as a duplicate of 72205 ***
Comment 2 Joe Toomey CLA 2006-11-16 09:59:08 EST
Closing...