status-desktop/ui/StatusQ/tests
Stefan Dunca 112a6f3003
Connection fixes for v2.30.x (#15921)
* chore(dapps) remove the POC wallet connect

Updates: #15598

* fix(dapps) Wallet Connect internet connection reestablishing issue

Add a new NetworkChecker QObject to StatusQ to be used in checking
internet connection status. This is used by the WebEngineLoader
to only allow loading of web pages when there is an active internet
to cover for a corner case on MacOS where the internet connection is
not reestablished if the WebEngineView was loaded without an active
internet connection.

Closes: #15598, #15806

* chore(dapps) disable eth_signTransaction for Wallet Connect

Closes: #15661
2024-07-31 13:23:39 -04:00
..
TestComponents Connection fixes for v2.30.x (#15921) 2024-07-31 13:23:39 -04: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 chore(StatusQ/TestLib): TestModel::resetAndClear method added 2024-07-01 13:59:20 +02:00
CMakeLists.txt feat(StatusQ): Generic attachd type for providing model count 2024-07-01 13:59:20 +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 StatusQ/ConcatModel: flag added changing behavior on source model's reset 2024-07-31 11:11:39 -04:00
tst_FunctionAggregator.cpp feat(StatusQ): General purpose js function-based aggregator 2024-05-13 15:54:03 +02:00
tst_GroupingModel.cpp feat(StatusQ): GroupingModel for grouping rows with the same key into 2024-06-28 17:35:41 +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_ModelCount.cpp feat(StatusQ): Generic attachd type for providing model count 2024-07-01 13:59:20 +02:00
tst_ModelEntry.cpp chore(ModelEntry): Emit itemChanged event when the ModelEntry points to another model item 2024-07-19 19:07:51 +03:00
tst_ModelSyncedContainer.cpp fix(ModelSyncedContainer): Proper disconnection from previously used model 2024-06-05 14:18:43 +02:00
tst_MovableModel.cpp feat(StatusQ.Models): Adding SingleModelItemData helper component (#14891) 2024-06-04 13:08:52 +03:00
tst_ObjectProxyModel.cpp fix(ObjectProxyModel): source data change handling improved 2024-06-19 16:36:18 +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_SnapshotObject.cpp feat(StatusQ.Models): Adding SingleModelItemData helper component (#14891) 2024-06-04 13:08:52 +03: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(StatusQ.Models): Adding SingleModelItemData helper component (#14891) 2024-06-04 13:08:52 +03: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