summaryrefslogtreecommitdiffhomepage
path: root/mullvad-tests/tests/connection.rs
AgeCommit message (Collapse)AuthorFilesLines
2021-12-13Remove mullvad-testsEmīls Piņķis1-276/+0
2020-07-29Fix mullvad-tests crate not building due to changed types, old IPC client, etc.David Lönnhager1-16/+58
2019-03-27Update mullvad-tests with new subscription modelLinus Färnstrand1-15/+21
2019-02-14Adjust integration tests to work after changes to talpid-core and the ipc-clientEmīls Piņķis1-30/+74
2018-12-13Upgrade mullvad-tests to Rust 2018Linus Färnstrand1-12/+5
2018-08-30Replace `DaemonState` with `TunnelStateTransition`Janito Vaqueiro Ferreira Filho1-31/+32
2018-08-29Fix mullvad-testsEmīls Piņķis1-107/+5
2018-07-23Enable connection tests on all platformsJanito Vaqueiro Ferreira Filho1-1/+1
2018-07-04Fix race condition on mock OpenVPN arguments fileJanito Vaqueiro Ferreira Filho1-8/+11
What sometimes happened was that the assertion that the file existed was successful, but the file hadn't finished being written to, so an attempt to read data from it failed.
2018-07-03Move wait for file in test helper functionsJanito Vaqueiro Ferreira Filho1-8/+8
Make the `get_plugin_arguments` function more specific.
2018-07-03Refactor file notification monitoring in testsJanito Vaqueiro Ferreira Filho1-10/+17
Create a `PathWatcher` helper type that presents itself as an `Iterator` over events on a specified path. It also allows setting a timeout for waiting for each event, so that it doesn't block indefinately. Although it watches a specific path, in reality it watches the path's parent directory, so that it can continue watching the file if it gets removed and recreated.
2018-07-03Create `search_openvpn_args` helper functionJanito Vaqueiro Ferreira Filho1-13/+3
2018-07-03Increase state change event timeoutJanito Vaqueiro Ferreira Filho1-1/+1
Because now the firewall handling may introduce enough latency for the tests to fail.
2018-06-28Test disconnectionJanito Vaqueiro Ferreira Filho1-0/+36
2018-06-28Test if daemon tries to restore lost connectionJanito Vaqueiro Ferreira Filho1-0/+28
2018-06-26Test if daemon moves to connected stateJanito Vaqueiro Ferreira Filho1-0/+26
2018-06-26Test connection authentication isolationJanito Vaqueiro Ferreira Filho1-0/+24
2018-06-26Test different plugin authentication credentialsJanito Vaqueiro Ferreira Filho1-8/+47
2018-06-26Test if IPC server requires authenticationJanito Vaqueiro Ferreira Filho1-4/+68
2018-06-26Remove unused importJanito Vaqueiro Ferreira Filho1-1/+0
2018-06-20Separate execution of integration testsJanito Vaqueiro Ferreira Filho1-1/+1
Use a script to run them to ensure they are testing the correct version of the `mullvad-daemon` binary.
2018-06-20Test if OpenVPN is respawned by daemonJanito Vaqueiro Ferreira Filho1-0/+22
2018-06-20Test if daemon progresses to connecting stateJanito Vaqueiro Ferreira Filho1-0/+31
2018-06-20Test if connection attempt spawns OpenVPNJanito Vaqueiro Ferreira Filho1-0/+23