Failing Cpp tests (duchain, generator, codegen)

Milian Wolff mail at milianw.de
Wed Aug 26 14:22:34 UTC 2009


Especially to David and Ramon:

There are some failing tests in the Cpp plugin:

  --- ALL FAILED TESTS ---
FAIL!  : TestGenerator::testIf() Compared values are not the same
FAIL!  : TestGenerator::testFor() Compared values are not the same
FAIL!  : TestGenerator::testDo() Compared values are not the same
FAIL!  : TestGenerator::testWhile() Compared values are not the same
FAIL!  : TestGenerator::testSwitch() Compared values are not the same
FAIL!  : TestGenerator::testTemplateClass() Compared values are not the same
FAIL!  : TestGenerator::testMethod() Compared values are not the same
FAIL!  : TestGenerator::testEnum() Compared values are not the same
FAIL!  : TestGenerator::testUsingDeclarationInTemplate() Compared values 
are not the same
FAIL!  : TestGenerator::testDeclareUsingNamespace2() Compared values are 
not the same
FAIL!  : TestGenerator::testFunctionDefinition3() Compared values are 
not the same
FAIL!  : TestGenerator::testTemplateEnums() Compared values are not the 
same
FAIL!  : TestGenerator::testTemplateEnums() Compared values are not the 
same
FAIL!  : TestGenerator::testTemplateEnums() Compared values are not the 
same
FAIL!  : TestGenerator::testSmartPointer() Compared values are not the 
same
FAIL!  : TestGenerator::testSimpleExpression() Compared values are not 
the same
FAIL!  : TestGenerator::testThis() Compared values are not the same 

FAIL!  : TestGenerator::testCasts() Compared values are not the same 

FAIL!  : TestGenerator::testOperators() Compared values are not the same 

FAIL!  : TestGenerator::testEmptyFor() Compared values are not the same 

FAIL!  : TestDUChain::testDeclareStruct() Compared values are not the 
same
FAIL!  : TestDUChain::testSpecializedTemplates() 
'decl1->type<PointerType>()' returned FALSE. ()
FAIL!  : TestCppCodegen::testPrivateImplementation() Compared values are 
not the same

testDeclareStruct:
the (named) struct gets no type, i.e. printing the declaration->toString 
and it's abstract type yields:

"struct ", and "" respectively

Due to that the test fails. And the others I didn't check.

-- 
Milian Wolff
http://milianw.de




More information about the KDevelop-devel mailing list