a12a6a4894
TLDR: later this should form a basic building block for a new TokenSelector picker component, potentially replacing the current HoldingSelector* and TokenListView components (support for collectibles TBD as part of https://github.com/status-im/status-desktop/issues/15121) - create reusable `TokenSelectorAssetDelegate` and `TokenSelectorView` - add corresponding SB page, showcasing the flow/integration and the separation of concerns between the view, adaptor and delegate layers - add QML testcase for TokenSelectorView - don't display crypto symbol for token balances per chain tags - update the stores and SB pages - add some missing formatter functions to LocaleUtils and CurrenciesStore Fixes #14716 |
||
---|---|---|
.. | ||
TestComponents | ||
TestControls | ||
TestCore | ||
TestUtils | ||
qml/StatusQ/TestHelpers | ||
src/TestHelpers | ||
CMakeLists.txt | ||
main.cpp | ||
readme.md | ||
tst_Aggregator.cpp | ||
tst_ConcatModel.cpp | ||
tst_FunctionAggregator.cpp | ||
tst_LeftJoinModel.cpp | ||
tst_ModelEntry.cpp | ||
tst_ModelSyncedContainer.cpp | ||
tst_MovableModel.cpp | ||
tst_ObjectProxyModel.cpp | ||
tst_RolesRenamingModel.cpp | ||
tst_SingleRoleAggregator.cpp | ||
tst_SnapshotObject.cpp | ||
tst_SubmodelProxyModel.cpp | ||
tst_SumAggregator.cpp | ||
tst_WritableProxyModel.cpp |
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
- TestHelpers library
- Consolidate and integrate with https://github.com/status-im/desktop-ui-tests
- Separate projects per scope: TestControls, TestComponents