-> Massive speedup for test suite (especially on slow systems)
… libraries (std.cfg and windows.cfg). Added support for loading a library in test suite.
…ed, remove it.
…mit). Ticket: #4952
… the end of files
- Removed another custom stringify implementation (testtoken.cpp) - Removed unnecessary forward declaration (testsuite.h) - Use std::ostringstream instead of std::stringstream (redirect.h)
- Refactorizations - Fixed some cppcheck warnings
…unsigned int' (maybe in the future these should be converted to 'size_t'?); fix discrepancy between 'todoAssertEquals' and 'AssertEquals' so that the parameters 'expected, wanted, actual and current' are 'long long' types.
- Separation between failures - \n is translated into "\\n\n" instead of "\\n", so that a newline is inserted - Succeeded TODOs are no longer mentioned twice - Removed "" around messages
This patch makes the (reasonable) assumption that the total size of all checked files fits in a 'long' type.
…be, as_is)?... Removed replaced EXPECTED with... WANTED (to-be): The future expected value. CURRENT (as-is): Documenting how cppcheck behaves now. This removes the need for an ASSERT_EQUALS but enforces the check for every TODO_ASSERT_EQUALS.
…that can be used when comparing double values.
…ssert macro vs assert method) Renamed assert to assert_. Tested with gcc v4.0.1 on Snow Leopard.
Runs the test as per `make test`, but with less verbosity. -g GCC-style errors -q quiet tests
…ubleNumber(), now double conversion of zeros is handled correctly; changed assertEquals() function of testsuite parameters from unsigned int to double. This is needed to avoid overflow of unsigned int by comparing negative floating point values.
… of tests fails) http://sourceforge.net/apps/trac/cppcheck/ticket/481