Thibault Jouan
2a1a1f1185
Register key bindings in the env with RunControl
2015-04-14 21:42:47 +00:00
Thibault Jouan
b1aa430ef3
Add a new class for run control file evaluation
2015-04-14 21:42:47 +00:00
Thibault Jouan
e81cf3a52f
Clean up tests
...
* Remove deprecated tags;
* Improve scenarios, steps and specs descriptions.
2015-04-14 02:59:48 +00:00
Thibault Jouan
7493ab3284
Evaluate run control file when present
2015-04-14 02:28:33 +00:00
Thibault Jouan
6cafd2ea37
Remove Runner.run factory specs
2015-04-14 02:02:43 +00:00
Thibault Jouan
b9b2bff853
Use Layout from uh-layout as default
2015-04-12 21:04:29 +00:00
Thibault Jouan
616b14eae2
Register layout event hooks
2015-04-12 21:04:29 +00:00
Thibault Jouan
a848e6b936
Instantiate and assign a Layout in the Runner
2015-04-12 21:04:29 +00:00
Thibault Jouan
59e9562279
Rename :display, :* events as :*
2015-04-10 07:53:45 +00:00
Thibault Jouan
325801a037
Fix Runner specs on manager event hooks
2015-04-10 07:15:08 +00:00
Thibault Jouan
f9fe27d36b
Remove unneeded contexts in runner specs
2015-04-10 07:15:08 +00:00
Thibault Jouan
d965fb2afd
Handle Manager logging with events Dispatcher
2015-04-09 23:31:56 +00:00
Thibault Jouan
6f8bb69c92
Force Display test double usage in Runner.run specs
...
We need to mock Display.new to return a test double with #open
disabled, in order to prevent the manager to initiate real connections
to current display and because we don't want to inject a Display
instance all the way down from Runner to Manager (at least not yet).
2015-04-09 03:23:12 +00:00
Thibault Jouan
ceac19b346
Quit on `mod1+q' key binding
...
* Loop our runner until it is "stopped";
* Use the event dispatcher to stop the runner on `mod1+q' key press;
* Tell the manager to grab the `q' key.
2015-04-09 00:30:13 +00:00
Thibault Jouan
224ae6be5f
Implement Runner#run_until
2015-04-09 00:30:13 +00:00
Thibault Jouan
fd13accaf6
Assign a Dispatcher in new Runner instances
2015-04-09 00:30:13 +00:00
Thibault Jouan
b354ffcd62
Add stopped status notion in Runner
2015-04-09 00:30:12 +00:00
Thibault Jouan
ea0034fd7e
Implement basic Runner
2015-04-09 00:30:12 +00:00