summaryrefslogtreecommitdiffhomepage
path: root/android/buildSrc/src
AgeCommit message (Collapse)AuthorFilesLines
2022-04-20Fix/suppress dependency audit issuesAlbin2-3/+2
2022-04-20Add mechanism to reset an account before e2e testsAlbin2-0/+2
Adds a mechanism to remove all keys/devices of a specified account in order to start all tests with a known state. This is achieved using a simple http client included in the e2e test apk, which support login, listing devices and removing devices. Two account used for testing _must_ be specified either as gradle properties or as runtime arguments to the test runner: * Local properties (local.properties): valid_test_account_token=XXXX invalid_test_account_token=XXXX * Gradle/CLI arguments: ./gradlew :e2e:assembleDebug -Pvalid_test_account_token=XXXX -Pinvalid_test_account_token=XXXX * Runtime arguments: am instrument -e valid_test_account_token XXXX -e invalid_test_account_token XXXX # ...
2022-04-20Add Android e2e screenshot ruleAlbin1-0/+2
This rule will capture screenshot of any failed test and download it to the host executing the test.
2022-04-20Add Android e2e test moduleAlbin2-0/+11
The purpose of this test module is to be able to trigger end-to-end tests separately from the main app module, mainly because of the flaky nature of end-to-end tests. Tests are easiest executed by running the following gradle command: ./gradlew :e2e:connectedDebugAndroidTest
2022-04-20Add login vm testsAlbin2-0/+2
2022-03-23Bump Android dependenciesAlbin1-12/+11
2022-02-17Add Android memory leak detection build typeAlbin3-0/+8
Adds a new build type which can be used to identify memory leaks by using the Leak Canary dependency/tool.
2022-01-13Add Android version check pluginAlbin3-0/+11
2022-01-10Extract Android dependencies to constantsAlbin3-0/+110
Extracts Android dependency names/versions/repos to Kotlin constants in source code. The purpose of this change is to minimize duplication, unify versions and prepare the project to be split into multiple sub-projects/modules.