vedeu 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +40 -0
  3. data/README.md +1 -0
  4. data/docs/dsl.md +24 -24
  5. data/lib/vedeu/all.rb +21 -44
  6. data/lib/vedeu/api.rb +13 -13
  7. data/lib/vedeu/application/application_controller.rb +2 -0
  8. data/lib/vedeu/bindings/movement.rb +53 -18
  9. data/lib/vedeu/bindings/refresh.rb +1 -1
  10. data/lib/vedeu/bindings/system.rb +2 -2
  11. data/lib/vedeu/bindings/visibility.rb +3 -3
  12. data/lib/vedeu/borders/all.rb +13 -0
  13. data/lib/vedeu/borders/border.rb +209 -202
  14. data/lib/vedeu/{dsl/border.rb → borders/dsl.rb} +15 -15
  15. data/lib/vedeu/{null/border.rb → borders/null.rb} +9 -9
  16. data/lib/vedeu/borders/render.rb +347 -0
  17. data/lib/vedeu/borders/repository.rb +19 -0
  18. data/lib/vedeu/buffers/all.rb +13 -0
  19. data/lib/vedeu/buffers/buffer.rb +182 -176
  20. data/lib/vedeu/{null/buffer.rb → buffers/null.rb} +8 -8
  21. data/lib/vedeu/buffers/repository.rb +24 -0
  22. data/lib/vedeu/buffers/virtual_buffer.rb +2 -2
  23. data/lib/vedeu/cursors/all.rb +11 -0
  24. data/lib/vedeu/cursors/cursor.rb +276 -0
  25. data/lib/vedeu/cursors/refresh.rb +84 -0
  26. data/lib/vedeu/cursors/repository.rb +34 -0
  27. data/lib/vedeu/dsl/interface.rb +9 -9
  28. data/lib/vedeu/dsl/shared.rb +11 -11
  29. data/lib/vedeu/{exceptions.rb → error.rb} +2 -2
  30. data/lib/vedeu/esc/esc.rb +1 -1
  31. data/lib/vedeu/geometry/all.rb +18 -0
  32. data/lib/vedeu/geometry/area.rb +170 -160
  33. data/lib/vedeu/geometry/coordinate.rb +61 -39
  34. data/lib/vedeu/geometry/dimension.rb +139 -132
  35. data/lib/vedeu/{dsl/geometry.rb → geometry/dsl.rb} +11 -11
  36. data/lib/vedeu/geometry/generic_coordinate.rb +159 -153
  37. data/lib/vedeu/geometry/geometry.rb +310 -212
  38. data/lib/vedeu/geometry/grid.rb +73 -69
  39. data/lib/vedeu/{null/geometry.rb → geometry/null.rb} +10 -10
  40. data/lib/vedeu/geometry/position.rb +124 -120
  41. data/lib/vedeu/geometry/repository.rb +19 -0
  42. data/lib/vedeu/input/editor/document.rb +2 -2
  43. data/lib/vedeu/internal_api.rb +8 -8
  44. data/lib/vedeu/models/escape.rb +2 -2
  45. data/lib/vedeu/models/interface.rb +1 -1
  46. data/lib/vedeu/models/page.rb +89 -0
  47. data/lib/vedeu/models/row.rb +66 -0
  48. data/lib/vedeu/models/toggleable.rb +1 -1
  49. data/lib/vedeu/models/views/char.rb +7 -6
  50. data/lib/vedeu/models/views/line.rb +1 -1
  51. data/lib/vedeu/models/views/view.rb +2 -2
  52. data/lib/vedeu/options.rb +19 -0
  53. data/lib/vedeu/output/clear/named_interface.rb +1 -1
  54. data/lib/vedeu/output/direct.rb +1 -1
  55. data/lib/vedeu/output/presentation.rb +2 -1
  56. data/lib/vedeu/output/viewport.rb +3 -3
  57. data/lib/vedeu/repositories/model.rb +9 -1
  58. data/lib/vedeu/repositories/repository.rb +5 -0
  59. data/lib/vedeu/terminal/terminal.rb +3 -3
  60. data/lib/vedeu/version.rb +1 -1
  61. data/test/lib/vedeu/borders/border_test.rb +299 -291
  62. data/test/lib/vedeu/{dsl/border_test.rb → borders/dsl_test.rb} +6 -6
  63. data/test/lib/vedeu/{null/border_test.rb → borders/null_test.rb} +6 -6
  64. data/test/lib/vedeu/borders/render_test.rb +125 -0
  65. data/test/lib/vedeu/borders/repository_test.rb +17 -0
  66. data/test/lib/vedeu/buffers/buffer_test.rb +116 -112
  67. data/test/lib/vedeu/{null/buffer_test.rb → buffers/null_test.rb} +5 -5
  68. data/test/lib/vedeu/buffers/repository_test.rb +18 -0
  69. data/test/lib/vedeu/cursors/cursor_test.rb +370 -0
  70. data/test/lib/vedeu/cursors/refresh_test.rb +69 -0
  71. data/test/lib/vedeu/cursors/repository_test.rb +41 -0
  72. data/test/lib/vedeu/dsl/interface_test.rb +5 -5
  73. data/test/lib/vedeu/{exceptions_test.rb → error_test.rb} +0 -0
  74. data/test/lib/vedeu/geometry/area_test.rb +141 -137
  75. data/test/lib/vedeu/geometry/coordinate_test.rb +93 -89
  76. data/test/lib/vedeu/geometry/dimension_test.rb +137 -133
  77. data/test/lib/vedeu/{dsl/geometry_test.rb → geometry/dsl_test.rb} +17 -17
  78. data/test/lib/vedeu/geometry/generic_coordinate_test.rb +32 -28
  79. data/test/lib/vedeu/geometry/geometry_test.rb +282 -157
  80. data/test/lib/vedeu/geometry/grid_test.rb +35 -31
  81. data/test/lib/vedeu/{null/geometry_test.rb → geometry/null_test.rb} +5 -5
  82. data/test/lib/vedeu/geometry/position_test.rb +146 -142
  83. data/test/lib/vedeu/geometry/repository_test.rb +19 -0
  84. data/test/lib/vedeu/input/editor/document_test.rb +1 -1
  85. data/test/lib/vedeu/models/escape_test.rb +1 -1
  86. data/test/lib/vedeu/models/interface_test.rb +2 -2
  87. data/test/lib/vedeu/models/page_test.rb +235 -0
  88. data/test/lib/vedeu/models/row_test.rb +111 -0
  89. data/test/lib/vedeu/models/views/char_test.rb +3 -3
  90. data/test/lib/vedeu/options_test.rb +57 -0
  91. data/test/lib/vedeu/output/clear/named_interface_test.rb +1 -1
  92. data/test/lib/vedeu/output/renderers/json_test.rb +1 -1
  93. data/test/lib/vedeu/output/viewport_test.rb +15 -9
  94. data/test/lib/vedeu/refresh/refresh_buffer_test.rb +12 -12
  95. data/test/lib/vedeu/repositories/repositories_test.rb +1 -1
  96. data/test/lib/vedeu/repositories/repository_test.rb +7 -0
  97. data/test/lib/vedeu/terminal/terminal_test.rb +1 -1
  98. data/test/test_helper.rb +1 -1
  99. data/vedeu.gemspec +2 -2
  100. metadata +57 -63
  101. data/lib/vedeu/borders/borders.rb +0 -15
  102. data/lib/vedeu/borders/render_border.rb +0 -331
  103. data/lib/vedeu/buffers/buffers.rb +0 -20
  104. data/lib/vedeu/cursor/cursor.rb +0 -174
  105. data/lib/vedeu/cursor/cursors.rb +0 -30
  106. data/lib/vedeu/cursor/move.rb +0 -239
  107. data/lib/vedeu/cursor/reposition.rb +0 -78
  108. data/lib/vedeu/geometry/geometries.rb +0 -15
  109. data/lib/vedeu/refresh/refresh_cursor.rb +0 -92
  110. data/test/lib/vedeu/borders/borders_test.rb +0 -13
  111. data/test/lib/vedeu/borders/render_border_test.rb +0 -121
  112. data/test/lib/vedeu/buffers/buffers_test.rb +0 -14
  113. data/test/lib/vedeu/cursor/cursor_test.rb +0 -246
  114. data/test/lib/vedeu/cursor/cursors_test.rb +0 -37
  115. data/test/lib/vedeu/cursor/move_test.rb +0 -301
  116. data/test/lib/vedeu/cursor/reposition_test.rb +0 -63
  117. data/test/lib/vedeu/geometry/geometries_test.rb +0 -15
  118. data/test/lib/vedeu/refresh/refresh_cursor_test.rb +0 -65
@@ -25,7 +25,7 @@ module Vedeu
25
25
  let(:interface) { Vedeu::Interface.new(name: _name, visible: visible) }
26
26
  let(:visible) { true }
27
27
  let(:geometry) {
28
- Vedeu::Geometry.new(name: _name, x: 1, y: 1, xn: 2, yn: 2)
28
+ Vedeu::Geometry::Geometry.new(name: _name, x: 1, y: 1, xn: 2, yn: 2)
29
29
  }
30
30
 
31
31
  before do
@@ -38,7 +38,7 @@ module Vedeu
38
38
  Vedeu::Views::Char.new(value: 'a',
39
39
  colour: colour,
40
40
  parent: parent,
41
- position: Vedeu::Position[5, 3])
41
+ position: Vedeu::Geometry::Position[5, 3])
42
42
  ]
43
43
  ]
44
44
  }
@@ -20,7 +20,7 @@ module Vedeu
20
20
  }
21
21
  let(:visible) { true }
22
22
  let(:interface) { Vedeu::Interface.new(style: nil, visible: visible) }
23
- let(:geometry) { Vedeu::Geometry.new(height: 3, width: 3) }
23
+ let(:geometry) { Vedeu::Geometry::Geometry.new(height: 3, width: 3) }
24
24
 
25
25
  before do
26
26
  Vedeu.interfaces.stubs(:by_name).returns(interface)
@@ -51,10 +51,13 @@ module Vedeu
51
51
  end
52
52
 
53
53
  describe '#render' do
54
- let(:cursor) { Vedeu::Cursor.new(cursor_attributes) }
55
- let(:cursor_attributes) {
56
- { name: 'lithium', ox: ox, oy: oy, visible: true, x: x, y: y }
57
- }
54
+ let(:cursor) {
55
+ Vedeu::Cursors::Cursor.new(name: 'lithium',
56
+ ox: ox,
57
+ oy: oy,
58
+ visible: true,
59
+ x: x,
60
+ y: y) }
58
61
  let(:lines) { [] }
59
62
  let(:ox) { 0 }
60
63
  let(:oy) { 0 }
@@ -73,10 +76,13 @@ module Vedeu
73
76
  end
74
77
 
75
78
  describe '#to_s' do
76
- let(:cursor) { Vedeu::Cursor.new(cursor_attributes) }
77
- let(:cursor_attributes) {
78
- { name: 'lithium', ox: ox, oy: oy, visible: true, x: x, y: y }
79
- }
79
+ let(:cursor) {
80
+ Vedeu::Cursors::Cursor.new(name: 'lithium',
81
+ ox: ox,
82
+ oy: oy,
83
+ visible: true,
84
+ x: x,
85
+ y: y) }
80
86
  let(:lines) { [] }
81
87
  let(:ox) { 0 }
82
88
  let(:oy) { 0 }
@@ -22,18 +22,18 @@ module Vedeu
22
22
  it { proc { subject }.must_raise(Vedeu::Error::MissingRequired) }
23
23
  end
24
24
 
25
- # describe '.by_name' do
26
- # let(:_name) { 'aluminium' }
27
- # let(:buffer) { Vedeu::Null::Buffer.new(name: _name) }
28
-
29
- # subject { described.by_name(_name) }
30
-
31
- # it {
32
- # Vedeu.buffers.expects(:by_name).with(_name).returns(buffer)
33
- # buffer.expects(:render)
34
- # subject
35
- # }
36
- # end
25
+ # describe '.by_name' do
26
+ # let(:_name) { 'aluminium' }
27
+ # let(:buffer) { Vedeu::Buffers::Null.new(name: _name) }
28
+ #
29
+ # subject { described.by_name(_name) }
30
+ #
31
+ # it {
32
+ # Vedeu.buffers.expects(:by_name).with(_name).returns(buffer)
33
+ # buffer.expects(:render)
34
+ # subject
35
+ # }
36
+ # end
37
37
 
38
38
  context 'when the name is present' do
39
39
  # @todo Add more tests.
@@ -16,7 +16,7 @@ module Vedeu
16
16
  end
17
17
 
18
18
  context 'when the klass is a repository class' do
19
- let(:klass) { Vedeu::Buffers }
19
+ let(:klass) { Vedeu::Buffers::Repository }
20
20
 
21
21
  it { subject.wont_be_empty }
22
22
  end
@@ -183,6 +183,13 @@ module Vedeu
183
183
  end
184
184
  end
185
185
 
186
+ describe '#inspect' do
187
+ subject { instance.inspect }
188
+
189
+ it { subject.must_be_instance_of(String) }
190
+ it { subject.must_equal('<Vedeu::Repository>') }
191
+ end
192
+
186
193
  describe '#registered?' do
187
194
  it 'returns false with no name' do
188
195
  RepositoriesTestClass.new.registered?('').must_equal(false)
@@ -127,7 +127,7 @@ module Vedeu
127
127
  subject { described.cursor }
128
128
 
129
129
  #it { subject.must_be_instance_of(Array) }
130
- #it { subject.must_be_instance_of(Vedeu::Position) }
130
+ #it { subject.must_be_instance_of(Vedeu::Geometry::Position) }
131
131
  end
132
132
 
133
133
  describe '.centre' do
data/test/test_helper.rb CHANGED
@@ -22,7 +22,7 @@ unless ENV['NO_SIMPLECOV']
22
22
  add_group 'buffers', 'vedeu/buffers'
23
23
  add_group 'colours', 'vedeu/colours'
24
24
  add_group 'configuration', 'vedeu/configuration'
25
- add_group 'cursor', 'vedeu/cursor'
25
+ add_group 'cursors', 'vedeu/cursors'
26
26
  add_group 'distributed', 'vedeu/distributed'
27
27
  add_group 'dsl', 'vedeu/dsl'
28
28
  add_group 'esc', 'vedeu/esc'
data/vedeu.gemspec CHANGED
@@ -23,10 +23,10 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency 'guard', '2.13.0'
24
24
  spec.add_development_dependency 'guard-minitest', '2.4.4'
25
25
  spec.add_development_dependency 'minitest', '5.8.0'
26
- spec.add_development_dependency 'minitest-reporters', '1.1.0'
26
+ # spec.add_development_dependency 'minitest-reporters', '1.1.0'
27
27
  spec.add_development_dependency 'mocha', '1.1.0'
28
28
  spec.add_development_dependency 'pry', '0.10.1'
29
- spec.add_development_dependency 'rubocop', '0.34.0'
29
+ spec.add_development_dependency 'rubocop', '0.34.1'
30
30
  spec.add_development_dependency 'ruby-prof', '0.15.8'
31
31
  spec.add_development_dependency 'simplecov', '0.10.0'
32
32
  spec.add_development_dependency 'simplecov-console', '0.2.0'
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.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Laking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-08 00:00:00.000000000 Z
11
+ date: 2015-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 5.8.0
55
- - !ruby/object:Gem::Dependency
56
- name: minitest-reporters
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '='
60
- - !ruby/object:Gem::Version
61
- version: 1.1.0
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '='
67
- - !ruby/object:Gem::Version
68
- version: 1.1.0
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: mocha
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +86,14 @@ dependencies:
100
86
  requirements:
101
87
  - - '='
102
88
  - !ruby/object:Gem::Version
103
- version: 0.34.0
89
+ version: 0.34.1
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - '='
109
95
  - !ruby/object:Gem::Version
110
- version: 0.34.0
96
+ version: 0.34.1
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: ruby-prof
113
99
  requirement: !ruby/object:Gem::Requirement
@@ -217,6 +203,7 @@ executables:
217
203
  extensions: []
218
204
  extra_rdoc_files: []
219
205
  files:
206
+ - ".codeclimate.yml"
220
207
  - ".gitignore"
221
208
  - ".rubocop.yml"
222
209
  - ".ruby-version"
@@ -276,11 +263,16 @@ files:
276
263
  - lib/vedeu/bindings/refresh.rb
277
264
  - lib/vedeu/bindings/system.rb
278
265
  - lib/vedeu/bindings/visibility.rb
266
+ - lib/vedeu/borders/all.rb
279
267
  - lib/vedeu/borders/border.rb
280
- - lib/vedeu/borders/borders.rb
281
- - lib/vedeu/borders/render_border.rb
268
+ - lib/vedeu/borders/dsl.rb
269
+ - lib/vedeu/borders/null.rb
270
+ - lib/vedeu/borders/render.rb
271
+ - lib/vedeu/borders/repository.rb
272
+ - lib/vedeu/buffers/all.rb
282
273
  - lib/vedeu/buffers/buffer.rb
283
- - lib/vedeu/buffers/buffers.rb
274
+ - lib/vedeu/buffers/null.rb
275
+ - lib/vedeu/buffers/repository.rb
284
276
  - lib/vedeu/buffers/virtual_buffer.rb
285
277
  - lib/vedeu/buffers/virtual_buffers.rb
286
278
  - lib/vedeu/colours/all.rb
@@ -295,10 +287,10 @@ files:
295
287
  - lib/vedeu/configuration/api.rb
296
288
  - lib/vedeu/configuration/cli.rb
297
289
  - lib/vedeu/configuration/configuration.rb
298
- - lib/vedeu/cursor/cursor.rb
299
- - lib/vedeu/cursor/cursors.rb
300
- - lib/vedeu/cursor/move.rb
301
- - lib/vedeu/cursor/reposition.rb
290
+ - lib/vedeu/cursors/all.rb
291
+ - lib/vedeu/cursors/cursor.rb
292
+ - lib/vedeu/cursors/refresh.rb
293
+ - lib/vedeu/cursors/repository.rb
302
294
  - lib/vedeu/distributed/client.rb
303
295
  - lib/vedeu/distributed/server.rb
304
296
  - lib/vedeu/distributed/subprocess.rb
@@ -313,10 +305,8 @@ files:
313
305
  - lib/vedeu/distributed/templates/default_views.vedeu
314
306
  - lib/vedeu/distributed/test_application.rb
315
307
  - lib/vedeu/distributed/uri.rb
316
- - lib/vedeu/dsl/border.rb
317
308
  - lib/vedeu/dsl/composition.rb
318
309
  - lib/vedeu/dsl/dsl.rb
319
- - lib/vedeu/dsl/geometry.rb
320
310
  - lib/vedeu/dsl/group.rb
321
311
  - lib/vedeu/dsl/interface.rb
322
312
  - lib/vedeu/dsl/keymap.rb
@@ -328,6 +318,7 @@ files:
328
318
  - lib/vedeu/dsl/text.rb
329
319
  - lib/vedeu/dsl/use.rb
330
320
  - lib/vedeu/dsl/view.rb
321
+ - lib/vedeu/error.rb
331
322
  - lib/vedeu/esc/actions.rb
332
323
  - lib/vedeu/esc/borders.rb
333
324
  - lib/vedeu/esc/colours.rb
@@ -338,15 +329,17 @@ files:
338
329
  - lib/vedeu/events/event.rb
339
330
  - lib/vedeu/events/repository.rb
340
331
  - lib/vedeu/events/trigger.rb
341
- - lib/vedeu/exceptions.rb
332
+ - lib/vedeu/geometry/all.rb
342
333
  - lib/vedeu/geometry/area.rb
343
334
  - lib/vedeu/geometry/coordinate.rb
344
335
  - lib/vedeu/geometry/dimension.rb
336
+ - lib/vedeu/geometry/dsl.rb
345
337
  - lib/vedeu/geometry/generic_coordinate.rb
346
- - lib/vedeu/geometry/geometries.rb
347
338
  - lib/vedeu/geometry/geometry.rb
348
339
  - lib/vedeu/geometry/grid.rb
340
+ - lib/vedeu/geometry/null.rb
349
341
  - lib/vedeu/geometry/position.rb
342
+ - lib/vedeu/geometry/repository.rb
350
343
  - lib/vedeu/input/editor/all.rb
351
344
  - lib/vedeu/input/editor/capture.rb
352
345
  - lib/vedeu/input/editor/cropper.rb
@@ -379,6 +372,8 @@ files:
379
372
  - lib/vedeu/models/interfaces.rb
380
373
  - lib/vedeu/models/menu.rb
381
374
  - lib/vedeu/models/menus.rb
375
+ - lib/vedeu/models/page.rb
376
+ - lib/vedeu/models/row.rb
382
377
  - lib/vedeu/models/toggleable.rb
383
378
  - lib/vedeu/models/views/all.rb
384
379
  - lib/vedeu/models/views/char.rb
@@ -390,14 +385,12 @@ files:
390
385
  - lib/vedeu/models/views/line.rb
391
386
  - lib/vedeu/models/views/stream.rb
392
387
  - lib/vedeu/models/views/view.rb
393
- - lib/vedeu/null/border.rb
394
- - lib/vedeu/null/buffer.rb
395
388
  - lib/vedeu/null/generic.rb
396
- - lib/vedeu/null/geometry.rb
397
389
  - lib/vedeu/null/interface.rb
398
390
  - lib/vedeu/null/menu.rb
399
391
  - lib/vedeu/null/null.rb
400
392
  - lib/vedeu/null/view.rb
393
+ - lib/vedeu/options.rb
401
394
  - lib/vedeu/output/clear/named_group.rb
402
395
  - lib/vedeu/output/clear/named_interface.rb
403
396
  - lib/vedeu/output/compressor.rb
@@ -425,7 +418,6 @@ files:
425
418
  - lib/vedeu/plugins/plugins.rb
426
419
  - lib/vedeu/refresh/refresh.rb
427
420
  - lib/vedeu/refresh/refresh_buffer.rb
428
- - lib/vedeu/refresh/refresh_cursor.rb
429
421
  - lib/vedeu/refresh/refresh_group.rb
430
422
  - lib/vedeu/repositories/collection.rb
431
423
  - lib/vedeu/repositories/model.rb
@@ -468,10 +460,13 @@ files:
468
460
  - test/lib/vedeu/bindings/system_test.rb
469
461
  - test/lib/vedeu/bindings/visibility_test.rb
470
462
  - test/lib/vedeu/borders/border_test.rb
471
- - test/lib/vedeu/borders/borders_test.rb
472
- - test/lib/vedeu/borders/render_border_test.rb
463
+ - test/lib/vedeu/borders/dsl_test.rb
464
+ - test/lib/vedeu/borders/null_test.rb
465
+ - test/lib/vedeu/borders/render_test.rb
466
+ - test/lib/vedeu/borders/repository_test.rb
473
467
  - test/lib/vedeu/buffers/buffer_test.rb
474
- - test/lib/vedeu/buffers/buffers_test.rb
468
+ - test/lib/vedeu/buffers/null_test.rb
469
+ - test/lib/vedeu/buffers/repository_test.rb
475
470
  - test/lib/vedeu/buffers/virtual_buffer_test.rb
476
471
  - test/lib/vedeu/buffers/virtual_buffers_test.rb
477
472
  - test/lib/vedeu/colours/background_test.rb
@@ -485,19 +480,16 @@ files:
485
480
  - test/lib/vedeu/configuration/api_test.rb
486
481
  - test/lib/vedeu/configuration/cli_test.rb
487
482
  - test/lib/vedeu/configuration/configuration_test.rb
488
- - test/lib/vedeu/cursor/cursor_test.rb
489
- - test/lib/vedeu/cursor/cursors_test.rb
490
- - test/lib/vedeu/cursor/move_test.rb
491
- - test/lib/vedeu/cursor/reposition_test.rb
483
+ - test/lib/vedeu/cursors/cursor_test.rb
484
+ - test/lib/vedeu/cursors/refresh_test.rb
485
+ - test/lib/vedeu/cursors/repository_test.rb
492
486
  - test/lib/vedeu/distributed/client_test.rb
493
487
  - test/lib/vedeu/distributed/server_test.rb
494
488
  - test/lib/vedeu/distributed/subprocess_test.rb
495
489
  - test/lib/vedeu/distributed/test_application_test.rb
496
490
  - test/lib/vedeu/distributed/uri_test.rb
497
- - test/lib/vedeu/dsl/border_test.rb
498
491
  - test/lib/vedeu/dsl/composition_test.rb
499
492
  - test/lib/vedeu/dsl/dsl_test.rb
500
- - test/lib/vedeu/dsl/geometry_test.rb
501
493
  - test/lib/vedeu/dsl/group_test.rb
502
494
  - test/lib/vedeu/dsl/interface_test.rb
503
495
  - test/lib/vedeu/dsl/keymap_test.rb
@@ -509,6 +501,7 @@ files:
509
501
  - test/lib/vedeu/dsl/text_test.rb
510
502
  - test/lib/vedeu/dsl/use_test.rb
511
503
  - test/lib/vedeu/dsl/view_test.rb
504
+ - test/lib/vedeu/error_test.rb
512
505
  - test/lib/vedeu/esc/actions_test.rb
513
506
  - test/lib/vedeu/esc/borders_test.rb
514
507
  - test/lib/vedeu/esc/colours_test.rb
@@ -518,15 +511,16 @@ files:
518
511
  - test/lib/vedeu/events/event_test.rb
519
512
  - test/lib/vedeu/events/repository_test.rb
520
513
  - test/lib/vedeu/events/trigger_test.rb
521
- - test/lib/vedeu/exceptions_test.rb
522
514
  - test/lib/vedeu/geometry/area_test.rb
523
515
  - test/lib/vedeu/geometry/coordinate_test.rb
524
516
  - test/lib/vedeu/geometry/dimension_test.rb
517
+ - test/lib/vedeu/geometry/dsl_test.rb
525
518
  - test/lib/vedeu/geometry/generic_coordinate_test.rb
526
- - test/lib/vedeu/geometry/geometries_test.rb
527
519
  - test/lib/vedeu/geometry/geometry_test.rb
528
520
  - test/lib/vedeu/geometry/grid_test.rb
521
+ - test/lib/vedeu/geometry/null_test.rb
529
522
  - test/lib/vedeu/geometry/position_test.rb
523
+ - test/lib/vedeu/geometry/repository_test.rb
530
524
  - test/lib/vedeu/input/editor/capture_test.rb
531
525
  - test/lib/vedeu/input/editor/cropper_test.rb
532
526
  - test/lib/vedeu/input/editor/cursor_test.rb
@@ -558,6 +552,8 @@ files:
558
552
  - test/lib/vedeu/models/interfaces_test.rb
559
553
  - test/lib/vedeu/models/menu_test.rb
560
554
  - test/lib/vedeu/models/menus_test.rb
555
+ - test/lib/vedeu/models/page_test.rb
556
+ - test/lib/vedeu/models/row_test.rb
561
557
  - test/lib/vedeu/models/toggleable_test.rb
562
558
  - test/lib/vedeu/models/views/char_test.rb
563
559
  - test/lib/vedeu/models/views/collections/chars_test.rb
@@ -568,14 +564,12 @@ files:
568
564
  - test/lib/vedeu/models/views/line_test.rb
569
565
  - test/lib/vedeu/models/views/stream_test.rb
570
566
  - test/lib/vedeu/models/views/view_test.rb
571
- - test/lib/vedeu/null/border_test.rb
572
- - test/lib/vedeu/null/buffer_test.rb
573
567
  - test/lib/vedeu/null/generic_test.rb
574
- - test/lib/vedeu/null/geometry_test.rb
575
568
  - test/lib/vedeu/null/interface_test.rb
576
569
  - test/lib/vedeu/null/menu_test.rb
577
570
  - test/lib/vedeu/null/null_test.rb
578
571
  - test/lib/vedeu/null/view_test.rb
572
+ - test/lib/vedeu/options_test.rb
579
573
  - test/lib/vedeu/output/clear/named_group_test.rb
580
574
  - test/lib/vedeu/output/clear/named_interface_test.rb
581
575
  - test/lib/vedeu/output/compressor_test.rb
@@ -601,7 +595,6 @@ files:
601
595
  - test/lib/vedeu/plugins/plugin_test.rb
602
596
  - test/lib/vedeu/plugins/plugins_test.rb
603
597
  - test/lib/vedeu/refresh/refresh_buffer_test.rb
604
- - test/lib/vedeu/refresh/refresh_cursor_test.rb
605
598
  - test/lib/vedeu/refresh/refresh_group_test.rb
606
599
  - test/lib/vedeu/refresh/refresh_test.rb
607
600
  - test/lib/vedeu/repositories/collection_test.rb
@@ -676,10 +669,13 @@ test_files:
676
669
  - test/lib/vedeu/bindings/system_test.rb
677
670
  - test/lib/vedeu/bindings/visibility_test.rb
678
671
  - test/lib/vedeu/borders/border_test.rb
679
- - test/lib/vedeu/borders/borders_test.rb
680
- - test/lib/vedeu/borders/render_border_test.rb
672
+ - test/lib/vedeu/borders/dsl_test.rb
673
+ - test/lib/vedeu/borders/null_test.rb
674
+ - test/lib/vedeu/borders/render_test.rb
675
+ - test/lib/vedeu/borders/repository_test.rb
681
676
  - test/lib/vedeu/buffers/buffer_test.rb
682
- - test/lib/vedeu/buffers/buffers_test.rb
677
+ - test/lib/vedeu/buffers/null_test.rb
678
+ - test/lib/vedeu/buffers/repository_test.rb
683
679
  - test/lib/vedeu/buffers/virtual_buffer_test.rb
684
680
  - test/lib/vedeu/buffers/virtual_buffers_test.rb
685
681
  - test/lib/vedeu/colours/background_test.rb
@@ -693,19 +689,16 @@ test_files:
693
689
  - test/lib/vedeu/configuration/api_test.rb
694
690
  - test/lib/vedeu/configuration/cli_test.rb
695
691
  - test/lib/vedeu/configuration/configuration_test.rb
696
- - test/lib/vedeu/cursor/cursor_test.rb
697
- - test/lib/vedeu/cursor/cursors_test.rb
698
- - test/lib/vedeu/cursor/move_test.rb
699
- - test/lib/vedeu/cursor/reposition_test.rb
692
+ - test/lib/vedeu/cursors/cursor_test.rb
693
+ - test/lib/vedeu/cursors/refresh_test.rb
694
+ - test/lib/vedeu/cursors/repository_test.rb
700
695
  - test/lib/vedeu/distributed/client_test.rb
701
696
  - test/lib/vedeu/distributed/server_test.rb
702
697
  - test/lib/vedeu/distributed/subprocess_test.rb
703
698
  - test/lib/vedeu/distributed/test_application_test.rb
704
699
  - test/lib/vedeu/distributed/uri_test.rb
705
- - test/lib/vedeu/dsl/border_test.rb
706
700
  - test/lib/vedeu/dsl/composition_test.rb
707
701
  - test/lib/vedeu/dsl/dsl_test.rb
708
- - test/lib/vedeu/dsl/geometry_test.rb
709
702
  - test/lib/vedeu/dsl/group_test.rb
710
703
  - test/lib/vedeu/dsl/interface_test.rb
711
704
  - test/lib/vedeu/dsl/keymap_test.rb
@@ -717,6 +710,7 @@ test_files:
717
710
  - test/lib/vedeu/dsl/text_test.rb
718
711
  - test/lib/vedeu/dsl/use_test.rb
719
712
  - test/lib/vedeu/dsl/view_test.rb
713
+ - test/lib/vedeu/error_test.rb
720
714
  - test/lib/vedeu/esc/actions_test.rb
721
715
  - test/lib/vedeu/esc/borders_test.rb
722
716
  - test/lib/vedeu/esc/colours_test.rb
@@ -726,15 +720,16 @@ test_files:
726
720
  - test/lib/vedeu/events/event_test.rb
727
721
  - test/lib/vedeu/events/repository_test.rb
728
722
  - test/lib/vedeu/events/trigger_test.rb
729
- - test/lib/vedeu/exceptions_test.rb
730
723
  - test/lib/vedeu/geometry/area_test.rb
731
724
  - test/lib/vedeu/geometry/coordinate_test.rb
732
725
  - test/lib/vedeu/geometry/dimension_test.rb
726
+ - test/lib/vedeu/geometry/dsl_test.rb
733
727
  - test/lib/vedeu/geometry/generic_coordinate_test.rb
734
- - test/lib/vedeu/geometry/geometries_test.rb
735
728
  - test/lib/vedeu/geometry/geometry_test.rb
736
729
  - test/lib/vedeu/geometry/grid_test.rb
730
+ - test/lib/vedeu/geometry/null_test.rb
737
731
  - test/lib/vedeu/geometry/position_test.rb
732
+ - test/lib/vedeu/geometry/repository_test.rb
738
733
  - test/lib/vedeu/input/editor/capture_test.rb
739
734
  - test/lib/vedeu/input/editor/cropper_test.rb
740
735
  - test/lib/vedeu/input/editor/cursor_test.rb
@@ -766,6 +761,8 @@ test_files:
766
761
  - test/lib/vedeu/models/interfaces_test.rb
767
762
  - test/lib/vedeu/models/menu_test.rb
768
763
  - test/lib/vedeu/models/menus_test.rb
764
+ - test/lib/vedeu/models/page_test.rb
765
+ - test/lib/vedeu/models/row_test.rb
769
766
  - test/lib/vedeu/models/toggleable_test.rb
770
767
  - test/lib/vedeu/models/views/char_test.rb
771
768
  - test/lib/vedeu/models/views/collections/chars_test.rb
@@ -776,14 +773,12 @@ test_files:
776
773
  - test/lib/vedeu/models/views/line_test.rb
777
774
  - test/lib/vedeu/models/views/stream_test.rb
778
775
  - test/lib/vedeu/models/views/view_test.rb
779
- - test/lib/vedeu/null/border_test.rb
780
- - test/lib/vedeu/null/buffer_test.rb
781
776
  - test/lib/vedeu/null/generic_test.rb
782
- - test/lib/vedeu/null/geometry_test.rb
783
777
  - test/lib/vedeu/null/interface_test.rb
784
778
  - test/lib/vedeu/null/menu_test.rb
785
779
  - test/lib/vedeu/null/null_test.rb
786
780
  - test/lib/vedeu/null/view_test.rb
781
+ - test/lib/vedeu/options_test.rb
787
782
  - test/lib/vedeu/output/clear/named_group_test.rb
788
783
  - test/lib/vedeu/output/clear/named_interface_test.rb
789
784
  - test/lib/vedeu/output/compressor_test.rb
@@ -809,7 +804,6 @@ test_files:
809
804
  - test/lib/vedeu/plugins/plugin_test.rb
810
805
  - test/lib/vedeu/plugins/plugins_test.rb
811
806
  - test/lib/vedeu/refresh/refresh_buffer_test.rb
812
- - test/lib/vedeu/refresh/refresh_cursor_test.rb
813
807
  - test/lib/vedeu/refresh/refresh_group_test.rb
814
808
  - test/lib/vedeu/refresh/refresh_test.rb
815
809
  - test/lib/vedeu/repositories/collection_test.rb