aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorKunal Mohan <44079328+kunalmohan@users.noreply.github.com>2021-05-25 17:30:40 +0530
committerGitHub <noreply@github.com>2021-05-25 17:30:40 +0530
commit2bca7e007aad9a74e6c48191b8a7a3edf85808d4 (patch)
tree61366b1e29601ad003fc53a715f4b925d8ef5871 /src/tests
parenthotfix(build): Fix cargo make install (diff)
parentcheck for residual socket files and clean them (diff)
downloadsl0ppij-2bca7e007aad9a74e6c48191b8a7a3edf85808d4.tar.gz
sl0ppij-2bca7e007aad9a74e6c48191b8a7a3edf85808d4.tar.xz
sl0ppij-2bca7e007aad9a74e6c48191b8a7a3edf85808d4.zip
Merge pull request #531 from zellij-org/detach-sessions
Feature: Detachable/Persistent sessions
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/fakes.rs2
-rw-r--r--src/tests/mod.rs4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/fakes.rs b/src/tests/fakes.rs
index a2f338ba..23f9f182 100644
--- a/src/tests/fakes.rs
+++ b/src/tests/fakes.rs
@@ -333,6 +333,8 @@ impl ServerOsApi for FakeInputOutput {
self.send_instructions_to_client.send(msg).unwrap();
}
fn add_client_sender(&self) {}
+ fn remove_client_sender(&self) {}
+ fn send_to_temp_client(&self, _msg: ServerToClientMsg) {}
fn update_receiver(&mut self, _stream: LocalSocketStream) {}
fn load_palette(&self) -> Palette {
default_palette()
diff --git a/src/tests/mod.rs b/src/tests/mod.rs
index 3e548db7..e075ed49 100644
--- a/src/tests/mod.rs
+++ b/src/tests/mod.rs
@@ -5,7 +5,7 @@ pub mod tty_inputs;
pub mod utils;
use std::path::PathBuf;
-use zellij_client::{os_input_output::ClientOsApi, start_client};
+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};
@@ -21,6 +21,6 @@ pub fn start(
start_server(server_os_input, PathBuf::from(""));
})
.unwrap();
- start_client(client_os_input, opts, config);
+ start_client(client_os_input, opts, config, ClientInfo::New("".into()));
let _ = server_thread.join();
}