Unit test for "implement function" completion

David Nolden david.nolden.kdevelop at art-master.de
Tue Mar 22 14:36:43 UTC 2011


2011/3/22 Dmitry Risenberg <dmitry.risenberg at gmail.com>:
> 2011/3/22 David Nolden <zwabel at googlemail.com>:
>> I think these helpers are not generated in test-mode, because they have
>> compile-dependencies which are not part of the test_cppcodecompletion, and
>> would require some refactoring to be integrated.
>
> Removing "#ifndef TEST_COMPLETION" line from
> CodeCompletionContext::getImplementationHelpers solved the problem and
> didn't break any other tests. So why is this line there?

Then probably someone already imported the .cpp files into the
test_cppcodecompletion target. You can remove the #define then, but
there might be some tests that assume the implementation-helpers not
to be there.




More information about the KDevelop-devel mailing list