summaryrefslogtreecommitdiff
path: root/app/src/test/java/se/leap/bitmaskclient/testutils
AgeCommit message (Collapse)Author
2024-06-26fix tests after breaking change how we start obfsvpn in conjunction with ↵cyBerta
openvpn, switching for socks proxying to transparent proxying
2024-06-17update obfsvpn to version 1.0.0, this is a breaking API change. Obfsvpn ↵cyBerta
requires openvpn in UDP as inner transport protocol from now on
2024-02-26save manually added providers in encrypted shared preferences instead of ↵cyBerta
external files dir
2024-01-25fix ProviderApiManagerTest, sneaking in some missing changes from previous ↵cyBerta
commits as well
2024-01-25improve MockSharedPreferences, adding implementations for put/get Long and ↵cyBerta
put/get StringSet
2024-01-25rename ObfsvpnHelper to BuildConfigHelper, adding other BuildConfig ↵cyBerta
properties there
2024-01-25fix VpnCertificateValidatorTest, extract CertificateHelper (returns a ↵cyBerta
fingerprint for a x509 cert) from ConfigHelper
2024-01-25fix VpnConfigGenerator Test, move RSAHelper and ObfsVpnHelper out of ↵cyBerta
ConfigHelper, use injection pattern for these helpers
2024-01-25fix ProviderManagerTest, adapt InputStreamHelper and Filehelper to be ↵cyBerta
mockable by injection
2023-08-03update testscyBerta
2023-08-02use single instance of shared prefernces across the app, this reduces the ↵cyBerta
laggyness of the UI noticably
2023-07-19always provide private VPN key over management interface, avoid exposing it ↵cyBerta
in persisted openvpn config. The private key is stored encrypted instead
2023-04-18fix tests using mocked okhttpclientcyBerta
2023-04-15fix missing domain name of manually added providers in provider selectioncyBerta
2023-01-19improve screenshot tests, run in different languages, test more ↵cyberta
Fragments/Activities
2022-12-12implement better snowflake connection setup handling in case either http ↵cyBerta
domain fronting or amp cache is blocked
2022-11-22fix testscyBerta
2022-08-07set riseup's main_url to black.riseup.net while still showing riseup.net as ↵cyBerta
domain in the UI
2022-07-19fix and add tests for testing obfsvpn based openvpn config generationcyBerta
2022-05-18use snowflake if necessary to update invalid vpn cert. Show cert update ↵cyBerta
message in UI
2021-12-21improve error handling message for custom branded clients in case of ↵cyBerta
misconfigured backend
2021-12-17allow to parse and handle multiple certs in a pem filecyBerta
2021-11-23tweak mocking of ConfigHelpercyBerta
2021-11-12add an test for no network error handlingcyBerta
2021-11-08remove unused variablescyBerta
2021-11-08Don't allow fallback tor mechanism for failed geoip service calls.cyBerta
2021-11-07Add provider setup unit tests wrt. Tor handlingcyBerta
2021-11-07fix test provider json api v4cyBerta
2021-11-06adapt mockhelper and include proxy port parametercyBerta
2021-02-26Merge branch 'ipv6_gateway_selection' into 'beta-release'cyberta
adapt eip-service.json parsing to support ipv6 See merge request leap/bitmask_android!125
2021-02-26adapt testscyBerta
2021-02-16adapt eip-service.json parsing to support ipv6cyBerta
2020-12-29new year cleanup: restructure messy projectcyBerta
2020-07-24add test for case if geoip service is not available/downcyBerta
2020-07-23adapt existing tests for geoipservice apicyBerta
2020-03-17switch to AndroidXcyBerta
2020-01-23fix testscyberta
2020-01-21implement no-dns fallback using okhttp's Dns interfacecyberta
2019-10-19unit tests for gateway manager's gateway selectioncyBerta
2019-09-30improve output for bundle comparisons in testscyBerta
2019-09-30add test for failing fetches of eip-service.jsoncyBerta
2019-08-02squashed commit for Pluggable TransportscyBerta
* implement handling of different provider API version (v1 and v2) * detect provider's obfs support * shapeshifter-dispatcher installation * necessary changes to control shapeshifter-dispatcher from Bitmask * route openvpn traffic over shapeshifter-dispatcher
2019-07-12replace 'Bitmask' in strings with variable for a better client customizationcyBerta
2019-05-21* show error dialog if provider is misconfigured and has not allowed ↵cyBerta
registration nor anonymous usage * always download provider.json, Use preseeded provider.json only to check if the client can connect with preseeded certificate. Keeps the provider.json updated if provider changes it's config * Tests for both cases
2018-03-18refactor ConfigHelper, split into multiple helper classescyBerta
2018-02-21#8858 write tests for ProviderManager and some related refactoringscyBerta
2018-02-138827 - add ProviderTest & DefaultedURLTestFup Duck
2018-02-138827 - add mockConfigHelpperFup Duck
2018-02-098827 - merge request discussionsFup Duck
* add NullPointer checks to EipFragment * add Provider to DownloadFailedDialog * remove unused code * store certificates for pinning in SharedPreferences
2018-02-068827 - remove UserStatus referencesFup Duck