Advertisement
Guest User

kdevplatform ctest output

a guest
Dec 5th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.79 KB | None | 0 0
  1. 16/60 Test #16: test_templaterenderer ...................***Failed 1.80 sec
  2. ********* Start testing of TestTemplateRenderer *********
  3. 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)
  4. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Creating controllers
  5. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Creating ui controller
  6. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.sublime: initial working-set: ""
  7. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.sublime: initial working-set: ""
  8. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.sublime: initial working-set: ""
  9. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Creating plugin controller
  10. 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")
  11. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Found 0 KTextEditor plugins: QSet()
  12. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Done creating controllers
  13. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing controllers
  14. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.language: creating new parsing-environment static data
  15. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing plugin controller (loading session plugins)
  16. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentview" - Running in No-Ui mode, but the plugin says it needs a GUI
  17. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevopenwith" - Running in No-Ui mode, but the plugin says it needs a GUI
  18. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "KDevProjectManagerView" - Running in No-Ui mode, but the plugin says it needs a GUI
  19. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevgrepview" - Running in No-Ui mode, but the plugin says it needs a GUI
  20. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevproblemreporter" - Running in No-Ui mode, but the plugin says it needs a GUI
  21. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevexternalscript" - Running in No-Ui mode, but the plugin says it needs a GUI
  22. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Attempting to load "kdevexecutescript" - name: "Execute Scripts"
  23. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.plugins.executescript: adding script launch config
  24. 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
  25. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevtestview" - Running in No-Ui mode, but the plugin says it needs a GUI
  26. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "KDevOutlineView" - Running in No-Ui mode, but the plugin says it needs a GUI
  27. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfiletemplates" - Running in No-Ui mode, but the plugin says it needs a GUI
  28. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Attempting to load "kdevexecute" - name: "Execute Programs"
  29. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.plugins.execute: adding native app launch config
  30. 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
  31. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentswitcher" - Running in No-Ui mode, but the plugin says it needs a GUI
  32. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevkonsoleview" - Running in No-Ui mode, but the plugin says it needs a GUI
  33. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfilemanager" - Running in No-Ui mode, but the plugin says it needs a GUI
  34. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcodeutils" - Running in No-Ui mode, but the plugin says it needs a GUI
  35. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcontextbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
  36. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevvcschangesviewplugin" - Running in No-Ui mode, but the plugin says it needs a GUI
  37. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevclassbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
  38. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevappwizard" - Running in No-Ui mode, but the plugin says it needs a GUI
  39. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevquickopen" - Running in No-Ui mode, but the plugin says it needs a GUI
  40. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Not loading plugin named "kdevswitchtobuddy" - Running in No-Ui mode, but the plugin says it needs a GUI
  41. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Done loading plugins - took: 459 ms
  42. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing working set controller
  43. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Initializing remaining controllers
  44. QDEBUG : TestTemplateRenderer::initTestCase() kdevplatform.shell: Done initializing controllers
  45. PASS : TestTemplateRenderer::initTestCase()
  46. PASS : TestTemplateRenderer::simpleVariables(string)
  47. PASS : TestTemplateRenderer::simpleVariables(int)
  48. PASS : TestTemplateRenderer::simpleVariables(filter)
  49. PASS : TestTemplateRenderer::simpleVariables(int+string)
  50. QWARN : TestTemplateRenderer::includeTemplates() grantlee.template: "Template not found, include_guard_cpp.txt"
  51. FAIL! : TestTemplateRenderer::includeTemplates() Compared values are not the same
  52. Actual (result) : "HELLO "
  53. Expected (expected): "HELLO ENTITY_HUMAN_COMPUTERPERSON_TESTER_H"
  54. Loc: [/home/thomasd/Downloads/kdevplatform-5.0.2/language/codegen/tests/test_templaterenderer.cpp(77)]
  55. PASS : TestTemplateRenderer::kdevFilters()
  56. PASS : TestTemplateRenderer::kdevFiltersWithLookup()
  57. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell:
  58. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell:
  59. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: Aborting all parse jobs
  60. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: Suspending background parser
  61. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecuteScriptPlugin(0x252fc30) "Execute Scripts"
  62. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecutePlugin(0x2533110) "Execute Programs"
  63. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: Deleting session: "{db4b90ad-cd7c-4ec5-b1d4-70a5c4847788}"
  64. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: Cleaning up and shutting down DUChain
  65. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: cleaning top-contexts
  66. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: check ready
  67. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: starting cleanup
  68. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: seconds spent doing cleanup: 0 top-contexts still open: 0
  69. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: milliseconds spent doing cleanup with locked duchain: 109
  70. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: doing final cleanup
  71. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Persistent Declaration Table" : 0
  72. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Use Map" : 0
  73. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Definition Map" : 0
  74. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "String Index" : 0
  75. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Importer Map" : 0
  76. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Type Repository" : 0
  77. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Instantiation Information Repository" : 12
  78. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Qualified Identifier Repository" : 16
  79. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Identifier Repository" : 60
  80. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "file modification repository" : 0
  81. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Lists" : 0
  82. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Information" : 0
  83. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Recursive Imports" : 0
  84. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.serialization: cleaned in "Comment Repository" : 0
  85. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: cleaned 88 B
  86. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: cleaned enough
  87. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.language: final cleanup ready
  88. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell: Shutdown done
  89. QDEBUG : TestTemplateRenderer::cleanupTestCase() kdevplatform.shell:
  90. PASS : TestTemplateRenderer::cleanupTestCase()
  91. Totals: 8 passed, 1 failed, 0 skipped, 0 blacklisted, 1446ms
  92. ********* Finished testing of TestTemplateRenderer *********
  93. kdevplatform.language: Destroying
  94.  
  95. Start 17: test_templateclassgenerator
  96. 17/60 Test #17: test_templateclassgenerator .............***Failed 1.56 sec
  97. ********* Start testing of TestTemplateClassGenerator *********
  98. 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)
  99. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Creating controllers
  100. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Creating ui controller
  101. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.sublime: initial working-set: ""
  102. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.sublime: initial working-set: ""
  103. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.sublime: initial working-set: ""
  104. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Creating plugin controller
  105. 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")
  106. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Found 0 KTextEditor plugins: QSet()
  107. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Done creating controllers
  108. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing controllers
  109. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.language: creating new parsing-environment static data
  110. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing plugin controller (loading session plugins)
  111. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentview" - Running in No-Ui mode, but the plugin says it needs a GUI
  112. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevopenwith" - Running in No-Ui mode, but the plugin says it needs a GUI
  113. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "KDevProjectManagerView" - Running in No-Ui mode, but the plugin says it needs a GUI
  114. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevgrepview" - Running in No-Ui mode, but the plugin says it needs a GUI
  115. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevproblemreporter" - Running in No-Ui mode, but the plugin says it needs a GUI
  116. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevexternalscript" - Running in No-Ui mode, but the plugin says it needs a GUI
  117. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Attempting to load "kdevexecutescript" - name: "Execute Scripts"
  118. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.plugins.executescript: adding script launch config
  119. 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
  120. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevtestview" - Running in No-Ui mode, but the plugin says it needs a GUI
  121. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "KDevOutlineView" - Running in No-Ui mode, but the plugin says it needs a GUI
  122. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfiletemplates" - Running in No-Ui mode, but the plugin says it needs a GUI
  123. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Attempting to load "kdevexecute" - name: "Execute Programs"
  124. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.plugins.execute: adding native app launch config
  125. 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
  126. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevdocumentswitcher" - Running in No-Ui mode, but the plugin says it needs a GUI
  127. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevkonsoleview" - Running in No-Ui mode, but the plugin says it needs a GUI
  128. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevfilemanager" - Running in No-Ui mode, but the plugin says it needs a GUI
  129. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcodeutils" - Running in No-Ui mode, but the plugin says it needs a GUI
  130. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevcontextbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
  131. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevvcschangesviewplugin" - Running in No-Ui mode, but the plugin says it needs a GUI
  132. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevclassbrowser" - Running in No-Ui mode, but the plugin says it needs a GUI
  133. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevappwizard" - Running in No-Ui mode, but the plugin says it needs a GUI
  134. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevquickopen" - Running in No-Ui mode, but the plugin says it needs a GUI
  135. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Not loading plugin named "kdevswitchtobuddy" - Running in No-Ui mode, but the plugin says it needs a GUI
  136. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Done loading plugins - took: 242 ms
  137. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing working set controller
  138. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Initializing remaining controllers
  139. QDEBUG : TestTemplateClassGenerator::initTestCase() kdevplatform.shell: Done initializing controllers
  140. PASS : TestTemplateClassGenerator::initTestCase()
  141. 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"
  142. QDEBUG : TestTemplateClassGenerator::fileLabelsCpp() kdevplatform.language: New Class: "ClassName" Set license: ""
  143. QDEBUG : TestTemplateClassGenerator::fileLabelsCpp() kdevplatform.language: Files in template ("Header", "Implementation")
  144. PASS : TestTemplateClassGenerator::fileLabelsCpp()
  145. 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"
  146. QDEBUG : TestTemplateClassGenerator::fileLabelsYaml() kdevplatform.language: New Class: "ClassName" Set license: ""
  147. QDEBUG : TestTemplateClassGenerator::fileLabelsYaml() kdevplatform.language: Files in template ("Description")
  148. PASS : TestTemplateClassGenerator::fileLabelsYaml()
  149. 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"
  150. QDEBUG : TestTemplateClassGenerator::defaultFileUrlsCpp() kdevplatform.language: New Class: "ClassName" Set license: ""
  151. QDEBUG : TestTemplateClassGenerator::defaultFileUrlsCpp() kdevplatform.language: Files in template ("Header", "Implementation")
  152. PASS : TestTemplateClassGenerator::defaultFileUrlsCpp()
  153. 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"
  154. QDEBUG : TestTemplateClassGenerator::defaultFileUrlsYaml() kdevplatform.language: New Class: "ClassName" Set license: ""
  155. QDEBUG : TestTemplateClassGenerator::defaultFileUrlsYaml() kdevplatform.language: Files in template ("Description")
  156. PASS : TestTemplateClassGenerator::defaultFileUrlsYaml()
  157. 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"
  158. QDEBUG : TestTemplateClassGenerator::customOptions() kdevplatform.language: New Class: "ClassName" Set license: ""
  159. QDEBUG : TestTemplateClassGenerator::customOptions() kdevplatform.language: "options.kcfg" false
  160. PASS : TestTemplateClassGenerator::customOptions()
  161. 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"
  162. QDEBUG : TestTemplateClassGenerator::templateVariablesCpp() kdevplatform.language: New Class: "ClassName" Set license: ""
  163. QDEBUG : TestTemplateClassGenerator::templateVariablesCpp() kdevplatform.language: Files in template ("Header", "Implementation")
  164. PASS : TestTemplateClassGenerator::templateVariablesCpp()
  165. 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"
  166. QDEBUG : TestTemplateClassGenerator::templateVariablesYaml() kdevplatform.language: New Class: "ClassName" Set license: ""
  167. QDEBUG : TestTemplateClassGenerator::templateVariablesYaml() kdevplatform.language: Files in template ("Description")
  168. PASS : TestTemplateClassGenerator::templateVariablesYaml()
  169. 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"
  170. QDEBUG : TestTemplateClassGenerator::codeDescription() kdevplatform.language: New Class: "ClassName" Set license: ""
  171. 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, ())))
  172. PASS : TestTemplateClassGenerator::codeDescription()
  173. 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"
  174. QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: New Class: "ClassName" Set license: ""
  175. QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Files in template ("Header", "Implementation")
  176. QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Files in template ("Header", "Implementation")
  177. QWARN : TestTemplateClassGenerator::generate() grantlee.template: "Template not found, arguments_types_names.txt"
  178. QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/ClassName.h"
  179. QWARN : TestTemplateClassGenerator::generate() grantlee.template: "Template not found, arguments_types_names.txt"
  180. QDEBUG : TestTemplateClassGenerator::generate() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/ClassName.cpp"
  181. PASS : TestTemplateClassGenerator::generate()
  182. 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"
  183. QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: New Class: "ClassName" Set license: ""
  184. QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Files in template ("Header", "Implementation")
  185. QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Files in template ("Header", "Implementation")
  186. QWARN : TestTemplateClassGenerator::cppOutput() grantlee.template: "Template not found, arguments_types_names.txt"
  187. QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/classname.h"
  188. QWARN : TestTemplateClassGenerator::cppOutput() grantlee.template: "Template not found, arguments_types_names.txt"
  189. QDEBUG : TestTemplateClassGenerator::cppOutput() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/classname.cpp"
  190. FAIL! : TestTemplateClassGenerator::cppOutput() Compared values are not the same
  191. 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"
  192. 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"...
  193. Loc: [/home/thomasd/Downloads/kdevplatform-5.0.2/language/codegen/tests/test_templateclassgenerator.cpp(217)]
  194. 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"
  195. QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: New Class: "ClassName" Set license: ""
  196. QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: Files in template ("Description")
  197. QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: Files in template ("Description")
  198. QDEBUG : TestTemplateClassGenerator::yamlOutput() kdevplatform.language: Added change for file "/tmp/test_templateclassgenerator-HQlCiH/classname.yaml"
  199. PASS : TestTemplateClassGenerator::yamlOutput()
  200. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell:
  201. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell:
  202. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: Aborting all parse jobs
  203. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: Suspending background parser
  204. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecutePlugin(0xc15130) "Execute Programs"
  205. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: unloading plugin: ExecuteScriptPlugin(0xc15dd0) "Execute Scripts"
  206. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: Deleting session: "{ee86d57d-de60-45c8-a26b-832df61b8a53}"
  207. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: Cleaning up and shutting down DUChain
  208. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: cleaning top-contexts
  209. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: check ready
  210. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: starting cleanup
  211. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: seconds spent doing cleanup: 0 top-contexts still open: 0
  212. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: milliseconds spent doing cleanup with locked duchain: 139
  213. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: doing final cleanup
  214. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Persistent Declaration Table" : 0
  215. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Use Map" : 0
  216. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Definition Map" : 0
  217. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "String Index" : 689
  218. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Importer Map" : 0
  219. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Type Repository" : 0
  220. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Instantiation Information Repository" : 12
  221. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Qualified Identifier Repository" : 36
  222. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Identifier Repository" : 80
  223. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "file modification repository" : 0
  224. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Lists" : 0
  225. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Environment Information" : 0
  226. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Recursive Imports" : 0
  227. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.serialization: cleaned in "Comment Repository" : 0
  228. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: cleaned 817 B
  229. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: cleaned enough
  230. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.language: final cleanup ready
  231. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell: Shutdown done
  232. QDEBUG : TestTemplateClassGenerator::cleanupTestCase() kdevplatform.shell:
  233. PASS : TestTemplateClassGenerator::cleanupTestCase()
  234. Totals: 12 passed, 1 failed, 0 skipped, 0 blacklisted, 1262ms
  235. ********* Finished testing of TestTemplateClassGenerator *********
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement