Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 16/60 Test #16: test_templaterenderer ...................***Failed 1.80 sec
- ********* Start testing of TestTemplateRenderer *********
- Config: Using QtTest library 5.7.0, Qt 5.7.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.9.4)
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Creating controllers
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Creating ui controller
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.sublime: initial working-set: ""
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.sublime: initial working-set: ""
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.sublime: initial working-set: ""
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Creating plugin controller
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Found 28 plugins: QSet("kdevbazaar", "kdevgit", "kdevexternalscript", "KDevGenericManager", "kdevfilemanager", "kdevexecutescript", "KDevProjectManagerView", "kdevtestview", "kdevopenwith", "kdevgrepview", "kdevvcschangesviewplugin", "kdevdocumentswitcher", "KDevProjectFilter", "kdevpatchreview", "KDevWelcomePage", "kdevkonsoleview", "kdevexecute", "kdevappwizard", "kdevquickopen", "kdevfiletemplates", "KDevOutlineView", "kdevdocumentview", "kdevswitchtobuddy", "kdevclassbrowser", "KDevStandardOutputView", "kdevcodeutils", "kdevcontextbrowser", "kdevproblemreporter")
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Found 0 KTextEditor plugins: QSet()
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Done creating controllers
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing controllers
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.language: creating new parsing-environment static data
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing plugin controller (loading session plugins)
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevopenwith" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "KDevProjectManagerView" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevgrepview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevproblemreporter" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevexternalscript" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Attempting to load "kdevexecutescript" - name: "Execute Scripts"
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.plugins.executescript: adding script launch config
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Successfully loaded plugin "kdevexecutescript" from "/gnu/store/06h8x9669f9vk5rbbfgrn2wf9qdmisbb-kdevplatform-5.0.2/lib64/plugins/kdevplatform/25/kdevexecutescript.so" - took: 91 ms
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevtestview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "KDevOutlineView" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfiletemplates" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Attempting to load "kdevexecute" - name: "Execute Programs"
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.plugins.execute: adding native app launch config
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Successfully loaded plugin "kdevexecute" from "/gnu/store/06h8x9669f9vk5rbbfgrn2wf9qdmisbb-kdevplatform-5.0.2/lib64/plugins/kdevplatform/25/kdevexecute.so" - took: 134 ms
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentswitcher" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevkonsoleview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfilemanager" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcodeutils" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcontextbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevvcschangesviewplugin" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevclassbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevappwizard" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevquickopen" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevswitchtobuddy" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Done loading plugins - took: 459 ms
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing working set controller
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing remaining controllers
- QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Done initializing controllers
- PASS : TestTemplateRenderer::initTestCase()
- PASS : TestTemplateRenderer::simpleVariables(string)
- PASS : TestTemplateRenderer::simpleVariables(int)
- PASS : TestTemplateRenderer::simpleVariables(filter)
- PASS : TestTemplateRenderer::simpleVariables(int+string)
- QWARN : TestTemplateRenderer::includeTemplates() grantlee.template: "Template not found, include_guard_cpp.txt"
- FAIL! : TestTemplateRenderer::includeTemplates() Compared values are not the same
- Actual (result) : "HELLO "
- Expected (expected): "HELLO ENTITY_HUMAN_COMPUTERPERSON_TESTER_H"
- Loc: [/home/thomasd/Downloads/kdevplatform-5.0.2/language/codegen/tests/test_templaterenderer.cpp(77)]
- PASS : TestTemplateRenderer::kdevFilters()
- PASS : TestTemplateRenderer::kdevFiltersWithLookup()
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell:
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell:
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: Aborting all parse jobs
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: Suspending background parser
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecuteScriptPlugin(0x252fc30) "Execute Scripts"
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecutePlugin(0x2533110) "Execute Programs"
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: Deleting session: "{db4b90ad-cd7c-4ec5-b1d4-70a5c4847788}"
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: Cleaning up and shutting down DUChain
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: cleaning top-contexts
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: check ready
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: starting cleanup
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: seconds spent doing cleanup: 0 top-contexts still open: 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: milliseconds spent doing cleanup with locked duchain: 109
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: doing final cleanup
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Persistent Declaration Table" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Use Map" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Definition Map" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "String Index" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Importer Map" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Type Repository" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Instantiation Information Repository" : 12
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Qualified Identifier Repository" : 16
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Identifier Repository" : 60
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "file modification repository" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Lists" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Information" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Recursive Imports" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Comment Repository" : 0
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: cleaned 88 B
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: cleaned enough
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: final cleanup ready
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: Shutdown done
- QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell:
- PASS : TestTemplateRenderer::cleanupTestCase()
- Totals: 8 passed, 1 failed, 0 skipped, 0 blacklisted, 1446ms
- ********* Finished testing of TestTemplateRenderer *********
- kdevplatform.language: Destroying
- Start 17: test_templateclassgenerator
- 17/60 Test #17: test_templateclassgenerator .............***Failed 1.56 sec
- ********* Start testing of TestTemplateClassGenerator *********
- Config: Using QtTest library 5.7.0, Qt 5.7.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.9.4)
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Creating controllers
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Creating ui controller
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.sublime: initial working-set: ""
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.sublime: initial working-set: ""
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.sublime: initial working-set: ""
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Creating plugin controller
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Found 28 plugins: QSet("kdevkonsoleview", "kdevexecutescript", "kdevappwizard", "kdevquickopen", "KDevWelcomePage", "kdevdocumentswitcher", "KDevProjectFilter", "KDevOutlineView", "KDevStandardOutputView", "kdevproblemreporter", "kdevcontextbrowser", "kdevcodeutils", "kdevbazaar", "kdevvcschangesviewplugin", "kdevexternalscript", "KDevGenericManager", "kdevexecute", "kdevtestview", "kdevopenwith", "kdevfilemanager", "kdevgrepview", "kdevgit", "KDevProjectManagerView", "kdevfiletemplates", "kdevswitchtobuddy", "kdevdocumentview", "kdevpatchreview", "kdevclassbrowser")
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Found 0 KTextEditor plugins: QSet()
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Done creating controllers
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing controllers
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.language: creating new parsing-environment static data
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing plugin controller (loading session plugins)
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevopenwith" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "KDevProjectManagerView" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevgrepview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevproblemreporter" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevexternalscript" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Attempting to load "kdevexecutescript" - name: "Execute Scripts"
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.plugins.executescript: adding script launch config
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Successfully loaded plugin "kdevexecutescript" from "/gnu/store/06h8x9669f9vk5rbbfgrn2wf9qdmisbb-kdevplatform-5.0.2/lib64/plugins/kdevplatform/25/kdevexecutescript.so" - took: 73 ms
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevtestview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "KDevOutlineView" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfiletemplates" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Attempting to load "kdevexecute" - name: "Execute Programs"
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.plugins.execute: adding native app launch config
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Successfully loaded plugin "kdevexecute" from "/gnu/store/06h8x9669f9vk5rbbfgrn2wf9qdmisbb-kdevplatform-5.0.2/lib64/plugins/kdevplatform/25/kdevexecute.so" - took: 84 ms
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentswitcher" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevkonsoleview" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfilemanager" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcodeutils" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcontextbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevvcschangesviewplugin" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevclassbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevappwizard" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevquickopen" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevswitchtobuddy" - Running in No-Ui mode, but the plugin says it needs a GUI
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Done loading plugins - took: 242 ms
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing working set controller
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing remaining controllers
- QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Done initializing controllers
- PASS : TestTemplateClassGenerator::initTestCase()
- QDEBUG : TestTemplateClassGenerator::fileLabelsCpp() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_cpp.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::fileLabelsCpp() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::fileLabelsCpp() kdevplatform.language: Files in template ("Header", "Implementation")
- PASS : TestTemplateClassGenerator::fileLabelsCpp()
- QDEBUG : TestTemplateClassGenerator::fileLabelsYaml() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_yaml.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::fileLabelsYaml() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::fileLabelsYaml() kdevplatform.language: Files in template ("Description")
- PASS : TestTemplateClassGenerator::fileLabelsYaml()
- QDEBUG : TestTemplateClassGenerator::defaultFileUrlsCpp() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_cpp.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::defaultFileUrlsCpp() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::defaultFileUrlsCpp() kdevplatform.language: Files in template ("Header", "Implementation")
- PASS : TestTemplateClassGenerator::defaultFileUrlsCpp()
- QDEBUG : TestTemplateClassGenerator::defaultFileUrlsYaml() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_yaml.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::defaultFileUrlsYaml() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::defaultFileUrlsYaml() kdevplatform.language: Files in template ("Description")
- PASS : TestTemplateClassGenerator::defaultFileUrlsYaml()
- QDEBUG : TestTemplateClassGenerator::customOptions() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_yaml.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::customOptions() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::customOptions() kdevplatform.language: "options.kcfg" false
- PASS : TestTemplateClassGenerator::customOptions()
- QDEBUG : TestTemplateClassGenerator::templateVariablesCpp() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_cpp.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::templateVariablesCpp() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::templateVariablesCpp() kdevplatform.language: Files in template ("Header", "Implementation")
- PASS : TestTemplateClassGenerator::templateVariablesCpp()
- QDEBUG : TestTemplateClassGenerator::templateVariablesYaml() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_yaml.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::templateVariablesYaml() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::templateVariablesYaml() kdevplatform.language: Files in template ("Description")
- PASS : TestTemplateClassGenerator::templateVariablesYaml()
- QDEBUG : TestTemplateClassGenerator::codeDescription() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_yaml.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::codeDescription() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::codeDescription() QHash(("description", QVariant(KDevelop::ClassDescription, ))("members", QVariant(QVariantList, (QVariant(KDevelop::VariableDescription, ), QVariant(KDevelop::VariableDescription, ), QVariant(KDevelop::VariableDescription, ))))("base_classes", QVariant(QVariantList, (QVariant(KDevelop::InheritanceDescription, ))))("license", QVariant(QString, "This is just a test.\nYou may do with it as you please."))("name", QVariant(QString, "ClassName"))("functions", QVariant(QVariantList, (QVariant(KDevelop::FunctionDescription, ), QVariant(KDevelop::FunctionDescription, ))))("identifier", QVariant(QString, "ClassName"))("namespaces", QVariant(QStringList, ())))
- PASS : TestTemplateClassGenerator::codeDescription()
- QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_cpp.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Files in template ("Header", "Implementation")
- QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Files in template ("Header", "Implementation")
- QWARN : TestTemplateClassGenerator::generate() grantlee.template: "Template not found, arguments_types_names.txt"
- QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/ClassName.h"
- QWARN : TestTemplateClassGenerator::generate() grantlee.template: "Template not found, arguments_types_names.txt"
- QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/ClassName.cpp"
- PASS : TestTemplateClassGenerator::generate()
- QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_cpp.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Files in template ("Header", "Implementation")
- QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Files in template ("Header", "Implementation")
- QWARN : TestTemplateClassGenerator::cppOutput() grantlee.template: "Template not found, arguments_types_names.txt"
- QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/classname.h"
- QWARN : TestTemplateClassGenerator::cppOutput() grantlee.template: "Template not found, arguments_types_names.txt"
- QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/classname.cpp"
- FAIL! : TestTemplateClassGenerator::cppOutput() Compared values are not the same
- Actual (QString(header.readAll())) : "/*\n * This is just a test.\n * You may do with it as you please.\n */\n\n#ifndef CLASSNAME_H\n#define CLASSNAME_H\n\nclass ClassName : public QObject\n{\npublic:\n void doSomething(\n"
- Expected (QString(testHeader.readAll())): "/*\n * This is just a test.\n * You may do with it as you please.\n */\n\n#ifndef CLASSNAME_H\n#define CLASSNAME_H\n\nclass ClassName : public QObject\n{\npublic:\n void doSomething(double howMuch, bool doSomethingElse);\n int getSomeOther"...
- Loc: [/home/thomasd/Downloads/kdevplatform-5.0.2/language/codegen/tests/test_templateclassgenerator.cpp(217)]
- QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: Found template archive "/home/thomasd/Downloads/kdevplatform-5.0.2/build/language/codegen/tests/data/kdevcodegentest/templates/test_yaml.tar.bz2"
- QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: New Class: "ClassName" Set license: ""
- QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: Files in template ("Description")
- QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: Files in template ("Description")
- QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/classname.yaml"
- PASS : TestTemplateClassGenerator::yamlOutput()
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell:
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell:
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: Aborting all parse jobs
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: Suspending background parser
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecutePlugin(0xc15130) "Execute Programs"
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecuteScriptPlugin(0xc15dd0) "Execute Scripts"
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: Deleting session: "{ee86d57d-de60-45c8-a26b-832df61b8a53}"
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: Cleaning up and shutting down DUChain
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: cleaning top-contexts
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: check ready
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: starting cleanup
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: seconds spent doing cleanup: 0 top-contexts still open: 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: milliseconds spent doing cleanup with locked duchain: 139
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: doing final cleanup
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Persistent Declaration Table" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Use Map" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Definition Map" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "String Index" : 689
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Importer Map" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Type Repository" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Instantiation Information Repository" : 12
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Qualified Identifier Repository" : 36
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Identifier Repository" : 80
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "file modification repository" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Lists" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Information" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Recursive Imports" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Comment Repository" : 0
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: cleaned 817 B
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: cleaned enough
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: final cleanup ready
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: Shutdown done
- QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell:
- PASS : TestTemplateClassGenerator::cleanupTestCase()
- Totals: 12 passed, 1 failed, 0 skipped, 0 blacklisted, 1262ms
- ********* Finished testing of TestTemplateClassGenerator *********
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement