aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/integration/basic.rs (unfollow)
Commit message (Collapse)Author
2021-06-30chore(tests): move all integration tests to be either unit or e2e tests - ↵Aram Drevekenin
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
2021-06-14Move `layout.rs` from `server` to `utils`a-kenji
* give feedback on most errors in the layout-file
2021-06-03Fixed a build warning and renamed a struct fieldBrooks J Rady
2021-05-16fmt and clippyKunal Mohan
2021-05-16Big refactor: separate crates for client, server and utilitiesKunal Mohan
2021-05-15Do not pass config_options while spawning server processKunal Mohan
2021-05-15fix testingKunal Mohan
2021-05-12Fix Simplified Uia-kenji
Propagate the config now, in all the places, as opposed to fallback to a default.
2021-05-12fix(ui): handle pasted text properly (#494)Aram Drevekenin
* fix(ui): handle pasted text properly * style(fmt): rustfmt
2021-05-04Fix after rebaseKunal Mohan
2021-05-04Fix after rebaseKunal Mohan
2021-05-04fix testsKunal Mohan
2021-05-02Load config before start()Yutaka Kamei
Previously, a config file was loaded within `start()`, and if the config file is invalid, Zellij was supposed to show a user what's wrong with it. However, since `start()` starts setting up its terminal with an alternative screen buffer, neither standard output nor standard error could display such an error. This change intends to address this issue by making Zellij load a config file before `start()`. In addition, the patch also includes some refactorings: * Redefine `from_cli_config` with `TryFrom`, which was introduced in Rust 1.34 * Remove conditional declaration `cfg(not(test))` because `start()` now receive a `Config` as the third argument * Introduce [`tempfile`](https://crates.io/crates/tempfile) in order to run tests with actual files * Typo?: "Deserialisation" -> "Deserialization"
2021-04-22fix(ui): draw ui properly on terminal start (#323)Aram Drevekenin
* fix(ui): draw ui properly on terminal start * style(fmt): rustfmt
2021-04-21cargo fmtHongjie Zhai
2021-04-21add testsHongjie Zhai
2021-03-11feat(input): new shortcuts and ui (#220)Aram Drevekenin
* feat(statusbar): new shortcuts * feat(input): new shortcuts and ui * style(fmt): rustfmt
2021-02-17fix(compatibility): get top not to break everything when exiting (#188)Aram Drevekenin
2021-02-12feat(input): new keybindings and persistent mode as default (#181)categorille
* added some comments in the input module * InputHandler now has InputState instead of separate InputMode and permanent bool * keybinds are now associated with a Vec<Action> instead of a single Action * removing "persistent" modes alltogether to reimplement the feature, help bar broken * locked command mode by default, fixes #161, help bar still broken * status bar fixed, still a few improvements/bugs to go * better shortcut help bar contents * fixed last bits and i think we are good * modified tests according to new controls, not working * Revert "modified tests according to new controls, not working" This reverts commit f2d9421ff0169feb83dbd9b246e59b9244cafc16. * basic.rs tests now pass, not the rest * close_pane.rs tests pass, but very slowly? * compatibility.rs tests pass, very slowly as well * {layout, {move_focus_*}}.rs all working mildly slowly * {resize_*}.rs should all work but very slowly and funky, see PR comments * {tabs,toggle_fullscreen}.rs pass. Test performance issue yet to be fixed * tests now work, with a hack :| ready for merge * rustfmt + deleted references to InputState and mode persistency
2021-02-09Well, it turns out that I spent 4 hours on something impossible...Brooks J Rady