Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358559 - Adjust TestFileAccessor so that working files can be created independently of the current working directory
Summary: Adjust TestFileAccessor so that working files can be created independently of...
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christian K. CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 07:20 EDT by Christian K. CLA
Modified: 2021-07-14 02:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian K. CLA 2011-09-22 07:20:40 EDT
When tests are run directly in a test plug-in project directory this can result in  temporary files remaining there after test execution. This is inconvenient since the project directories are usually SVN working copies.

A workaround is to setup a launch config which launches the tests in a different directory, e.g. <plug-in directory>/working-dir. But this requires that launch configs will be maintained for all test executions.

As an alternative the TestFileAccessor shall support that working files will be created in a base directory that can be explicitly set, instead of the current working directory.
Comment 1 Christian K. CLA 2011-09-22 09:35:29 EDT
Fixed with revision 500.
Comment 2 Balazs Grill CLA 2021-07-14 02:16:30 EDT
Mass-closing Resolved tickets