summaryrefslogtreecommitdiffhomepage
path: root/mullvad-tests/src/bin
AgeCommit message (Collapse)AuthorFilesLines
2021-12-13Remove mullvad-testsEmīls Piņķis1-84/+0
2019-04-03Don't run integration tests on AndroidJanito Vaqueiro Ferreira Filho1-55/+69
2018-12-13Upgrade mullvad-tests to Rust 2018Linus Färnstrand1-10/+10
2018-07-03Refactor file notification monitoring in testsJanito Vaqueiro Ferreira Filho1-22/+13
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-03Delete mock OpenVPN command line file when exitingJanito Vaqueiro Ferreira Filho1-2/+8
2018-06-28Close mock OpenVPN when stdin is closedJanito Vaqueiro Ferreira Filho1-15/+30
Change `wait_for_file_to_be_deleted` to not panic, otherwise the main thread doesn't get notified that it should close.
2018-06-20Create initial mock executableJanito Vaqueiro Ferreira Filho1-0/+58
Simply creates a special file in the current working directory, prints its command line arguments into it and waits for it to be removed so it finishes.