vedeu 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +5 -0
  3. data/Dockerfile +40 -0
  4. data/README.md +7 -30
  5. data/docs/api.md +79 -0
  6. data/docs/events.md +121 -0
  7. data/lib/vedeu.rb +61 -18
  8. data/lib/vedeu/api/api.rb +73 -53
  9. data/lib/vedeu/api/composition.rb +4 -1
  10. data/lib/vedeu/api/defined.rb +35 -0
  11. data/lib/vedeu/api/helpers.rb +20 -15
  12. data/lib/vedeu/api/interface.rb +17 -12
  13. data/lib/vedeu/api/line.rb +20 -12
  14. data/lib/vedeu/api/stream.rb +3 -0
  15. data/lib/vedeu/application.rb +34 -1
  16. data/lib/vedeu/configuration.rb +15 -3
  17. data/lib/vedeu/input/input.rb +77 -0
  18. data/lib/vedeu/launcher.rb +7 -0
  19. data/lib/vedeu/models/attributes/background.rb +15 -2
  20. data/lib/vedeu/models/attributes/coercions.rb +18 -3
  21. data/lib/vedeu/models/attributes/colour_translator.rb +23 -17
  22. data/lib/vedeu/models/attributes/foreground.rb +10 -2
  23. data/lib/vedeu/models/attributes/presentation.rb +62 -0
  24. data/lib/vedeu/models/colour.rb +7 -3
  25. data/lib/vedeu/models/composition.rb +17 -19
  26. data/lib/vedeu/models/geometry.rb +13 -5
  27. data/lib/vedeu/models/interface.rb +35 -19
  28. data/lib/vedeu/models/line.rb +24 -8
  29. data/lib/vedeu/models/stream.rb +13 -7
  30. data/lib/vedeu/models/style.rb +17 -7
  31. data/lib/vedeu/{support → output}/clear.rb +14 -0
  32. data/lib/vedeu/output/compositor.rb +77 -0
  33. data/lib/vedeu/output/refresh.rb +129 -0
  34. data/lib/vedeu/{support → output}/render.rb +49 -13
  35. data/lib/vedeu/{support → output}/view.rb +15 -8
  36. data/lib/vedeu/repositories/buffers.rb +181 -0
  37. data/lib/vedeu/{support → repositories}/events.rb +16 -6
  38. data/lib/vedeu/repositories/focus.rb +109 -0
  39. data/lib/vedeu/repositories/groups.rb +76 -0
  40. data/lib/vedeu/repositories/interfaces.rb +74 -0
  41. data/lib/vedeu/support/common.rb +20 -0
  42. data/lib/vedeu/support/cursor.rb +77 -0
  43. data/lib/vedeu/support/esc.rb +181 -46
  44. data/lib/vedeu/support/event.rb +22 -4
  45. data/lib/vedeu/support/grid.rb +10 -3
  46. data/lib/vedeu/support/log.rb +14 -1
  47. data/lib/vedeu/support/menu.rb +51 -12
  48. data/lib/vedeu/support/position.rb +9 -0
  49. data/lib/vedeu/support/terminal.rb +49 -15
  50. data/lib/vedeu/support/trace.rb +11 -4
  51. data/test/integration/defining_interfaces_test.rb +27 -0
  52. data/test/integration/views/basic_view_test.rb +767 -0
  53. data/test/lib/vedeu/api/api_test.rb +32 -37
  54. data/test/lib/vedeu/api/composition_test.rb +23 -61
  55. data/test/lib/vedeu/api/defined_test.rb +49 -0
  56. data/test/lib/vedeu/api/helpers_test.rb +91 -0
  57. data/test/lib/vedeu/api/interface_test.rb +136 -688
  58. data/test/lib/vedeu/api/line_test.rb +28 -32
  59. data/test/lib/vedeu/application_test.rb +6 -0
  60. data/test/lib/vedeu/configuration_test.rb +8 -4
  61. data/test/lib/vedeu/{support → input}/input_test.rb +9 -0
  62. data/test/lib/vedeu/launcher_test.rb +6 -0
  63. data/test/lib/vedeu/models/attributes/{coercer_test.rb → coercions_test.rb} +11 -10
  64. data/test/lib/vedeu/models/attributes/colour_translator_test.rb +13 -0
  65. data/test/lib/vedeu/models/attributes/presentation_test.rb +30 -0
  66. data/test/lib/vedeu/models/colour_test.rb +8 -0
  67. data/test/lib/vedeu/models/composition_test.rb +208 -200
  68. data/test/lib/vedeu/models/geometry_test.rb +39 -0
  69. data/test/lib/vedeu/models/interface_test.rb +11 -1
  70. data/test/lib/vedeu/models/line_test.rb +8 -1
  71. data/test/lib/vedeu/models/stream_test.rb +35 -0
  72. data/test/lib/vedeu/models/style_test.rb +8 -0
  73. data/test/lib/vedeu/{support → output}/clear_test.rb +1 -1
  74. data/test/lib/vedeu/output/compositor_test.rb +64 -0
  75. data/test/lib/vedeu/output/refresh_test.rb +48 -0
  76. data/test/lib/vedeu/{support → output}/render_test.rb +36 -0
  77. data/test/lib/vedeu/{support → output}/view_test.rb +0 -0
  78. data/test/lib/vedeu/repositories/buffers_test.rb +48 -0
  79. data/test/lib/vedeu/{support → repositories}/events_test.rb +0 -0
  80. data/test/lib/vedeu/repositories/focus_test.rb +74 -0
  81. data/test/lib/vedeu/repositories/groups_test.rb +66 -0
  82. data/test/lib/vedeu/repositories/interfaces_test.rb +6 -0
  83. data/test/lib/vedeu/support/common_test.rb +6 -0
  84. data/test/lib/vedeu/support/cursor_test.rb +79 -0
  85. data/test/lib/vedeu/support/log_test.rb +6 -0
  86. data/test/lib/vedeu/support/terminal_test.rb +6 -28
  87. data/test/lib/vedeu/support/trace_test.rb +6 -0
  88. data/test/test_helper.rb +37 -0
  89. data/vedeu.gemspec +1 -1
  90. metadata +65 -33
  91. data/bin/log +0 -13
  92. data/lib/vedeu/support/buffer.rb +0 -69
  93. data/lib/vedeu/support/buffers.rb +0 -106
  94. data/lib/vedeu/support/focus.rb +0 -83
  95. data/lib/vedeu/support/groups.rb +0 -61
  96. data/lib/vedeu/support/input.rb +0 -67
  97. data/test/lib/vedeu/support/buffer_test.rb +0 -83
  98. data/test/lib/vedeu/support/buffers_test.rb +0 -15
  99. data/test/lib/vedeu/support/focus_test.rb +0 -114
  100. data/test/lib/vedeu/support/groups_test.rb +0 -65
@@ -0,0 +1,66 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+ describe Groups do
5
+ before { Groups.reset }
6
+ before { Groups.reset }
7
+
8
+ describe '#all' do
9
+ before do
10
+ Groups.add({ group: 'elements', name: 'cobalt', delay: 0.0 })
11
+ Groups.add({ group: 'elements', name: 'nickel', delay: 0.0 })
12
+ Groups.add({ group: 'elements', name: 'copper', delay: 0.0 })
13
+ end
14
+
15
+ it 'returns all the groups from storage' do
16
+ Groups.all.must_equal({
17
+ "elements" => Set["cobalt", "nickel", "copper"]
18
+ })
19
+ end
20
+ end
21
+
22
+ describe '#registered' do
23
+ before do
24
+ Groups.add({ group: 'elements', name: 'cobalt', delay: 0.0 })
25
+ Groups.add({ group: 'minerals', name: 'ruby', delay: 0.0 })
26
+ Groups.add({ group: 'elements', name: 'copper', delay: 0.0 })
27
+ Groups.add({ group: 'minerals', name: 'diamond', delay: 0.0 })
28
+ end
29
+
30
+ it 'returns all the groups from storage' do
31
+ Groups.registered.must_equal(['elements', 'minerals'])
32
+ end
33
+ end
34
+
35
+ describe '#find' do
36
+ before { Groups.add({ group: 'elements', name: 'zinc', delay: 0.0 }) }
37
+
38
+ it 'raises an exception if the group cannot be found' do
39
+ proc { Groups.find('not_found') }.must_raise(GroupNotFound)
40
+ end
41
+
42
+ it 'returns a collection of interface names belonging to the group' do
43
+ Groups.find('elements').must_equal(Set['zinc'])
44
+ end
45
+ end
46
+
47
+ describe '#add' do
48
+ it 'returns false if the group name is empty' do
49
+ Groups.add({ group: '', name: 'gallium', delay: 0.0 }).must_equal(false)
50
+ end
51
+
52
+ it 'adds the interface name to the group in storage' do
53
+ Groups.add({ group: 'elements', name: 'germanium', delay: 0.0 })
54
+ Groups.all.must_equal({ 'elements' => Set['germanium'] })
55
+ end
56
+ end
57
+
58
+ describe '#reset' do
59
+ it 'removes all known groups from the storage' do
60
+ Groups.add({ group: 'elements', name: 'bromine', delay: 0.0 })
61
+ Groups.all.must_equal({ 'elements' => Set['bromine'] })
62
+ Groups.reset.must_be_empty
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+ describe Interfaces do
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+ describe Common do
5
+ end
6
+ end
@@ -0,0 +1,79 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+ describe Cursor do
5
+ let(:attributes) {
6
+ {
7
+ top: 3,
8
+ bottom: 6,
9
+ left: 3,
10
+ right: 6
11
+ }
12
+ }
13
+
14
+ describe '#position' do
15
+ it 'returns the current cursor position' do
16
+ cursor = Cursor.new(attributes)
17
+ cursor.position.must_equal([3, 3])
18
+ end
19
+ end
20
+
21
+ describe '#move_up' do
22
+ it 'does not move up when already at the top' do
23
+ cursor = Cursor.new(attributes)
24
+ cursor.move_up
25
+ cursor.position.must_equal([3, 3])
26
+ end
27
+
28
+ it 'moves the cursor up' do
29
+ cursor = Cursor.new(attributes)
30
+ 2.times { cursor.move_down }
31
+ cursor.move_up
32
+ cursor.position.must_equal([4, 3])
33
+ end
34
+ end
35
+
36
+ describe '#move_down' do
37
+ it 'moves the cursor down' do
38
+ cursor = Cursor.new(attributes)
39
+ cursor.move_down
40
+ cursor.position.must_equal([4, 3])
41
+ end
42
+
43
+ it 'does not move down when already at the bottom' do
44
+ cursor = Cursor.new(attributes)
45
+ 4.times { cursor.move_down }
46
+ cursor.position.must_equal([6, 3])
47
+ end
48
+ end
49
+
50
+ describe '#move_left' do
51
+ it 'does not move left when already at leftmost' do
52
+ cursor = Cursor.new(attributes)
53
+ cursor.move_left
54
+ cursor.position.must_equal([3, 3])
55
+ end
56
+
57
+ it 'moves the cursor left' do
58
+ cursor = Cursor.new(attributes)
59
+ 2.times { cursor.move_right }
60
+ cursor.move_left
61
+ cursor.position.must_equal([3, 4])
62
+ end
63
+ end
64
+
65
+ describe '#move_right' do
66
+ it 'does not move right when already at rightmost' do
67
+ cursor = Cursor.new(attributes)
68
+ 4.times { cursor.move_right }
69
+ cursor.position.must_equal([3, 6])
70
+ end
71
+
72
+ it 'moves the cursor right' do
73
+ cursor = Cursor.new(attributes)
74
+ cursor.move_right
75
+ cursor.position.must_equal([3, 4])
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+ describe Log do
5
+ end
6
+ end
@@ -32,45 +32,23 @@ module Vedeu
32
32
  end
33
33
  end
34
34
 
35
- describe '.input' do
36
- # it 'returns the entered string in cooked mode' do
37
- # Configuration.stub(:terminal_mode, :cooked) do
38
- # Terminal.console.stub(:gets, "test\n") do
39
- # Terminal.input.must_equal('test')
40
- # end
41
- # end
42
- # end
43
-
44
- # it 'returns the entered string in raw mode' do
45
- # Configuration.stub(:terminal_mode, :raw) do
46
- # console.stub :getch, "a" do
47
- # Terminal.input.must_equal("a")
48
- # end
49
- # end
50
- # end
51
- end
52
-
53
35
  describe '.output' do
54
36
  before { IO.console.stubs(:print) }
55
37
 
56
38
  it 'returns the output' do
57
- Terminal.output('Some output...').must_equal('Some output...')
39
+ Terminal.output('Some output...').must_equal(['Some output...'])
58
40
  end
59
- end
60
41
 
61
- describe '.clear_last_line' do
62
- it 'returns an escape sequence to clear the last line' do
63
- console.stub :winsize, [25, 25] do
64
- Terminal.clear_last_line
65
- .must_equal("\e[24;1H\e[38;2;39m\e[48;2;49m\e[2K")
66
- end
42
+ it 'returns the output collection' do
43
+ Terminal.output('Some output...', 'more output...', 'even more...')
44
+ .must_equal(['Some output...', 'more output...', 'even more...'])
67
45
  end
68
46
  end
69
47
 
70
48
  describe '.clear_screen' do
71
49
  it 'clears the screen' do
72
50
  console.stub :print, nil do
73
- Terminal.clear_screen.must_equal("\e[38;2;39m\e[48;2;49m\e[2J")
51
+ Terminal.clear_screen.must_equal(["\e[38;2;39m\e[48;2;49m\e[2J"])
74
52
  end
75
53
  end
76
54
  end
@@ -78,7 +56,7 @@ module Vedeu
78
56
  describe '.set_cursor_mode' do
79
57
  it 'shows the cursor in cooked mode' do
80
58
  Terminal.cooked_mode!
81
- Terminal.set_cursor_mode.must_equal("\e[?25h")
59
+ Terminal.set_cursor_mode.must_equal(["\e[?25h"])
82
60
  end
83
61
 
84
62
  it 'hides the cursor in raw mode' do
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+ describe Trace do
5
+ end
6
+ end
data/test/test_helper.rb CHANGED
@@ -9,6 +9,14 @@ SimpleCov.start do
9
9
  add_filter '/test/'
10
10
  end unless ENV['no_simplecov']
11
11
 
12
+ module MiniTest
13
+ class Spec
14
+ class << self
15
+ alias_method :context, :describe
16
+ end
17
+ end
18
+ end
19
+
12
20
  require 'mocha/setup'
13
21
 
14
22
  GC.disable
@@ -17,6 +25,35 @@ ENV['VEDEU_TERM'] = 'xterm-truecolor'
17
25
 
18
26
  require 'vedeu'
19
27
 
28
+ module Vedeu
29
+ def self.reset_all!
30
+ Vedeu::Buffers.reset
31
+ Vedeu::Configuration.reset
32
+ Vedeu.events.reset
33
+ Vedeu::Focus.reset
34
+ Vedeu::Groups.reset
35
+ Vedeu::Interfaces.reset
36
+ end
37
+ end
38
+
39
+ module MyMiniTestPlugin
40
+ # Code to run before every test case
41
+ def before_setup
42
+ super
43
+ Vedeu.reset_all!
44
+ end
45
+
46
+ # Code to run after every test case
47
+ def after_teardown
48
+ Vedeu.reset_all!
49
+ super
50
+ end
51
+ end
52
+
53
+ class MiniTest::Spec
54
+ include MyMiniTestPlugin
55
+ end
56
+
20
57
  # commented out by default (makes tests slower)
21
58
  # require 'minitest/reporters'
22
59
  # Minitest::Reporters.use!(
data/vedeu.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'vedeu'
7
- spec.version = '0.1.18'
7
+ spec.version = '0.1.19'
8
8
  spec.authors = ['Gavin Laking']
9
9
  spec.email = ['gavinlaking@gmail.com']
10
10
  spec.summary = %q{A terminal case of wonderland.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vedeu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Laking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-30 00:00:00.000000000 Z
11
+ date: 2014-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -168,7 +168,6 @@ description: A GUI framework for terminal/console applications.
168
168
  email:
169
169
  - gavinlaking@gmail.com
170
170
  executables:
171
- - log
172
171
  - vedeu
173
172
  extensions: []
174
173
  extra_rdoc_files: []
@@ -177,22 +176,26 @@ files:
177
176
  - ".ruby-version"
178
177
  - ".travis.yml"
179
178
  - ".yardopts"
179
+ - Dockerfile
180
180
  - Gemfile
181
181
  - Guardfile
182
182
  - LICENSE.txt
183
183
  - README.md
184
184
  - Rakefile
185
- - bin/log
186
185
  - bin/vedeu
186
+ - docs/api.md
187
+ - docs/events.md
187
188
  - lib/vedeu.rb
188
189
  - lib/vedeu/api/api.rb
189
190
  - lib/vedeu/api/composition.rb
191
+ - lib/vedeu/api/defined.rb
190
192
  - lib/vedeu/api/helpers.rb
191
193
  - lib/vedeu/api/interface.rb
192
194
  - lib/vedeu/api/line.rb
193
195
  - lib/vedeu/api/stream.rb
194
196
  - lib/vedeu/application.rb
195
197
  - lib/vedeu/configuration.rb
198
+ - lib/vedeu/input/input.rb
196
199
  - lib/vedeu/launcher.rb
197
200
  - lib/vedeu/models/attributes/background.rb
198
201
  - lib/vedeu/models/attributes/coercions.rb
@@ -206,33 +209,44 @@ files:
206
209
  - lib/vedeu/models/line.rb
207
210
  - lib/vedeu/models/stream.rb
208
211
  - lib/vedeu/models/style.rb
209
- - lib/vedeu/support/buffer.rb
210
- - lib/vedeu/support/buffers.rb
211
- - lib/vedeu/support/clear.rb
212
+ - lib/vedeu/output/clear.rb
213
+ - lib/vedeu/output/compositor.rb
214
+ - lib/vedeu/output/refresh.rb
215
+ - lib/vedeu/output/render.rb
216
+ - lib/vedeu/output/view.rb
217
+ - lib/vedeu/repositories/buffers.rb
218
+ - lib/vedeu/repositories/events.rb
219
+ - lib/vedeu/repositories/focus.rb
220
+ - lib/vedeu/repositories/groups.rb
221
+ - lib/vedeu/repositories/interfaces.rb
222
+ - lib/vedeu/support/common.rb
223
+ - lib/vedeu/support/cursor.rb
212
224
  - lib/vedeu/support/esc.rb
213
225
  - lib/vedeu/support/event.rb
214
- - lib/vedeu/support/events.rb
215
- - lib/vedeu/support/focus.rb
216
226
  - lib/vedeu/support/grid.rb
217
- - lib/vedeu/support/groups.rb
218
- - lib/vedeu/support/input.rb
219
227
  - lib/vedeu/support/log.rb
220
228
  - lib/vedeu/support/menu.rb
221
229
  - lib/vedeu/support/position.rb
222
- - lib/vedeu/support/render.rb
223
230
  - lib/vedeu/support/terminal.rb
224
231
  - lib/vedeu/support/trace.rb
225
- - lib/vedeu/support/view.rb
226
232
  - logs/.gitkeep
233
+ - test/integration/defining_interfaces_test.rb
227
234
  - test/integration/run_once_test.rb
235
+ - test/integration/views/basic_view_test.rb
228
236
  - test/lib/vedeu/api/api_test.rb
229
237
  - test/lib/vedeu/api/composition_test.rb
238
+ - test/lib/vedeu/api/defined_test.rb
239
+ - test/lib/vedeu/api/helpers_test.rb
230
240
  - test/lib/vedeu/api/interface_test.rb
231
241
  - test/lib/vedeu/api/line_test.rb
232
242
  - test/lib/vedeu/api/stream_test.rb
243
+ - test/lib/vedeu/application_test.rb
233
244
  - test/lib/vedeu/configuration_test.rb
245
+ - test/lib/vedeu/input/input_test.rb
246
+ - test/lib/vedeu/launcher_test.rb
234
247
  - test/lib/vedeu/models/attributes/background_test.rb
235
- - test/lib/vedeu/models/attributes/coercer_test.rb
248
+ - test/lib/vedeu/models/attributes/coercions_test.rb
249
+ - test/lib/vedeu/models/attributes/colour_translator_test.rb
236
250
  - test/lib/vedeu/models/attributes/foreground_test.rb
237
251
  - test/lib/vedeu/models/attributes/presentation_test.rb
238
252
  - test/lib/vedeu/models/colour_test.rb
@@ -242,21 +256,26 @@ files:
242
256
  - test/lib/vedeu/models/line_test.rb
243
257
  - test/lib/vedeu/models/stream_test.rb
244
258
  - test/lib/vedeu/models/style_test.rb
245
- - test/lib/vedeu/support/buffer_test.rb
246
- - test/lib/vedeu/support/buffers_test.rb
247
- - test/lib/vedeu/support/clear_test.rb
259
+ - test/lib/vedeu/output/clear_test.rb
260
+ - test/lib/vedeu/output/compositor_test.rb
261
+ - test/lib/vedeu/output/refresh_test.rb
262
+ - test/lib/vedeu/output/render_test.rb
263
+ - test/lib/vedeu/output/view_test.rb
264
+ - test/lib/vedeu/repositories/buffers_test.rb
265
+ - test/lib/vedeu/repositories/events_test.rb
266
+ - test/lib/vedeu/repositories/focus_test.rb
267
+ - test/lib/vedeu/repositories/groups_test.rb
268
+ - test/lib/vedeu/repositories/interfaces_test.rb
269
+ - test/lib/vedeu/support/common_test.rb
270
+ - test/lib/vedeu/support/cursor_test.rb
248
271
  - test/lib/vedeu/support/esc_test.rb
249
272
  - test/lib/vedeu/support/event_test.rb
250
- - test/lib/vedeu/support/events_test.rb
251
- - test/lib/vedeu/support/focus_test.rb
252
273
  - test/lib/vedeu/support/grid_test.rb
253
- - test/lib/vedeu/support/groups_test.rb
254
- - test/lib/vedeu/support/input_test.rb
274
+ - test/lib/vedeu/support/log_test.rb
255
275
  - test/lib/vedeu/support/menu_test.rb
256
276
  - test/lib/vedeu/support/position_test.rb
257
- - test/lib/vedeu/support/render_test.rb
258
277
  - test/lib/vedeu/support/terminal_test.rb
259
- - test/lib/vedeu/support/view_test.rb
278
+ - test/lib/vedeu/support/trace_test.rb
260
279
  - test/support/colour_test.sh
261
280
  - test/support/model_test_data.json
262
281
  - test/support/stats.sh
@@ -287,15 +306,23 @@ signing_key:
287
306
  specification_version: 4
288
307
  summary: A terminal case of wonderland.
289
308
  test_files:
309
+ - test/integration/defining_interfaces_test.rb
290
310
  - test/integration/run_once_test.rb
311
+ - test/integration/views/basic_view_test.rb
291
312
  - test/lib/vedeu/api/api_test.rb
292
313
  - test/lib/vedeu/api/composition_test.rb
314
+ - test/lib/vedeu/api/defined_test.rb
315
+ - test/lib/vedeu/api/helpers_test.rb
293
316
  - test/lib/vedeu/api/interface_test.rb
294
317
  - test/lib/vedeu/api/line_test.rb
295
318
  - test/lib/vedeu/api/stream_test.rb
319
+ - test/lib/vedeu/application_test.rb
296
320
  - test/lib/vedeu/configuration_test.rb
321
+ - test/lib/vedeu/input/input_test.rb
322
+ - test/lib/vedeu/launcher_test.rb
297
323
  - test/lib/vedeu/models/attributes/background_test.rb
298
- - test/lib/vedeu/models/attributes/coercer_test.rb
324
+ - test/lib/vedeu/models/attributes/coercions_test.rb
325
+ - test/lib/vedeu/models/attributes/colour_translator_test.rb
299
326
  - test/lib/vedeu/models/attributes/foreground_test.rb
300
327
  - test/lib/vedeu/models/attributes/presentation_test.rb
301
328
  - test/lib/vedeu/models/colour_test.rb
@@ -305,21 +332,26 @@ test_files:
305
332
  - test/lib/vedeu/models/line_test.rb
306
333
  - test/lib/vedeu/models/stream_test.rb
307
334
  - test/lib/vedeu/models/style_test.rb
308
- - test/lib/vedeu/support/buffer_test.rb
309
- - test/lib/vedeu/support/buffers_test.rb
310
- - test/lib/vedeu/support/clear_test.rb
335
+ - test/lib/vedeu/output/clear_test.rb
336
+ - test/lib/vedeu/output/compositor_test.rb
337
+ - test/lib/vedeu/output/refresh_test.rb
338
+ - test/lib/vedeu/output/render_test.rb
339
+ - test/lib/vedeu/output/view_test.rb
340
+ - test/lib/vedeu/repositories/buffers_test.rb
341
+ - test/lib/vedeu/repositories/events_test.rb
342
+ - test/lib/vedeu/repositories/focus_test.rb
343
+ - test/lib/vedeu/repositories/groups_test.rb
344
+ - test/lib/vedeu/repositories/interfaces_test.rb
345
+ - test/lib/vedeu/support/common_test.rb
346
+ - test/lib/vedeu/support/cursor_test.rb
311
347
  - test/lib/vedeu/support/esc_test.rb
312
348
  - test/lib/vedeu/support/event_test.rb
313
- - test/lib/vedeu/support/events_test.rb
314
- - test/lib/vedeu/support/focus_test.rb
315
349
  - test/lib/vedeu/support/grid_test.rb
316
- - test/lib/vedeu/support/groups_test.rb
317
- - test/lib/vedeu/support/input_test.rb
350
+ - test/lib/vedeu/support/log_test.rb
318
351
  - test/lib/vedeu/support/menu_test.rb
319
352
  - test/lib/vedeu/support/position_test.rb
320
- - test/lib/vedeu/support/render_test.rb
321
353
  - test/lib/vedeu/support/terminal_test.rb
322
- - test/lib/vedeu/support/view_test.rb
354
+ - test/lib/vedeu/support/trace_test.rb
323
355
  - test/support/colour_test.sh
324
356
  - test/support/model_test_data.json
325
357
  - test/support/stats.sh