-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mock the daemon and run tests against prod builds (#9584)
* Add mock daemon command * Implement mocked peer handshake and status methods. * Overwrite addresses to mock out connection health checks * Parameterize path to LocalSocketController * Add mock DNS utils and support private socket paths * Remove DaemonLocalServer and move it into the platform versions * Trim down some unnecessary Daemon::instance() calls. * Replace DummyController with mock daemon via LocalSocketController * Use the mocked daemon when running with the --testing option * Emit signals at the end of Daemon::deactivate() * Move MozillaVPN class init after command line parsing * Derive the settings org from QCoreApplication::organizationName() * Change app organization to "Mozilla Testing" when running in test * Ensure inAppAuth feature is toggled in functional tests * Add feature to enable/disable Balrog and turn it off in testing * Run functional tests against MacOS prod binary * Enable stderr logging when run with --testing * Reset glean when run with --testing option * Make VPNController.currentServerString prop available in all builds * testAuthenticationInApp: use beforeEach hook to ensure consistent features * testInitialize: Auth flow tests depend on auth feature flags * Provide mocked AppListProvider when testing * Flag split-tunneling on in functional tests * Run Linux functional tests against prod binary * Remove LinuxDependencies::checkDependencies() * Remove assert in Linux system notification handler * Wait for controller init in vpn.activate() * Restore call to QLocalSocket::abort() during init
- Loading branch information
Showing
69 changed files
with
912 additions
and
592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.