1. 21 Jun, 2019 1 commit
  2. 20 May, 2019 1 commit
    • Agata Cacko's avatar
      Add brush import/export test, add test files · 215cbb2e
      Agata Cacko authored
      Before this commit there was no brush import/export tests
      at all, this commit adds permissions tests and incorrect
      format tests.
      
      This commit also adds tests files. They would be generated during the
      test run but only if "data" directory already exists, which is not that
      obvious since some of the tests didn't have any test files and you can't
      push empty directories to git, hence addition of all files.
      Their permissions (for permissions tests) will be set correctly
      in the test itself anyway.
      215cbb2e
  3. 17 May, 2019 2 commits
    • Agata Cacko's avatar
      Add failed import/export tests to other formats · 98299a9c
      Agata Cacko authored
      Before this commit there was no tests regarding failed import
      or export of files of following formats: csv, heightmap,
      ppm, psd, svg, tiff, xcf. This commit adds test calls to all
      of those formats.
      98299a9c
    • Agata Cacko's avatar
      Unify error codes engaged in import/export · e518e102
      Agata Cacko authored
      Before this patch, there were two layers of error codes:
      KisImageBuilder_Result in KisImageBuilderResult.h
      later converted into ConversionStatus in KisImportExportFilter.h
      In case of usage of libraw, there were also libraw error codes.
      After this patch, only one error code system and error messages system
      is implemented. Error codes should match the previous ones,
      but are not necessarily correct now.
      e518e102
  4. 25 Mar, 2019 1 commit
  5. 27 Nov, 2018 1 commit
  6. 14 Aug, 2018 1 commit
    • Dmitry Kazakov's avatar
      Make unit tests' names consistent · 46c27f94
      Dmitry Kazakov authored
      TEST_NAME parameter should state **only** the actual name
      of the test without any prefixes. NAME_PREFIX should state \
      the prefix. And, no, we cannot shortcut the thing and concatenate
      the name and the prefix in TEST_NAME, because it will break actual
      tests' binary file names.
      46c27f94
  7. 08 Aug, 2018 2 commits
  8. 07 Aug, 2018 1 commit
  9. 31 Jul, 2018 1 commit
  10. 25 Jul, 2018 1 commit
  11. 26 Apr, 2018 1 commit
  12. 02 Feb, 2018 1 commit
  13. 06 Jan, 2018 1 commit
  14. 01 Jan, 2018 1 commit
  15. 28 Nov, 2017 2 commits
  16. 25 May, 2017 1 commit
  17. 08 May, 2017 1 commit
  18. 14 Apr, 2017 1 commit
    • Dmitry Kazakov's avatar
      Fix saving/loading of the last export configuration · 0eacd7c3
      Dmitry Kazakov authored
      There were two problems:
      
      1) Some filters, e.g. PNG was reading saved value from the wrong key
         ("PNG" instead of "image/png")
      2) KisImportExportManager::askUserAboutExportConfiguration() should have
         been copied the content of the properties instead of replacing the
         pointer
      0eacd7c3
  19. 19 Nov, 2016 1 commit
  20. 16 Nov, 2016 1 commit
  21. 09 Nov, 2016 1 commit
  22. 27 Oct, 2016 1 commit
    • Frederik Gladhorn's avatar
      cmake: use cmake-extra-modules for Unit Tests · 27d0b63e
      Frederik Gladhorn authored
      Summary:
      This actually makes it less boiler plate heavy.
      It also fixes a few small issues with the tests, three tests were
      previously forgotten and have been re-added.
      
      With the custom krita_add_broken_unit_test the same functionallty is
      preserved that was there before in the fork of the kde4 macro.
      This is a step towards reducing the amount of custom cmake code that
      Krita drags around and will make the build system easier.
      
      Thanks to the new macros, the total amount of redundant macro code is
      reduced and we lose a bit over 1000 lines of useless boilerplate.
      
      The total test count goes up by three.
      
      The flake tests had their data in the source path, which is unlike any
      other tests and were relying on some old defines. They have been adapted
      to behave like any other test.
      
      Reviewers: #krita
      
      Subscribers: rempt
      
      Differential Revision: https://phabricator.kde.org/D3167
      27d0b63e
  23. 19 Oct, 2016 3 commits
  24. 10 Oct, 2016 1 commit
  25. 07 Oct, 2016 1 commit
  26. 30 Sep, 2016 3 commits
  27. 28 Sep, 2016 1 commit
  28. 22 Sep, 2016 1 commit
  29. 21 Sep, 2016 1 commit
    • Boudewijn Rempt's avatar
      Remove the use of the KisFilterGraph and KisFilterChain · d9c6c126
      Boudewijn Rempt authored
      We never supported chained input/output anyway; that is barely
      useful for image files and would never perform well. This makes
      the whole import/export system much simpler.
      
      Plus, apparently all the chain stuff took some noticeable time
      because the export dialogs now appear much, much quicker.
      d9c6c126
  30. 14 Sep, 2016 2 commits
  31. 04 Jul, 2016 1 commit
  32. 28 Jun, 2016 1 commit