Community
Participate
Working Groups
Eclipse-based test types do not clear workspace before executing the test. The Eclipse-based test types can be executed with the necessary configuration to delete the local/remote Eclipse workspace and configuration directories. However, the local/remote Eclipse workspace and configuration directories are not deleted and no error is logged. Test types: TPTP JUnit Plug-in TPTP AGR This defect requires the fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=296799 AND the attached patch. Requires a new test case for the TPTP JUnit Plug-in test type.
Created attachment 153929 [details] Patch (AGR)
(In reply to comment #1) > Created an attachment (id=153929) [details] > Patch (AGR) Requires review and testing.
Requires confirmation now that defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=296799 is fixed since defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=299942 suggests the configuration/workspace directories are now deleted for TPTP JUnit Plug-in test types.
(In reply to comment #3) > Requires confirmation now that defect > https://bugs.eclipse.org/bugs/show_bug.cgi?id=296799 is fixed since defect > https://bugs.eclipse.org/bugs/show_bug.cgi?id=299942 suggests the > configuration/workspace directories are now deleted for TPTP JUnit Plug-in test > types. Confirmed. Verified in TPTP-4.7.0-201002281900 by launching a TPTP JUnit Plug-in test with a workbench location with the clear configuration area/workspace options set.
Created attachment 160515 [details] Patch (AGR - Version 2).
(In reply to comment #5) > Created an attachment (id=160515) [details] > Patch (AGR - Version 2). Refactored the patch for a cleaner fix. Checked in to CVS (HEAD). Added a new test case to /org.eclipse.hyades.test.java.tests/manual/regressionTests/Test.Execution.JUnitPluginRunner.testsuite for the TPTP JUnit Plug-in test type.
Verified in TPTP-4.7.0-201003251321. Closing.