mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
![]() By design, the parser/provider fires when loading the cproject description but we also call it by hand in the main code of the tests. This means CompilationDatabaseParser could be running twice simultaenously along with the same output parser code that it delegates to. The problem was exposed fully when adding more complex data structure (hash maps) to the output parsers in another commit, as it would produce ConcurrentModificationException. We need to be careful when we choose to call setProjectDescription because it triggers the provider and then we have to wait for the jobs to complete (joinLanguageSettingsJobs). By taking this into consideration, several tests had to be updated. Most notably, the read-only config test case had to be merged with the time-stamp update test case because it was the only sensible way to test before/after changes of language settings with such config. Change-Id: Ib3a7caefa95b436ad9b699a2614e966a4a8dfca9 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com> |
||
---|---|---|
.. | ||
org.eclipse.cdt.autotools-feature | ||
org.eclipse.cdt.autotools.core | ||
org.eclipse.cdt.autotools.docs | ||
org.eclipse.cdt.autotools.tests | ||
org.eclipse.cdt.autotools.ui | ||
org.eclipse.cdt.autotools.ui.tests | ||
org.eclipse.cdt.build.gcc.core | ||
org.eclipse.cdt.build.gcc.ui | ||
org.eclipse.cdt.cmake-feature | ||
org.eclipse.cdt.cmake.core | ||
org.eclipse.cdt.cmake.ui | ||
org.eclipse.cdt.cmake.ui.tests | ||
org.eclipse.cdt.core.autotools-feature | ||
org.eclipse.cdt.core.autotools.core | ||
org.eclipse.cdt.core.autotools.ui | ||
org.eclipse.cdt.gnu.build-feature | ||
org.eclipse.cdt.make.core | ||
org.eclipse.cdt.make.core.tests | ||
org.eclipse.cdt.make.ui | ||
org.eclipse.cdt.make.ui.tests | ||
org.eclipse.cdt.managedbuilder.core | ||
org.eclipse.cdt.managedbuilder.core.tests | ||
org.eclipse.cdt.managedbuilder.gnu.ui | ||
org.eclipse.cdt.managedbuilder.ui | ||
org.eclipse.cdt.managedbuilder.ui.tests | ||
org.eclipse.cdt.meson-feature | ||
org.eclipse.cdt.meson.core | ||
org.eclipse.cdt.meson.docs | ||
org.eclipse.cdt.meson.ui | ||
org.eclipse.cdt.meson.ui.editor | ||
org.eclipse.cdt.meson.ui.tests | ||
pom.xml |