aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/mod.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-06-30 11:27:35 +0200
committerGitHub <noreply@github.com>2021-06-30 11:27:35 +0200
commited4fd2a8e77df304539ca7f445a78039028eaa8a (patch)
treeae48b03370b11f3f0987676584724463ac83460d /src/tests/mod.rs
parentMerge pull request #590 from a-kenji/clippy-fixes (diff)
downloadsl0ppij-ed4fd2a8e77df304539ca7f445a78039028eaa8a.tar.gz
sl0ppij-ed4fd2a8e77df304539ca7f445a78039028eaa8a.tar.xz
sl0ppij-ed4fd2a8e77df304539ca7f445a78039028eaa8a.zip
chore(tests): move all integration tests to be either unit or e2e tests - remove old testing infra (#589)
* tests(integration): move basic integration tests to be unit tests * fix(tests): silently fail threadbus for tests * tests(unit): move compatibility tests to become unit tests for grid * tests(unit): move close_pane tests to become unit tests for grid * tests(e2e): move basic layout test to e2e * tests(unit): move move_focus tests to be unit tests * tests(unit): move resize_down tests to be unit tests * tests(unit): move resize_left tests to be unit tests * tests(unit): move resize_right tests to be unit tests * tests(unit): move resize_up tests to be unit tests * tests(infra): remove unused infra * style(fmt): make rustfmt happy * debug * debug * debug * debug * chore(test): shift volume mounting around because github actions is a special child
Diffstat (limited to 'src/tests/mod.rs')
-rw-r--r--src/tests/mod.rs36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/tests/mod.rs b/src/tests/mod.rs
index bd590779..08734975 100644
--- a/src/tests/mod.rs
+++ b/src/tests/mod.rs
@@ -1,37 +1 @@
pub mod e2e;
-pub mod fakes;
-pub mod integration;
-pub mod possible_tty_inputs;
-pub mod tty_inputs;
-pub mod utils;
-
-use std::path::PathBuf;
-use zellij_client::{os_input_output::ClientOsApi, start_client, ClientInfo};
-use zellij_server::{os_input_output::ServerOsApi, start_server};
-use zellij_utils::{
- cli::CliArgs,
- input::{config::Config, layout::Layout},
-};
-
-pub fn start(
- client_os_input: Box<dyn ClientOsApi>,
- opts: CliArgs,
- server_os_input: Box<dyn ServerOsApi>,
- config: Config,
- layout: Option<Layout>,
-) {
- let server_thread = std::thread::Builder::new()
- .name("server_thread".into())
- .spawn(move || {
- start_server(server_os_input, PathBuf::from(""));
- })
- .unwrap();
- start_client(
- client_os_input,
- opts,
- config,
- ClientInfo::New("".into()),
- layout,
- );
- let _ = server_thread.join();
-}