cppcheck/test
Pete Johns 2e61736c73 Refactoring following #2377 (Technically the member function xxx can be const)
symboldatabase now recognises variables with arbitrarily many scopes.

Extracted method isVariableDeclaration()

Added unit tests for isVariableDeclaration in new file testsymboldatabase.cpp

Extracted givenACodeSampleToTokenize helper class into testutils.h to reduce duplication.
2010-12-30 19:46:44 +11:00
..
options.cpp Visual Studio: Fixed compiler error. It seems visual studio 2008 doesn't like 'not'. 2010-10-02 09:42:31 +02:00
options.h Added Doxygen commenting, per kimmov's request. 2010-09-26 19:15:14 +10:00
redirect.h Added Doxygen commenting, per kimmov's request. 2010-09-26 19:15:14 +10:00
test.cxx renamed gui/test.cpp to test/test.cxx 2010-02-19 07:21:16 +01:00
test.pro Update test.pro for using base path for included pri files. 2010-12-18 17:07:20 +02:00
test.vcproj Visual Studio: updated project files with qmake 2010-12-19 07:51:34 +01:00
test.vcxproj Visual Studio: updated project files with qmake 2010-12-19 07:51:34 +01:00
test.vcxproj.filters Visual Studio: updated project files with qmake 2010-12-19 07:51:34 +01:00
testautovariables.cpp Improving 'Wrong assignment of auto variable' error message. 2010-12-04 09:55:20 +02:00
testbufferoverrun.cpp Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
testcharvar.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testclass.cpp Fixed #2377 (Technically the member function xxx can be const) 2010-12-30 17:56:28 +11:00
testcmdlineparser.cpp Add tests for remaining CLI options. 2010-12-04 14:13:44 +02:00
testconstructors.cpp Fixed #2172 (False positive: struct is not initialized in constructor) 2010-12-02 07:35:01 +01:00
testcppcheck.cpp Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
testdivision.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testerrorlogger.cpp Add few tests for ErrorLogger. 2010-12-05 22:23:36 +02:00
testexceptionsafety.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testfilelister_unix.cpp astyle formatting 2010-12-26 13:18:23 +01:00
testincompletestatement.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testmathlib.cpp Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
testmemleak.cpp Fixed #2374 (False 'memory leak' report (assigning to map in subfunction)) 2010-12-29 22:18:23 +01:00
testnullpointer.cpp Fixed #2090 (False negative: null pointer dereference 's=0; strcpy(s,p);') 2010-12-26 19:29:58 +01:00
testobsoletefunctions.cpp Fixed #2334 (Internal class index function (no need to 'strchr')) 2010-12-20 18:13:26 +01:00
testoptions.cpp Removed static std::string. 2010-09-26 16:52:30 +10:00
testother.cpp Change 'Scope of variable'-message to information message. 2010-12-27 16:48:03 +02:00
testpath.cpp Update tests after moving simplifyPath method to Path class. 2010-10-29 22:45:47 +03:00
testpostfixoperator.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testpreprocessor.cpp test:testpreprocessor.cpp; fixed broken unit test due to wrong charcter encoding 2010-12-15 21:34:31 +01:00
testrunner.cpp Added `check` target. 2010-09-26 13:29:23 +10:00
testsettings.cpp Fixed #1919 (option '--suppressions file' can not work when filename includes colon) 2010-08-03 17:52:03 +02:00
testsimplifytokens.cpp simplifyTypedef: Better handling of 'typedef int RexxFunctionHandler();'. Ticket: #2348 2010-12-29 20:25:47 +01:00
teststl.cpp Improve message for container type range check. 2010-12-26 23:44:02 +02:00
testsuite.cpp Fixed #2360 (testrunner fails to build in Mac OS X Leopard (10.5) - assert macro vs assert method) 2010-12-28 09:32:36 +11:00
testsuite.h Fixed #2360 (testrunner fails to build in Mac OS X Leopard (10.5) - assert macro vs assert method) 2010-12-28 09:32:36 +11:00
testsymboldatabase.cpp Refactoring following #2377 (Technically the member function xxx can be const) 2010-12-30 19:46:44 +11:00
testthreadexecutor.cpp Fixed #1487 (fix gcc compiler warnings) 2010-08-06 21:02:43 +02:00
testtoken.cpp Refactoring following #2377 (Technically the member function xxx can be const) 2010-12-30 19:46:44 +11:00
testtokenize.cpp Fixed #2368 (assigned a value that is never used) 2010-12-27 20:49:07 +01:00
testuninitvar.cpp Fixed #2367 (false positive: (error) Uninitialized variable: s) 2010-12-27 21:19:10 +01:00
testunusedfunctions.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testunusedprivfunc.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testunusedvar.cpp Fixed #2368 (assigned a value that is never used) 2010-12-27 20:49:07 +01:00
testutils.h Refactoring following #2377 (Technically the member function xxx can be const) 2010-12-30 19:46:44 +11:00