More on C++ tests

Milian Wolff mail at milianw.de
Sat Jun 19 00:38:05 UTC 2010


On Saturday 19 June 2010 00:00:24 Nicolás Alvarez wrote:
> 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?

no rationale, except that code completion requires some preprocessor while the 
other duchain tests don't need it.

you can clean it up if you want to.

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100619/f039c052/attachment.sig>


More information about the KDevelop-devel mailing list