summaryrefslogtreecommitdiffhomepage
path: root/android/test/mockapi/src
AgeCommit message (Collapse)AuthorFilesLines
2025-01-02Remove global API endpointEmīls1-6/+1
2024-10-08Suppress complex dispatch methodDavid Göransson1-0/+1
2024-10-08Fix print stacktrace warningDavid Göransson1-2/+1
2024-09-20Call dismissChangelogIfShown at the correct timeJonatan Rhodin6-9/+8
2024-09-16Rename test timeout constantsNiklas Berglund1-2/+2
2024-08-30Initialize mullvad daemon directly in vpn service on createJonatan Rhodin1-4/+4
As a consequence move the address resolve to the daemon
2024-08-28Reformat kotlin code using updated ktfmt pluginAlbin4-8/+8
This commit mostly adds trailing commas throughout the project, but also includes a few other formatting changes.
2024-06-26Migrate log calls to kermitAlbin3-11/+10
2024-06-12Format xml filesAlbin1-4/+2
2024-06-10Unify account number namingAlbin9-35/+35
Use variations of "account number" rather than "account token" throughout the kotlin code base.
2024-03-11Re-enable expiry textDavid Göransson1-5/+0
2024-02-07Fix flaky account history mockapi testJonatan Rhodin1-0/+1
Add some extra time to for the login page to show to improve stability of the test.
2024-02-06Remove common lib dependency from test mockapiJonatan Rhodin2-5/+5
2024-01-31Add account expiry mockapi testJonatan Rhodin2-2/+94
2024-01-25Unify ensure login assertionJonatan Rhodin3-3/+3
2024-01-25Add test for showing and using the account historyJonatan Rhodin1-0/+49
2024-01-25Update ktfmt to version 0.16.0 and reformat filesJonatan Rhodin1-10/+5
2024-01-19Add mockapi test for handling too many devicesJonatan Rhodin7-41/+179
2024-01-18Add support for stagemole partner account testsAlbin2-1/+4
2024-01-15Add mockapi tests for successful and failed account creationJonatan Rhodin4-0/+67
2024-01-11Migrate mockapi tests to junit5Jonatan Rhodin3-23/+14
2024-01-11Synchronize `mullvad-api` and `mullvad-daemon` when the `api-override`Markus Pettersson1-2/+1
feature is enabled Move the logic for using overridden API endpoints for API calls from `mullvad-api::rest` to `mullvad_daemon::api`. This is in line with how the interaction between the two crates work for a normal release build, i.e. when the `api-override` feature is disabled. This commit also removes references to `force_direct_connection` in the Android code. The flag does not exist in the `mullvad-*` rust crates anymore, so it would be erroneous to try to serialize/deserialize the value from the Android client.
2023-12-29Add automate logout ui tests using mockApisaber safavi1-0/+40
2023-12-18Fix changes dialog dismiss in mockapi testsAlbin1-0/+4
2023-10-16Refactor custom api endpoint configAlbin1-11/+7
2023-10-12Fix login uiautomator flakinessDavid Göransson1-1/+10
2023-10-02Fix data class issuesDavid Göransson1-0/+3
2023-10-02Add general Konsist testsDavid Göransson1-2/+1
2023-09-05Remove Android code dealing with forwarded portsLinus Färnstrand1-4/+0
2023-03-22Fix broken notification permission prompt testsaber safavi1-4/+4
2023-03-22Apply project-wide `kotlinLangStyle` formattingAlbin3-93/+79
2023-03-16Fix notification permission behavior and testAlbin1-0/+4
2023-03-01Fix mockapi localhost referenceAlbin2-4/+1
This fix results in the daemon getting "localhost" as hostname rather than "127.0.0.1".
2023-02-02Add logging to mocked web server used for testsAlbin2-1/+12
2023-02-02Fix mockapi time formatAlbin4-25/+32
Ensures mockapi timestamps are set to utc with offset zero and are strictly formatted according to both iso8601 and rfc3339.
2023-01-26Log mockapi web server port during testsAlbin1-0/+2
2023-01-25Extend login timeout during testAlbin1-0/+3
2023-01-10Add mockapi login testsAlbin6-0/+361
2023-01-10Add empty :test:mockapi projectAlbin1-0/+7