cppcheck/test
Pierre Schweitzer 1cf2e36dd5 Add a new test for OpenFile function from windows.cfg.
It is here as a reminder for a TODO. When used with OF_EXIST flag, the function OpenFile doesn't return a handle and thus, doesn't leak any resource.
As cppcheck doesn't support such feature yet, it's added a TODO not to be forgotten for later fix when cppcheck supports this.

Also added a naive check, just to ensure the OpenFile check doesn't get broken when adding support for OF_EXIST.
2014-06-01 00:00:49 +02:00
..
options.cpp man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
options.h man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
redirect.h Added testing of samples/ to testrunner (#3515). 2014-03-28 13:06:38 +01:00
test.cxx
test.pro Don't include tinyxml from both lib.pri and test.pro 2013-08-19 19:44:29 +04:00
test64bit.cpp Update copyright 2014-02-15 07:45:39 +01:00
testassert.cpp Update copyright 2014-02-15 07:45:39 +01:00
testassignif.cpp #5875 clang ubsan errors: lib/checkassignif.cpp:58:34: runtime error: member call on null pointer of type 'Token' 2014-05-31 15:12:04 +02:00
testautovariables.cpp Fixed #5860: Don't show returnTempReference for calculations on unknown types 2014-05-24 12:50:04 +02:00
testbool.cpp Fixed TODO in checkAssignBoolToFloat 2014-05-24 20:06:45 +02:00
testboost.cpp Update copyright 2014-02-15 07:45:39 +01:00
testbufferoverrun.cpp Added a test for out-of-bounds character array access. 2014-05-27 16:21:13 +02:00
testcharvar.cpp Fixed #5771 (false positive: (warning) When using 'char' variables in bit operations, sign extension can generate unexpected results.) 2014-05-13 15:53:31 +02:00
testclass.cpp Fixed #5831 (FP in 1.65: call of pure virtual function 'throw' in destructor) 2014-05-20 06:10:34 +02:00
testcmdlineparser.cpp Internal checking is now enabled by the macro CHECK_INTERNAL 2014-05-18 19:50:06 +02:00
testconstructors.cpp AST: Fixed bad syntax tree for 'if (x()[0]==1);' 2014-04-05 08:03:24 +02:00
testcppcheck.cpp Further include cleanup 2014-05-24 12:50:04 +02:00
testdivision.cpp Update copyright 2014-02-15 07:45:39 +01:00
testerrorlogger.cpp #5300 - Invalid encoding in XML output (use escape sequence string for non-printable characters) 2014-04-13 09:50:57 +02:00
testexceptionsafety.cpp Fixed #5831 (FP in 1.65: call of pure virtual function 'throw' in destructor) 2014-05-20 06:10:34 +02:00
testfilelister.cpp use nullptr 2014-02-16 10:32:10 +01:00
testfiles.pri run dmake 2014-03-28 13:50:02 +01:00
testincompletestatement.cpp IncompleteStatement: Fixed false positive when '({..})' blocks are used 2014-04-24 06:32:29 +02:00
testinternal.cpp Fixed messages of CheckInternal, fixed a false positive. 2014-05-18 20:39:52 +02:00
testio.cpp Use AST in CheckIO::checkCoutCerrMisusage() - fixes #3254. 2014-05-22 20:25:54 +02:00
testleakautovar.cpp Double free: Improved handling of noreturn functions. Partial revert of previous fix. 2014-05-04 13:11:21 +02:00
testlibrary.cpp Fixed #5512 (library (memory): extending standard free deallocator with allocators in custom cppcheck configuration file) 2014-04-19 13:15:06 +02:00
testmathlib.cpp #5875 Fix 'lib/mathlib.cpp:559:43: runtime error: division by zero'. Several fixes to MathLib::divide(): avoid division by zero, handle various representation of 0 value, use 'nan.' instead of '-nan.0' 2014-05-31 18:25:23 +02:00
testmemleak.cpp Add a new test for OpenFile function from windows.cfg. 2014-06-01 00:00:49 +02:00
testnonreentrantfunctions.cpp Update copyright 2014-02-15 07:45:39 +01:00
testnullpointer.cpp Refactorization in CheckNullPointer: 2014-05-22 19:48:00 +02:00
testobsoletefunctions.cpp Update copyright 2014-02-15 07:45:39 +01:00
testoptions.cpp man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
testother.cpp Fixed #5857 (strPlusChar: Crash on invalid code 'int+;') 2014-05-31 10:34:00 +02:00
testpath.cpp Update copyright 2014-02-15 07:45:39 +01:00
testpathmatch.cpp Update copyright 2014-02-15 07:45:39 +01:00
testpostfixoperator.cpp Update copyright 2014-02-15 07:45:39 +01:00
testpreprocessor.cpp Fixed #5661 (--suppress=missingInclude has no effect) 2014-05-03 19:31:15 +02:00
testrunner.cpp Update copyright 2014-02-15 07:45:39 +01:00
testrunner.vcxproj Added testing of samples/ to testrunner (#3515). 2014-03-28 13:06:38 +01:00
testrunner.vcxproj.filters Added testing of samples/ to testrunner (#3515). 2014-03-28 13:06:38 +01:00
testsamples.cpp "automatic conversion from iso-8859-1 formatting to utf-8" 2014-03-31 00:33:43 +00:00
testsimplifytokens.cpp Library: Better error reporting when loading fails 2014-05-26 17:00:41 +02:00
testsizeof.cpp Fixed false positive "multiplySizeof" in TortoiseSVN 2014-05-19 20:57:13 +02:00
teststl.cpp Fixed #5677 (Fix overzealous substr() warning) 2014-04-13 19:04:35 +02:00
testsuite.cpp Improved readability of testsuite output when ASSERT_EQUALS_MSG fails. 2014-03-27 16:06:30 +01:00
testsuite.h Library: Better error reporting when loading fails 2014-05-26 17:00:41 +02:00
testsuppressions.cpp Update copyright 2014-02-15 07:45:39 +01:00
testsymboldatabase.cpp Fixed CID 1216439: potential copy&paste error in testing symbol database. 2014-05-28 17:05:42 +02:00
testthreadexecutor.cpp Fixed crashes random crashes in multithreading caused by useless creation of CheckUnusedFunctions instance per thread. 2014-04-13 11:56:38 +02:00
testtimer.cpp Update copyright 2014-02-15 07:45:39 +01:00
testtoken.cpp Fixed #5827 (Invalid token match patterns) 2014-05-19 06:31:38 +02:00
testtokenize.cpp Added support for lambdas to AST 2014-05-25 21:55:39 +02:00
testuninitvar.cpp Uninitialized member variable: Fixed false negative when struct is read 2014-05-10 20:20:55 +02:00
testunusedfunctions.cpp Fixed false positive "unused function" #5113. 2014-03-26 12:34:21 +01:00
testunusedprivfunc.cpp Bailout in private function usage checking for operators (#5059). 2014-03-23 10:06:14 +01:00
testunusedvar.cpp Fixed typo in comment, no functional changes. 2014-05-07 23:39:32 +02:00
testutils.h Update copyright 2014-02-15 07:45:39 +01:00
testvalueflow.cpp ValueFlow: Improved bailout when variable is reassigned 2014-05-03 12:49:07 +02:00