1. 24 Mar, 2015 1 commit
  2. 04 Feb, 2015 1 commit
    • Nikolai Kosjar's avatar
      Plugin Tests: Support additional test objects/classes · 4f7eb4e6
      Nikolai Kosjar authored
      So far tests running within Qt Creator could be implemented with a
      private slot in the plugin class starting with "test".
      
      Binding the test functions to the plugin object/class is fine for test
      functions without side effects. But as soon as side effects come into
      play we need proper initialization and cleanup as it's provided by
      init(), cleanup(), initTestCase() and cleanupTestCase(). However,
      implementing these functions in the plugin class is not appropriate
      since they would affect (potentially quite diverse) test functions.
      
      This patch enables us to provide 'ordinary' test classes in which we can
      handle initialization and clean up the usual way.
      
      In addition to the current test invocations, e.g.:
      
          # (1) Run all test functions of the plugin
          ./qtcreator -test CppTools
      
          # (2) Run selected test functions of the plugin by stating them
          ./qtcreator -test CppTools,test_completion,test_builtinsymbolsearcher
      
          # (3) Run selected test functions of the plugin by a wild card
          # expression
          ./qtcreator -test "CppTools,*pointerdeclaration*"
      
          # (4) Run a test function of the plugin with certain test data
          ./qtcreator -test CppTools,test_completion:template_1
      
      it's now also possible to state the test class in order to execute all
      test functions of that class:
      
          # Run all test functions of a certain class:
          ./qtcreator -test CppTools,SomeClassWithTests
      
      As long as the test class does not start with "test", there should not
      be any problems.
      
      Further, an invocation like (1) now additionally execute all test
      functions of all test classes. For invocations of type (2), (3) and (4)
      all test functions of all test classes are considered, too.
      
      Change-Id: Ief08a6e9e451c599fd0109b8b8e57f92e3ee19f2
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
      4f7eb4e6
  3. 16 Jan, 2015 2 commits
  4. 15 Jan, 2015 1 commit
  5. 06 Jan, 2015 2 commits
  6. 09 Oct, 2014 1 commit
  7. 02 Sep, 2014 1 commit
  8. 08 Jan, 2014 1 commit
  9. 14 Nov, 2013 1 commit
  10. 30 Aug, 2013 1 commit
  11. 06 Feb, 2013 1 commit
  12. 29 Jan, 2013 1 commit
  13. 24 Jan, 2013 1 commit
  14. 05 Oct, 2012 1 commit
  15. 19 Jul, 2012 1 commit
  16. 15 Feb, 2012 1 commit
  17. 03 Feb, 2012 1 commit
  18. 26 Jan, 2012 1 commit
  19. 03 Nov, 2011 1 commit
  20. 27 Oct, 2011 1 commit
  21. 06 May, 2011 1 commit
  22. 13 Apr, 2011 1 commit
  23. 20 Jan, 2011 1 commit
  24. 12 Jan, 2011 2 commits
  25. 17 Dec, 2010 1 commit
  26. 25 Oct, 2010 1 commit
  27. 13 Jul, 2010 1 commit
  28. 12 May, 2010 3 commits
  29. 30 Mar, 2010 2 commits
  30. 12 Mar, 2010 1 commit
  31. 05 Mar, 2010 1 commit
  32. 02 Mar, 2010 1 commit
  33. 14 Aug, 2009 1 commit
  34. 16 Jun, 2009 1 commit
    • con's avatar
      Cherry-pick: Update license headers and sales contact details. · 2919c210
      con authored
      Reviewed-by: Trust Me
      
      Conflicts:
      
      	src/libs/cplusplus/CppBindings.cpp
      	src/libs/cplusplus/CppBindings.h
      	src/libs/cplusplus/FastPreprocessor.cpp
      	src/libs/cplusplus/FastPreprocessor.h
      	src/plugins/cpptools/cppcurrentdocumentfilter.cpp
      	src/plugins/cpptools/cppcurrentdocumentfilter.h
      	src/plugins/cpptools/cppsemanticsearch.cpp
      	src/plugins/cpptools/cppsemanticsearch.h
      	src/plugins/duieditor/parser/qmljs.g
      	src/plugins/duieditor/parser/qmljsast.cpp
      	src/plugins/duieditor/parser/qmljsast_p.h
      	src/plugins/duieditor/parser/qmljsastfwd_p.h
      	src/plugins/duieditor/parser/qmljsastvisitor.cpp
      	src/plugins/duieditor/parser/qmljsastvisitor_p.h
      	src/plugins/duieditor/parser/qmljsengine_p.cpp
      	src/plugins/duieditor/parser/qmljsengine_p.h
      	src/plugins/duieditor/parser/qmljsgrammar.cpp
      	src/plugins/duieditor/parser/qmljsgrammar_p.h
      	src/plugins/duieditor/parser/qmljslexer.cpp
      	src/plugins/duieditor/parser/qmljslexer_p.h
      	src/plugins/duieditor/parser/qmljsmemorypool_p.h
      	src/plugins/duieditor/parser/qmljsnodepool_p.h
      	src/plugins/duieditor/parser/qmljsparser.cpp
      	src/plugins/duieditor/parser/qmljsparser_p.h
      	src/plugins/duieditor/parser/qmljsprettypretty.cpp
      	src/plugins/duieditor/parser/qmljsprettypretty_p.h
      	src/plugins/duieditor/rewriter/rewriter.cpp
      	src/plugins/duieditor/rewriter/rewriter_p.h
      	src/plugins/duieditor/rewriter/textwriter.cpp
      	src/plugins/duieditor/rewriter/textwriter_p.h
      	src/shared/cplusplus/ASTClone.cpp
      	tests/manual/cplusplus/main.cpp
      2919c210