Thibault Jouan
e68d3fd6a3
Fix coding standards (runner spec descriptions)
2015-04-24 19:53:08 +00:00
Thibault Jouan
95245e1178
Forward :change events to Layout#update in runner
2015-04-22 08:14:45 +00:00
Thibault Jouan
b58a143aff
Fix coding standards in Runner specs
2015-04-22 08:14:32 +00:00
Thibault Jouan
47bc9c9da2
Refactor specs with factory helper methods
2015-04-21 12:39:21 +00:00
Thibault Jouan
3776abf405
Fix coding standards
2015-04-21 12:12:20 +00:00
Thibault Jouan
8ed77a0460
Remove deprecated specs
2015-04-21 12:05:43 +00:00
Thibault Jouan
38a90ab0af
Register for layout unmanage handling in runner
2015-04-20 10:24:39 +00:00
Thibault Jouan
f2c97499ce
Fix wording in Runner#register_event_hooks specs
2015-04-20 10:24:27 +00:00
Thibault Jouan
a7941d51cc
Split Runner#register_event_hooks spec with context
2015-04-20 10:24:27 +00:00
Thibault Jouan
30cb15b5d3
Register :configure event for layout in runner
2015-04-20 05:49:51 +00:00
Thibault Jouan
9ea43ee69a
Integrate blocking and multiplexing workers usage
2015-04-18 02:03:32 +00:00
Thibault Jouan
fa03cd736a
Implement Runner#worker
2015-04-18 00:46:50 +00:00
Thibault Jouan
799cb3f5d9
Remove specs testing for log messages
2015-04-16 21:40:05 +00:00
Thibault Jouan
8bcb31ddc2
Forward :manage events to the Layout in Runner
2015-04-16 12:01:15 +00:00
Thibault Jouan
1575a2d369
Handle termination properly
...
* Tell the manager to close the display before terminating;
* Log about quit request and process termination.
2015-04-15 12:49:04 +00:00
Thibault Jouan
6ac26c370e
Implement `modifier' run control keyword
2015-04-15 09:31:32 +00:00
Thibault Jouan
620150b6d8
Remove context for constructor specs
2015-04-15 09:31:32 +00:00
Thibault Jouan
49f85bee35
Implement `quit' action keyword
2015-04-15 04:20:26 +00:00
Thibault Jouan
9c9aa1dabb
Configure upcased key as combination with shift mod
2015-04-15 01:09:18 +00:00
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