mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
![]() When invoked from within 'isApplicable(IMarker)', 'isCodanProblem()' did not work as expected, since it used a cached value that was only updated in 'run(IMarker)'. The old API 'isCodanProblem()' has been marked as deprecated and is replaced by 'isCodanProblem(IMarker)', which works directly on the marker, instead of using a cached result. Additionally, two new APIs in 'QuickFixTestCase', called 'calculateQuickFixApplicability()' and 'assertIsApplicableForAllMarkers(boolean)', are introduced. The former can be used to record the applicability of the QuickFix under test for every marker in the test code, while the latter provides a way to assert on the applicability. For finer grained assertions, 'calculateQuickFixApplicability()' returns the calculated map. Change-Id: I7c53fd26afefa37ff086559acea75a7a33ecd5d7 Signed-off-by: Felix Morgner <fmorgner@hsr.ch> |
||
---|---|---|
.. | ||
.settings | ||
META-INF | ||
OSGI-INF/l10n | ||
src/org/eclipse/cdt/codan | ||
.classpath | ||
.project | ||
about.html | ||
build.properties | ||
plugin.xml |