Commit Graph

13 Commits

Author SHA1 Message Date
a888efe6d0 Update __go_to_session layout helper test 2014-12-02 22:22:09 +00:00
fe3beeac29 Attempt to avoid timing issue which sometimes causes test to fail 2014-08-29 22:46:41 +01:00
ef0f25591c Set $window var based on currently active window
Previously $window was only set by the new_window() helper when it was
passed a name argument. This caused weird behavior cause if it was
called without a name it would simply attempt to recreate the same
window and fail. That was until @blueyed's fix in 2249cf8.

However, the $window var still wasn't being set correctly, leaving
split_v(), split_h() and other helpers to operate on the wrong
window. This is no longer an issue as $window is always set to the index
of the currently active window at the end of new_window() and
select_window().
2014-08-29 22:29:03 +01:00
0ae0bc84e3 Add __get_current_window_index internal helper function 2014-08-29 22:28:25 +01:00
77ccb5d532 Clean up test a bit 2014-07-21 16:13:16 +01:00
d8b8dff61f Add tests for new_window layout helper 2014-06-04 00:36:33 +01:00
d47838ca1f Add and use test helpers to create/kill test-specific tmux sessions 2014-06-04 00:07:23 +01:00
1b0b3b8ba8 Add tests for __get_first_window_index layout helper 2014-06-03 20:31:41 +01:00
636e92b118 Add tests for __go_to_window_or_session_path layout helper 2014-06-03 20:01:47 +01:00
7e63149c26 Add tests for tmux layout helper 2014-05-26 20:20:39 +01:00
36add22637 Use test-runner.sh instead of homegrown test.sh 2014-05-26 13:52:55 +01:00
3aa151b865 Add tests for __go_to_session layout helper 2014-05-26 11:35:10 +01:00
f977850ea9 Add tests for __expand_path layout helper 2014-05-26 11:34:53 +01:00