More on C++ tests

Nicolás Alvarez nicolas.alvarez at gmail.com
Fri Jun 18 22:00:24 UTC 2010


cppcodecompletiontest (test_cppcodecompletion.cpp) seems to have have
lots of tests that aren't really about code completion.

Many seem to be general duchain tests. For example, testImportTypedef
doesn't use the completion context or CompletionItemTester. It would
fit perfectly in duchaintest.

There are even one or two test functions that test exclusively the
preprocessor (eg. testHeaderSections), I think should be in a new
separate test class that links only to rpp.

Or is there a rationale for these tests being in cppcodecompletion?

-- 
Nicolas




More information about the KDevelop-devel mailing list