status-desktop/ui/StatusQ/tests
Michał Cieślak 2dfb61fe1c fix(SubmodelProxyModel): Proxy model made non-intrusive
Now SubmodelProxyModel doesn't affect source model therefore it's
possible to safely use multiple SubmodelProxyModels over the same source
model.

Closes: #14550
2024-05-27 12:03:17 +02: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 feat(wallet) skip picking flags in the random emoji picker function 2024-03-20 11:56:03 +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 fix(TestModel): proper row count check 2024-05-27 12:03:17 +02:00
CMakeLists.txt feat(StatusQ): ModelSyncedContainer utility 2024-05-27 12:03:17 +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 fix(StatusQ/Aggregator): Proper recalculation on layout change removing rows 2024-05-13 15:53:00 +02:00
tst_ConcatModel.cpp feat(StatusQ/ConcatModel): Proper handling of source models layout change 2024-04-12 11:05:08 +02:00
tst_FunctionAggregator.cpp feat(StatusQ): General purpose js function-based aggregator 2024-05-13 15:54:03 +02:00
tst_LeftJoinModel.cpp feat(StatusQ/LeftJoinModel): Add possibility to explicitly define roles to be joined 2024-04-05 14:58:06 +02:00
tst_ModelSyncedContainer.cpp feat(StatusQ): ModelSyncedContainer utility 2024-05-27 12:03:17 +02:00
tst_MovableModel.cpp feat(StatusQ/SubmodelProxyModel): Exposing roles computed per submodel to the top-level model 2024-05-07 16:26:44 +02: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 fix(SubmodelProxyModel): Proxy model made non-intrusive 2024-05-27 12:03:17 +02:00
tst_SumAggregator.cpp chore(StatusQ): Generic TestModel excluded to a separate file 2024-01-05 13:34:45 +01:00
tst_WritableProxyModel.cpp feat(WritableProxyModel): Add syncedRemoval flag to allow source to remove edited rows 2024-03-11 20:58:55 +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