Community
Participate
Working Groups
org.eclipse.cdt.debug.core.tests.DebugTests.setUp() calls ResourcesPlugin.getWorkspace().getDescription().setAutoBuilding(false); Unless I'm mistaken, this statement has no real effect. getDescription() returns a modifiable copy. To affect a new description setting in the workspace, the code needs to call the workspace's setDescription() method. Proposed fix: IWorkspaceDescription wsDescr = ResourcesPlugin.getWorkspace().getDescription(); wsDescr.setAutoBuilding(false); ResourcesPlugin.getWorkspace().setDescription(wsDescr); This seems to produce the expected runtime behavior. With the previous logic, the project begins building as soon as it is created, rather than when m_testProject.getProject().build(...) is called in setUp()
John, current JUnit tests are obsolete and as far as I know are meanningless. We need to develop a completely new test sets.
*** Bug 127795 has been marked as a duplicate of this bug. ***
*** Bug 127796 has been marked as a duplicate of this bug. ***