1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
cdt/codan/org.eclipse.cdt.codan.ui.cxx
Felix Morgner 47ceed3cbe Bug 525250: "Create local variable" offered outside of local scopes
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>
2018-03-14 09:30:42 +01:00
..
.settings Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
META-INF Bug 525250: "Create local variable" offered outside of local scopes 2018-03-14 09:30:42 +01:00
OSGI-INF/l10n Bug 315439 Fix up copyright 2010-06-03 17:01:53 +00:00
src/org/eclipse/cdt/codan Bug 525250: "Create local variable" offered outside of local scopes 2018-03-14 09:30:42 +01:00
.classpath Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
.project Warning cleanup. 2012-02-23 15:05:20 -08:00
about.html Add missing about.html files. 2010-06-14 18:35:55 +00:00
build.properties Bug 351157 - Codan Source Plugin has incorrect Bundle-Name / 2011-07-05 21:59:02 -04:00
plugin.xml Bug 437392 - Added the Launch Targets View. 2014-08-19 10:22:01 -04:00