Files
qt-creator/tests/unit/unittest/qmlprojectmanager/data
Burak Hancerli 057b4428d8 QmlDesigner: Refactor QmlProjectManager tests
Task-number: QDS-9743
Change-Id: Ia5e788fcebacef59ba12226e2c873f5cbf8954ba
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2023-05-16 08:17:40 +00:00
..

Test Set Information

This document contains information about the purpose of each test sets.

Getter/Setter test data

  • testfile-1.qmlproject: QmlProject file with properly filled out object
  • testfile-2.qmlproject: QmlProject file with empty objects

Converter test data

Test functions iterate over the "test-set-*" folders and run the tests by using the files inside them.

  • testfile.qmlproject: Original QmlProject file that'll be converted
  • testfile.qmltojson: JSON-converted version of the .qmlproject file
  • testfile.jsontoqml: QmlProject-converted version of the .qmltojson file

test-set-1

  • purpose: testing complex qmlproject file convertion
  • origin: custom project

test-set-2

  • purpose: testing fileselectors
  • origin: file selectors example from playground

File Filters test data

Test data contains an example project folders that file filters will be initialized and tested.

  • filelist.txt: List of the files need to be found by the file filters.