vedeu 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/docs/events.md +6 -0
  3. data/examples/{cursor_app/cursor_app.rb → cursor_app.rb} +1 -1
  4. data/examples/{lines_app/lines_app.rb → lines_app.rb} +1 -1
  5. data/lib/vedeu.rb +48 -28
  6. data/lib/vedeu/api/api.rb +8 -95
  7. data/lib/vedeu/application.rb +6 -2
  8. data/lib/vedeu/{models → colours}/background.rb +1 -1
  9. data/lib/vedeu/{models → colours}/colour.rb +0 -0
  10. data/lib/vedeu/{models → colours}/foreground.rb +2 -2
  11. data/lib/vedeu/{support/colour_translator.rb → colours/translator.rb} +7 -7
  12. data/lib/vedeu/input/input.rb +13 -5
  13. data/lib/vedeu/models/geometry.rb +30 -2
  14. data/lib/vedeu/models/key.rb +39 -0
  15. data/lib/vedeu/output/compositor.rb +30 -76
  16. data/lib/vedeu/output/output.rb +74 -0
  17. data/lib/vedeu/output/viewport.rb +36 -44
  18. data/lib/vedeu/repositories/buffers.rb +5 -18
  19. data/lib/vedeu/repositories/cursors.rb +16 -8
  20. data/lib/vedeu/repositories/events.rb +96 -9
  21. data/lib/vedeu/repositories/focus.rb +21 -20
  22. data/lib/vedeu/repositories/groups.rb +3 -11
  23. data/lib/vedeu/repositories/interfaces.rb +6 -9
  24. data/lib/vedeu/repositories/keymaps.rb +8 -3
  25. data/lib/vedeu/repositories/menus.rb +6 -21
  26. data/lib/vedeu/{models → repositories/models}/buffer.rb +62 -28
  27. data/lib/vedeu/{models → repositories/models}/cursor.rb +8 -2
  28. data/lib/vedeu/{models → repositories/models}/event.rb +7 -0
  29. data/lib/vedeu/repositories/models/group.rb +56 -0
  30. data/lib/vedeu/{models → repositories/models}/interface.rb +6 -0
  31. data/lib/vedeu/{models → repositories/models}/keymap.rb +7 -1
  32. data/lib/vedeu/{models → repositories/models}/menu.rb +9 -0
  33. data/lib/vedeu/{models → repositories/models}/offset.rb +8 -1
  34. data/lib/vedeu/repositories/offsets.rb +17 -12
  35. data/lib/vedeu/support/bounding_area.rb +127 -0
  36. data/lib/vedeu/support/common.rb +8 -0
  37. data/lib/vedeu/support/exceptions.rb +2 -12
  38. data/lib/vedeu/support/model.rb +14 -0
  39. data/lib/vedeu/support/refresh.rb +8 -7
  40. data/lib/vedeu/support/registrar.rb +7 -1
  41. data/lib/vedeu/support/repository.rb +31 -10
  42. data/lib/vedeu/support/sentence.rb +67 -0
  43. data/lib/vedeu/support/terminal.rb +19 -0
  44. data/lib/vedeu/support/trace.rb +2 -5
  45. data/test/integration/api/api_test.rb +97 -0
  46. data/test/integration/api_dsl/dsl_api_test.rb +4 -0
  47. data/test/integration/api_dsl/dsl_composition_test.rb +4 -0
  48. data/test/integration/api_dsl/dsl_defined_test.rb +4 -0
  49. data/test/integration/api_dsl/dsl_helpers_test.rb +4 -0
  50. data/test/integration/api_dsl/dsl_interface_test.rb +4 -0
  51. data/test/integration/api_dsl/dsl_keymap.rb +4 -0
  52. data/test/integration/api_dsl/dsl_line_test.rb +4 -0
  53. data/test/integration/api_dsl/dsl_menu_test.rb +4 -0
  54. data/test/integration/api_dsl/dsl_stream_test.rb +138 -0
  55. data/test/lib/vedeu/api/api_test.rb +1 -25
  56. data/test/lib/vedeu/api/helpers_test.rb +0 -10
  57. data/test/lib/vedeu/{models → colours}/background_test.rb +0 -0
  58. data/test/lib/vedeu/{models → colours}/colour_test.rb +0 -0
  59. data/test/lib/vedeu/{models → colours}/foreground_test.rb +0 -0
  60. data/test/lib/vedeu/{support/colour_translator_test.rb → colours/translator_test.rb} +3 -3
  61. data/test/lib/vedeu/input/input_test.rb +16 -47
  62. data/test/lib/vedeu/models/geometry_test.rb +46 -0
  63. data/test/lib/vedeu/models/group_test.rb +99 -0
  64. data/test/lib/vedeu/models/key_test.rb +41 -0
  65. data/test/lib/vedeu/output/compositor_test.rb +25 -101
  66. data/test/lib/vedeu/output/output_test.rb +108 -0
  67. data/test/lib/vedeu/repositories/buffers_test.rb +0 -8
  68. data/test/lib/vedeu/repositories/cursors_test.rb +34 -0
  69. data/test/lib/vedeu/repositories/focus_test.rb +37 -28
  70. data/test/lib/vedeu/repositories/interfaces_test.rb +1 -1
  71. data/test/lib/vedeu/repositories/keymaps_test.rb +6 -20
  72. data/test/lib/vedeu/repositories/menus_test.rb +0 -6
  73. data/test/lib/vedeu/{models → repositories/models}/buffer_test.rb +24 -27
  74. data/test/lib/vedeu/{models → repositories/models}/cursor_test.rb +0 -0
  75. data/test/lib/vedeu/{models → repositories/models}/event_test.rb +0 -0
  76. data/test/lib/vedeu/{models → repositories/models}/interface_test.rb +0 -0
  77. data/test/lib/vedeu/{models → repositories/models}/keymap_test.rb +0 -0
  78. data/test/lib/vedeu/{models → repositories/models}/menu_test.rb +0 -0
  79. data/test/lib/vedeu/{models → repositories/models}/offset_test.rb +0 -0
  80. data/test/lib/vedeu/support/bounding_area_test.rb +139 -0
  81. data/test/lib/vedeu/support/coercions_test.rb +6 -17
  82. data/test/lib/vedeu/support/grid_test.rb +1 -1
  83. data/test/lib/vedeu/support/model_test.rb +23 -0
  84. data/test/lib/vedeu/support/presentation_test.rb +0 -10
  85. data/test/lib/vedeu/support/refresh_test.rb +2 -2
  86. data/test/lib/vedeu/support/repository_test.rb +63 -64
  87. data/test/lib/vedeu/support/sentence_test.rb +48 -0
  88. data/test/lib/vedeu/support/terminal_test.rb +86 -6
  89. data/test/support/test_classes/all.rb +5 -0
  90. data/test/support/test_classes/coercions.rb +16 -0
  91. data/test/support/test_classes/helpers.rb +19 -0
  92. data/test/support/test_classes/model.rb +23 -0
  93. data/test/support/test_classes/presentation.rb +16 -0
  94. data/test/support/test_classes/repositories.rb +26 -0
  95. data/test/support/test_modules/all.rb +1 -0
  96. data/test/support/test_modules/repository.rb +16 -0
  97. data/test/test_helper.rb +4 -0
  98. data/vedeu.gemspec +3 -3
  99. metadata +95 -50
  100. data/lib/vedeu/output/clear.rb +0 -88
  101. data/lib/vedeu/output/render.rb +0 -50
  102. data/lib/vedeu/repositories/positional.rb +0 -23
  103. data/test/lib/vedeu/output/clear_test.rb +0 -56
  104. data/test/lib/vedeu/output/render_test.rb +0 -100
  105. data/test/lib/vedeu/repositories/positional_test.rb +0 -50
@@ -0,0 +1,5 @@
1
+ require 'support/test_classes/coercions'
2
+ require 'support/test_classes/helpers'
3
+ require 'support/test_classes/model'
4
+ require 'support/test_classes/presentation'
5
+ require 'support/test_classes/repositories'
@@ -0,0 +1,16 @@
1
+ module Vedeu
2
+
3
+ class CoercionsTestClass
4
+
5
+ include Coercions
6
+
7
+ attr_reader :attributes
8
+
9
+ def initialize(attributes = {})
10
+ @attributes = attributes
11
+ @name = attributes[:name]
12
+ end
13
+
14
+ end # CoercionsTestClass
15
+
16
+ end # Vedeu
@@ -0,0 +1,19 @@
1
+ module Vedeu
2
+
3
+ module API
4
+
5
+ class HelpersTestClass
6
+
7
+ include Helpers
8
+
9
+ attr_accessor :attributes
10
+
11
+ def initialize
12
+ @attributes = { colour: {}, streams: [], style: [] }
13
+ end
14
+
15
+ end # HelpersTestClass
16
+
17
+ end # API
18
+
19
+ end # Vedeu
@@ -0,0 +1,23 @@
1
+ module Vedeu
2
+
3
+ class ModelTestClass
4
+
5
+ include Vedeu::Model
6
+
7
+ attr_reader :name
8
+
9
+ def initialize(attributes = {})
10
+ @attributes = attributes
11
+
12
+ @name = @attributes[:name]
13
+ end
14
+
15
+ private
16
+
17
+ def repository
18
+ Vedeu::RepositoryTestModule
19
+ end
20
+
21
+ end # ModelTestClass
22
+
23
+ end # Vedeu
@@ -0,0 +1,16 @@
1
+ module Vedeu
2
+
3
+ class PresentationTestClass
4
+
5
+ include Presentation
6
+
7
+ def attributes
8
+ {
9
+ colour: { background: '#000033', foreground: '#aadd00' },
10
+ style: ['bold']
11
+ }
12
+ end
13
+
14
+ end # PresentationTestClass
15
+
16
+ end # Vedeu
@@ -0,0 +1,26 @@
1
+ module Vedeu
2
+
3
+ class RepositoriesTestClass
4
+
5
+ include Repository
6
+
7
+ attr_accessor :storage
8
+ alias_method :in_memory, :storage
9
+
10
+ def initialize(storage = {})
11
+ @storage = storage
12
+ end
13
+
14
+ def add(model)
15
+ if storage.is_a?(Hash)
16
+ @storage = in_memory.merge!(model)
17
+
18
+ else
19
+ @storage << model
20
+
21
+ end
22
+ end
23
+
24
+ end # RepositoriesTestClass
25
+
26
+ end # Vedeu
@@ -0,0 +1 @@
1
+ require 'support/test_modules/repository'
@@ -0,0 +1,16 @@
1
+ module Vedeu
2
+
3
+ module RepositoryTestModule
4
+
5
+ include Repository
6
+ extend self
7
+
8
+ private
9
+
10
+ def in_memory
11
+ {}
12
+ end
13
+
14
+ end # RepositoryTestModule
15
+
16
+ end # Vedeu
data/test/test_helper.rb CHANGED
@@ -24,8 +24,12 @@ require 'mocha/setup'
24
24
  GC.disable
25
25
 
26
26
  require 'vedeu'
27
+ require 'support/test_classes/all'
28
+ require 'support/test_modules/all'
27
29
 
28
30
  def test_configuration
31
+ Vedeu::Configuration.reset!
32
+
29
33
  Vedeu.configure do
30
34
  debug!
31
35
  colour_mode 16777216
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.2.10'
7
+ spec.version = '0.2.11'
8
8
  spec.authors = ['Gavin Laking']
9
9
  spec.email = ['gavinlaking@gmail.com']
10
10
  spec.summary = %q{A terminal case of wonderland.}
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ['lib']
19
19
 
20
20
  spec.add_development_dependency 'bundler', '~> 1.6'
21
- spec.add_development_dependency 'guard', '2.7.1'
21
+ spec.add_development_dependency 'guard', '2.8.2'
22
22
  spec.add_development_dependency 'guard-bundler', '2.0.0'
23
23
  spec.add_development_dependency 'guard-minitest', '2.3.2'
24
- spec.add_development_dependency 'minitest', '5.4.2'
24
+ spec.add_development_dependency 'minitest', '5.4.3'
25
25
  spec.add_development_dependency 'minitest-reporters', '1.0.7'
26
26
  spec.add_development_dependency 'mocha', '1.1.0'
27
27
  spec.add_development_dependency 'pry', '0.10.1'
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.2.10
4
+ version: 0.2.11
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-11-08 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.7.1
33
+ version: 2.8.2
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.7.1
40
+ version: 2.8.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: guard-bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 5.4.2
75
+ version: 5.4.3
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 5.4.2
82
+ version: 5.4.3
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest-reporters
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -187,10 +187,10 @@ files:
187
187
  - docs/events.md
188
188
  - docs/getting_started.md
189
189
  - examples/configuration_app.rb
190
- - examples/cursor_app/cursor_app.rb
190
+ - examples/cursor_app.rb
191
191
  - examples/focus_app.rb
192
192
  - examples/hello_world.rb
193
- - examples/lines_app/lines_app.rb
193
+ - examples/lines_app.rb
194
194
  - lib/vedeu.rb
195
195
  - lib/vedeu/api/api.rb
196
196
  - lib/vedeu/api/composition.rb
@@ -202,30 +202,24 @@ files:
202
202
  - lib/vedeu/api/menu.rb
203
203
  - lib/vedeu/api/stream.rb
204
204
  - lib/vedeu/application.rb
205
+ - lib/vedeu/colours/background.rb
206
+ - lib/vedeu/colours/colour.rb
207
+ - lib/vedeu/colours/foreground.rb
208
+ - lib/vedeu/colours/translator.rb
205
209
  - lib/vedeu/configuration/api.rb
206
210
  - lib/vedeu/configuration/cli.rb
207
211
  - lib/vedeu/configuration/configuration.rb
208
212
  - lib/vedeu/input/input.rb
209
213
  - lib/vedeu/launcher.rb
210
- - lib/vedeu/models/background.rb
211
- - lib/vedeu/models/buffer.rb
212
214
  - lib/vedeu/models/char.rb
213
- - lib/vedeu/models/colour.rb
214
215
  - lib/vedeu/models/composition.rb
215
- - lib/vedeu/models/cursor.rb
216
- - lib/vedeu/models/event.rb
217
- - lib/vedeu/models/foreground.rb
218
216
  - lib/vedeu/models/geometry.rb
219
- - lib/vedeu/models/interface.rb
220
- - lib/vedeu/models/keymap.rb
217
+ - lib/vedeu/models/key.rb
221
218
  - lib/vedeu/models/line.rb
222
- - lib/vedeu/models/menu.rb
223
- - lib/vedeu/models/offset.rb
224
219
  - lib/vedeu/models/stream.rb
225
220
  - lib/vedeu/models/style.rb
226
- - lib/vedeu/output/clear.rb
227
221
  - lib/vedeu/output/compositor.rb
228
- - lib/vedeu/output/render.rb
222
+ - lib/vedeu/output/output.rb
229
223
  - lib/vedeu/output/view.rb
230
224
  - lib/vedeu/output/viewport.rb
231
225
  - lib/vedeu/repositories/buffers.rb
@@ -236,24 +230,43 @@ files:
236
230
  - lib/vedeu/repositories/interfaces.rb
237
231
  - lib/vedeu/repositories/keymaps.rb
238
232
  - lib/vedeu/repositories/menus.rb
233
+ - lib/vedeu/repositories/models/buffer.rb
234
+ - lib/vedeu/repositories/models/cursor.rb
235
+ - lib/vedeu/repositories/models/event.rb
236
+ - lib/vedeu/repositories/models/group.rb
237
+ - lib/vedeu/repositories/models/interface.rb
238
+ - lib/vedeu/repositories/models/keymap.rb
239
+ - lib/vedeu/repositories/models/menu.rb
240
+ - lib/vedeu/repositories/models/offset.rb
239
241
  - lib/vedeu/repositories/offsets.rb
240
- - lib/vedeu/repositories/positional.rb
242
+ - lib/vedeu/support/bounding_area.rb
241
243
  - lib/vedeu/support/coercions.rb
242
- - lib/vedeu/support/colour_translator.rb
243
244
  - lib/vedeu/support/common.rb
244
245
  - lib/vedeu/support/esc.rb
245
246
  - lib/vedeu/support/exceptions.rb
246
247
  - lib/vedeu/support/grid.rb
247
248
  - lib/vedeu/support/keymap_validator.rb
248
249
  - lib/vedeu/support/log.rb
250
+ - lib/vedeu/support/model.rb
249
251
  - lib/vedeu/support/position.rb
250
252
  - lib/vedeu/support/presentation.rb
251
253
  - lib/vedeu/support/refresh.rb
252
254
  - lib/vedeu/support/registrar.rb
253
255
  - lib/vedeu/support/repository.rb
256
+ - lib/vedeu/support/sentence.rb
254
257
  - lib/vedeu/support/terminal.rb
255
258
  - lib/vedeu/support/trace.rb
256
259
  - logs/.gitkeep
260
+ - test/integration/api/api_test.rb
261
+ - test/integration/api_dsl/dsl_api_test.rb
262
+ - test/integration/api_dsl/dsl_composition_test.rb
263
+ - test/integration/api_dsl/dsl_defined_test.rb
264
+ - test/integration/api_dsl/dsl_helpers_test.rb
265
+ - test/integration/api_dsl/dsl_interface_test.rb
266
+ - test/integration/api_dsl/dsl_keymap.rb
267
+ - test/integration/api_dsl/dsl_line_test.rb
268
+ - test/integration/api_dsl/dsl_menu_test.rb
269
+ - test/integration/api_dsl/dsl_stream_test.rb
257
270
  - test/integration/cursors_test.rb
258
271
  - test/integration/defining_interfaces_test.rb
259
272
  - test/integration/run_once_test.rb
@@ -268,30 +281,25 @@ files:
268
281
  - test/lib/vedeu/api/menu_test.rb
269
282
  - test/lib/vedeu/api/stream_test.rb
270
283
  - test/lib/vedeu/application_test.rb
284
+ - test/lib/vedeu/colours/background_test.rb
285
+ - test/lib/vedeu/colours/colour_test.rb
286
+ - test/lib/vedeu/colours/foreground_test.rb
287
+ - test/lib/vedeu/colours/translator_test.rb
271
288
  - test/lib/vedeu/configuration/api_test.rb
272
289
  - test/lib/vedeu/configuration/cli_test.rb
273
290
  - test/lib/vedeu/configuration/configuration_test.rb
274
291
  - test/lib/vedeu/input/input_test.rb
275
292
  - test/lib/vedeu/launcher_test.rb
276
- - test/lib/vedeu/models/background_test.rb
277
- - test/lib/vedeu/models/buffer_test.rb
278
293
  - test/lib/vedeu/models/char_test.rb
279
- - test/lib/vedeu/models/colour_test.rb
280
294
  - test/lib/vedeu/models/composition_test.rb
281
- - test/lib/vedeu/models/cursor_test.rb
282
- - test/lib/vedeu/models/event_test.rb
283
- - test/lib/vedeu/models/foreground_test.rb
284
295
  - test/lib/vedeu/models/geometry_test.rb
285
- - test/lib/vedeu/models/interface_test.rb
286
- - test/lib/vedeu/models/keymap_test.rb
296
+ - test/lib/vedeu/models/group_test.rb
297
+ - test/lib/vedeu/models/key_test.rb
287
298
  - test/lib/vedeu/models/line_test.rb
288
- - test/lib/vedeu/models/menu_test.rb
289
- - test/lib/vedeu/models/offset_test.rb
290
299
  - test/lib/vedeu/models/stream_test.rb
291
300
  - test/lib/vedeu/models/style_test.rb
292
- - test/lib/vedeu/output/clear_test.rb
293
301
  - test/lib/vedeu/output/compositor_test.rb
294
- - test/lib/vedeu/output/render_test.rb
302
+ - test/lib/vedeu/output/output_test.rb
295
303
  - test/lib/vedeu/output/view_test.rb
296
304
  - test/lib/vedeu/output/viewport_test.rb
297
305
  - test/lib/vedeu/repositories/buffers_test.rb
@@ -302,25 +310,41 @@ files:
302
310
  - test/lib/vedeu/repositories/interfaces_test.rb
303
311
  - test/lib/vedeu/repositories/keymaps_test.rb
304
312
  - test/lib/vedeu/repositories/menus_test.rb
313
+ - test/lib/vedeu/repositories/models/buffer_test.rb
314
+ - test/lib/vedeu/repositories/models/cursor_test.rb
315
+ - test/lib/vedeu/repositories/models/event_test.rb
316
+ - test/lib/vedeu/repositories/models/interface_test.rb
317
+ - test/lib/vedeu/repositories/models/keymap_test.rb
318
+ - test/lib/vedeu/repositories/models/menu_test.rb
319
+ - test/lib/vedeu/repositories/models/offset_test.rb
305
320
  - test/lib/vedeu/repositories/offsets_test.rb
306
- - test/lib/vedeu/repositories/positional_test.rb
321
+ - test/lib/vedeu/support/bounding_area_test.rb
307
322
  - test/lib/vedeu/support/coercions_test.rb
308
- - test/lib/vedeu/support/colour_translator_test.rb
309
323
  - test/lib/vedeu/support/common_test.rb
310
324
  - test/lib/vedeu/support/esc_test.rb
311
325
  - test/lib/vedeu/support/grid_test.rb
312
326
  - test/lib/vedeu/support/keymap_validator_test.rb
313
327
  - test/lib/vedeu/support/log_test.rb
328
+ - test/lib/vedeu/support/model_test.rb
314
329
  - test/lib/vedeu/support/position_test.rb
315
330
  - test/lib/vedeu/support/presentation_test.rb
316
331
  - test/lib/vedeu/support/refresh_test.rb
317
332
  - test/lib/vedeu/support/registrar_test.rb
318
333
  - test/lib/vedeu/support/repository_test.rb
334
+ - test/lib/vedeu/support/sentence_test.rb
319
335
  - test/lib/vedeu/support/terminal_test.rb
320
336
  - test/lib/vedeu/support/trace_test.rb
321
337
  - test/lib/vedeu_test.rb
322
338
  - test/support/colour_test.sh
323
339
  - test/support/stats.sh
340
+ - test/support/test_classes/all.rb
341
+ - test/support/test_classes/coercions.rb
342
+ - test/support/test_classes/helpers.rb
343
+ - test/support/test_classes/model.rb
344
+ - test/support/test_classes/presentation.rb
345
+ - test/support/test_classes/repositories.rb
346
+ - test/support/test_modules/all.rb
347
+ - test/support/test_modules/repository.rb
324
348
  - test/test_helper.rb
325
349
  - vedeu.gemspec
326
350
  homepage: https://github.com/gavinlaking/vedeu
@@ -348,6 +372,16 @@ signing_key:
348
372
  specification_version: 4
349
373
  summary: A terminal case of wonderland.
350
374
  test_files:
375
+ - test/integration/api/api_test.rb
376
+ - test/integration/api_dsl/dsl_api_test.rb
377
+ - test/integration/api_dsl/dsl_composition_test.rb
378
+ - test/integration/api_dsl/dsl_defined_test.rb
379
+ - test/integration/api_dsl/dsl_helpers_test.rb
380
+ - test/integration/api_dsl/dsl_interface_test.rb
381
+ - test/integration/api_dsl/dsl_keymap.rb
382
+ - test/integration/api_dsl/dsl_line_test.rb
383
+ - test/integration/api_dsl/dsl_menu_test.rb
384
+ - test/integration/api_dsl/dsl_stream_test.rb
351
385
  - test/integration/cursors_test.rb
352
386
  - test/integration/defining_interfaces_test.rb
353
387
  - test/integration/run_once_test.rb
@@ -362,30 +396,25 @@ test_files:
362
396
  - test/lib/vedeu/api/menu_test.rb
363
397
  - test/lib/vedeu/api/stream_test.rb
364
398
  - test/lib/vedeu/application_test.rb
399
+ - test/lib/vedeu/colours/background_test.rb
400
+ - test/lib/vedeu/colours/colour_test.rb
401
+ - test/lib/vedeu/colours/foreground_test.rb
402
+ - test/lib/vedeu/colours/translator_test.rb
365
403
  - test/lib/vedeu/configuration/api_test.rb
366
404
  - test/lib/vedeu/configuration/cli_test.rb
367
405
  - test/lib/vedeu/configuration/configuration_test.rb
368
406
  - test/lib/vedeu/input/input_test.rb
369
407
  - test/lib/vedeu/launcher_test.rb
370
- - test/lib/vedeu/models/background_test.rb
371
- - test/lib/vedeu/models/buffer_test.rb
372
408
  - test/lib/vedeu/models/char_test.rb
373
- - test/lib/vedeu/models/colour_test.rb
374
409
  - test/lib/vedeu/models/composition_test.rb
375
- - test/lib/vedeu/models/cursor_test.rb
376
- - test/lib/vedeu/models/event_test.rb
377
- - test/lib/vedeu/models/foreground_test.rb
378
410
  - test/lib/vedeu/models/geometry_test.rb
379
- - test/lib/vedeu/models/interface_test.rb
380
- - test/lib/vedeu/models/keymap_test.rb
411
+ - test/lib/vedeu/models/group_test.rb
412
+ - test/lib/vedeu/models/key_test.rb
381
413
  - test/lib/vedeu/models/line_test.rb
382
- - test/lib/vedeu/models/menu_test.rb
383
- - test/lib/vedeu/models/offset_test.rb
384
414
  - test/lib/vedeu/models/stream_test.rb
385
415
  - test/lib/vedeu/models/style_test.rb
386
- - test/lib/vedeu/output/clear_test.rb
387
416
  - test/lib/vedeu/output/compositor_test.rb
388
- - test/lib/vedeu/output/render_test.rb
417
+ - test/lib/vedeu/output/output_test.rb
389
418
  - test/lib/vedeu/output/view_test.rb
390
419
  - test/lib/vedeu/output/viewport_test.rb
391
420
  - test/lib/vedeu/repositories/buffers_test.rb
@@ -396,24 +425,40 @@ test_files:
396
425
  - test/lib/vedeu/repositories/interfaces_test.rb
397
426
  - test/lib/vedeu/repositories/keymaps_test.rb
398
427
  - test/lib/vedeu/repositories/menus_test.rb
428
+ - test/lib/vedeu/repositories/models/buffer_test.rb
429
+ - test/lib/vedeu/repositories/models/cursor_test.rb
430
+ - test/lib/vedeu/repositories/models/event_test.rb
431
+ - test/lib/vedeu/repositories/models/interface_test.rb
432
+ - test/lib/vedeu/repositories/models/keymap_test.rb
433
+ - test/lib/vedeu/repositories/models/menu_test.rb
434
+ - test/lib/vedeu/repositories/models/offset_test.rb
399
435
  - test/lib/vedeu/repositories/offsets_test.rb
400
- - test/lib/vedeu/repositories/positional_test.rb
436
+ - test/lib/vedeu/support/bounding_area_test.rb
401
437
  - test/lib/vedeu/support/coercions_test.rb
402
- - test/lib/vedeu/support/colour_translator_test.rb
403
438
  - test/lib/vedeu/support/common_test.rb
404
439
  - test/lib/vedeu/support/esc_test.rb
405
440
  - test/lib/vedeu/support/grid_test.rb
406
441
  - test/lib/vedeu/support/keymap_validator_test.rb
407
442
  - test/lib/vedeu/support/log_test.rb
443
+ - test/lib/vedeu/support/model_test.rb
408
444
  - test/lib/vedeu/support/position_test.rb
409
445
  - test/lib/vedeu/support/presentation_test.rb
410
446
  - test/lib/vedeu/support/refresh_test.rb
411
447
  - test/lib/vedeu/support/registrar_test.rb
412
448
  - test/lib/vedeu/support/repository_test.rb
449
+ - test/lib/vedeu/support/sentence_test.rb
413
450
  - test/lib/vedeu/support/terminal_test.rb
414
451
  - test/lib/vedeu/support/trace_test.rb
415
452
  - test/lib/vedeu_test.rb
416
453
  - test/support/colour_test.sh
417
454
  - test/support/stats.sh
455
+ - test/support/test_classes/all.rb
456
+ - test/support/test_classes/coercions.rb
457
+ - test/support/test_classes/helpers.rb
458
+ - test/support/test_classes/model.rb
459
+ - test/support/test_classes/presentation.rb
460
+ - test/support/test_classes/repositories.rb
461
+ - test/support/test_modules/all.rb
462
+ - test/support/test_modules/repository.rb
418
463
  - test/test_helper.rb
419
464
  has_rdoc: