status-desktop/ui/StatusQ/tests
Michał Cieślak e053d267f0 fix(StatusQ): FastExpressionSorter's test fixed for mac
Threshold for acceptable accesses has been increased but also
additional check regarding roles has been introduced to ensure
expected behavior.

Closes: #13181
2024-01-11 13:35:05 +01:00
..
TestComponents chore(StatusQ): Qml unit tests file names unified/simplified 2023-12-19 10:41:42 +01:00
TestControls chore(StatusQ): Qml unit tests file names unified/simplified 2023-12-19 10:41:42 +01:00
TestCore fix(StatusQ): FastExpressionSorter's test fixed for mac 2024-01-11 13:35:05 +01:00
TestUtils chore(StatusQ): Qml unit tests file names unified/simplified 2023-12-19 10:41:42 +01:00
qml/StatusQ/TestHelpers tests(general): refactor tests 2022-09-21 18:20:09 +02:00
src/TestHelpers chore(StatusQ): Generic TestModel excluded to a separate file 2024-01-05 13:34:45 +01:00
CMakeLists.txt StatusQ: Adding WritableProxyModel 2024-01-09 20:20:04 +02:00
main.cpp chore(StatusQ): ListModelWrapper excluded to a separate file 2024-01-05 13:34:45 +01:00
readme.md tests(general): refactor tests 2022-09-21 18:20:09 +02:00
tst_Aggregator.cpp chore(StatusQ): Generic TestModel excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_ConcatModel.cpp chore(StatusQ): ListModelWrapper excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_LeftJoinModel.cpp chore(StatusQ): Generic TestModel excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_RolesRenamingModel.cpp chore(StatusQ): Generic TestModel excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_SingleRoleAggregator.cpp chore(StatusQ): Generic TestModel excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_SubmodelProxyModel.cpp chore(StatusQ): ListModelWrapper excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_SumAggregator.cpp chore(StatusQ): Generic TestModel excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_WritableProxyModel.cpp fix: Updates based on comments 2024-01-09 20:20:04 +02:00

readme.md

Readme

Developer instructions

CMake

cd ./tests/
cmake -B ./build/ -S .
cmake --build ./build/
ctest --test-dir ./build/

QtCreator

  • Open the ./tests/CMakeLists.txt
  • Choose a QT kit to run the tests
  • Set %{sourceDir}/tests as Working Directory for the TestStatusQ target
  • In the Test Results panel choose Run All Tests or just run the TestStatusQ target

TODO