vedeu 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/README.md +1 -2
  4. data/Rakefile +5 -5
  5. data/bin/vedeu +8 -4
  6. data/docs/api.md +3 -1
  7. data/docs/events.md +43 -29
  8. data/docs/getting_started.md +2 -0
  9. data/examples/cursor_app/cursor_app.rb +85 -0
  10. data/examples/lines_app/lines_app.rb +60 -0
  11. data/lib/vedeu.rb +9 -3
  12. data/lib/vedeu/api/api.rb +28 -7
  13. data/lib/vedeu/api/composition.rb +2 -0
  14. data/lib/vedeu/api/helpers.rb +2 -0
  15. data/lib/vedeu/api/interface.rb +2 -20
  16. data/lib/vedeu/api/keymap.rb +2 -0
  17. data/lib/vedeu/api/line.rb +2 -0
  18. data/lib/vedeu/api/menu.rb +3 -1
  19. data/lib/vedeu/api/stream.rb +25 -2
  20. data/lib/vedeu/application.rb +4 -4
  21. data/lib/vedeu/configuration/api.rb +327 -0
  22. data/lib/vedeu/configuration/cli.rb +110 -0
  23. data/lib/vedeu/{configuration.rb → configuration/configuration.rb} +49 -99
  24. data/lib/vedeu/launcher.rb +0 -1
  25. data/lib/vedeu/models/attributes/colour_translator.rb +2 -2
  26. data/lib/vedeu/models/colour.rb +0 -1
  27. data/lib/vedeu/models/composition.rb +2 -8
  28. data/lib/vedeu/models/cursor.rb +261 -0
  29. data/lib/vedeu/models/geometry.rb +11 -19
  30. data/lib/vedeu/models/interface.rb +2 -12
  31. data/lib/vedeu/models/keymap.rb +2 -0
  32. data/lib/vedeu/models/line.rb +2 -0
  33. data/lib/vedeu/models/stream.rb +2 -0
  34. data/lib/vedeu/models/style.rb +2 -0
  35. data/lib/vedeu/output/clear.rb +0 -1
  36. data/lib/vedeu/output/compositor.rb +0 -1
  37. data/lib/vedeu/output/refresh.rb +3 -0
  38. data/lib/vedeu/output/render.rb +12 -6
  39. data/lib/vedeu/output/view.rb +1 -0
  40. data/lib/vedeu/repositories/cursors.rb +98 -0
  41. data/lib/vedeu/repositories/events.rb +0 -1
  42. data/lib/vedeu/repositories/focus.rb +18 -0
  43. data/lib/vedeu/repositories/menus.rb +4 -4
  44. data/lib/vedeu/support/common.rb +2 -1
  45. data/lib/vedeu/support/event.rb +1 -10
  46. data/lib/vedeu/support/grid.rb +1 -2
  47. data/lib/vedeu/{repositories → support}/keymap_validator.rb +5 -4
  48. data/lib/vedeu/support/log.rb +3 -0
  49. data/lib/vedeu/support/menu.rb +4 -1
  50. data/lib/vedeu/support/registrar.rb +2 -1
  51. data/test/integration/defining_interfaces_test.rb +0 -1
  52. data/test/integration/views/basic_view_test.rb +741 -739
  53. data/test/lib/vedeu/api/api_test.rb +14 -3
  54. data/test/lib/vedeu/api/helpers_test.rb +3 -3
  55. data/test/lib/vedeu/api/interface_test.rb +17 -70
  56. data/test/lib/vedeu/api/keymap_test.rb +2 -0
  57. data/test/lib/vedeu/api/line_test.rb +4 -4
  58. data/test/lib/vedeu/api/menu_test.rb +6 -5
  59. data/test/lib/vedeu/api/stream_test.rb +18 -0
  60. data/test/lib/vedeu/configuration/api_test.rb +248 -0
  61. data/test/lib/vedeu/configuration/cli_test.rb +88 -0
  62. data/test/lib/vedeu/configuration/configuration_test.rb +67 -0
  63. data/test/lib/vedeu/input/input_test.rb +2 -2
  64. data/test/lib/vedeu/models/attributes/background_test.rb +3 -3
  65. data/test/lib/vedeu/models/attributes/foreground_test.rb +3 -3
  66. data/test/lib/vedeu/models/composition_test.rb +0 -222
  67. data/test/lib/vedeu/models/cursor_test.rb +164 -0
  68. data/test/lib/vedeu/models/interface_test.rb +0 -11
  69. data/test/lib/vedeu/output/compositor_test.rb +2 -4
  70. data/test/lib/vedeu/output/render_test.rb +4 -41
  71. data/test/lib/vedeu/repositories/cursors_test.rb +13 -0
  72. data/test/lib/vedeu/repositories/focus_test.rb +14 -4
  73. data/test/lib/vedeu/repositories/menus_test.rb +36 -29
  74. data/test/lib/vedeu/{repositories → support}/keymap_validator_test.rb +0 -0
  75. data/test/lib/vedeu/support/menu_test.rb +3 -3
  76. data/test/lib/vedeu/support/registrar_test.rb +6 -0
  77. data/test/lib/vedeu/support/terminal_test.rb +2 -2
  78. data/test/test_helper.rb +1 -1
  79. data/vedeu.gemspec +1 -1
  80. metadata +23 -14
  81. data/elements.txt +0 -118
  82. data/lib/vedeu/support/cursor.rb +0 -96
  83. data/test/lib/vedeu/configuration_test.rb +0 -154
  84. data/test/lib/vedeu/support/cursor_test.rb +0 -79
  85. data/test/support/model_test_data.json +0 -437
@@ -47,7 +47,6 @@ module Vedeu
47
47
  width: 10,
48
48
  height: 15
49
49
  },
50
- cursor: true,
51
50
  delay: 0.0,
52
51
  parent: nil
53
52
  }
@@ -79,16 +78,6 @@ module Vedeu
79
78
  end
80
79
  end
81
80
 
82
- describe '#cursor' do
83
- it 'returns an escape sequence when the cursor is enabled (default)' do
84
- Interface.new({ cursor: true }).cursor.must_equal("\e[?25h")
85
- end
86
-
87
- it 'returns an escape sequence when the cursor is disabled' do
88
- Interface.new({ cursor: false }).cursor.must_equal("\e[?25l")
89
- end
90
- end
91
-
92
81
  describe '#delay' do
93
82
  it 'returns the value' do
94
83
  interface.delay.must_equal(0.0)
@@ -21,8 +21,7 @@ module Vedeu
21
21
  Compositor.render('xenon').must_equal([
22
22
  "\e[1;1H \e[1;1H" \
23
23
  "\e[2;1H \e[2;1H" \
24
- "\e[3;1H \e[3;1H" \
25
- "\e[?25h"
24
+ "\e[3;1H \e[3;1H"
26
25
  ])
27
26
  end
28
27
  end
@@ -54,8 +53,7 @@ module Vedeu
54
53
  "\e[3;1H \e[3;1H" \
55
54
  "\e[1;1Hargon" \
56
55
  "\e[2;1Hboron" \
57
- "\e[3;1Hradon" \
58
- "\e[?25h"
56
+ "\e[3;1Hradon"
59
57
  ])
60
58
  end
61
59
  end
@@ -41,7 +41,7 @@ module Vedeu
41
41
  "\e[3;1H \e[3;1H" \
42
42
  "\e[1;1Hthis is the first" \
43
43
  "\e[2;1Hthis is the second and it is lon" \
44
- "\e[3;1Hthis is the third, it is even lo\e[?25h"
44
+ "\e[3;1Hthis is the third, it is even lo"
45
45
  )
46
46
  end
47
47
 
@@ -58,14 +58,13 @@ module Vedeu
58
58
  Render.call(interface).must_equal(
59
59
  "\e[1;1H \e[1;1H" \
60
60
  "\e[2;1H \e[2;1H" \
61
- "\e[3;1H \e[3;1H\e[?25h"
61
+ "\e[3;1H \e[3;1H"
62
62
  )
63
63
  end
64
64
 
65
65
  it 'skips lines which have streams with no content' do
66
66
  interface = Interface.new({
67
67
  name: '.call',
68
- cursor: false,
69
68
  geometry: {
70
69
  width: 32,
71
70
  height: 3,
@@ -92,42 +91,7 @@ module Vedeu
92
91
  "\e[3;1H \e[3;1H" \
93
92
  "\e[1;1Hthis is the first" \
94
93
  "\e[2;1H" \
95
- "\e[3;1Hthis is the third, it is even lo\e[?25l"
96
- )
97
- end
98
-
99
- it 'returns the content for the interface, starting at the optional ' \
100
- 'top' do
101
- interface = Interface.new({
102
- name: '.call',
103
- geometry: {
104
- width: 32,
105
- height: 4,
106
- },
107
- lines: [
108
- {
109
- streams: [{ text: 'this is the first' }]
110
- }, {
111
- streams: { text: 'this is the second and it is long' }
112
- }, {
113
- streams: [
114
- { text: 'this is the third, ' },
115
- { text: 'it is even longer ' },
116
- { text: 'and still truncated' }
117
- ]
118
- }, {
119
- streams: [{ text: 'this is exciting!' }]
120
- }
121
- ]
122
- })
123
- Render.call(interface, { top: 1 }).must_equal(
124
- "\e[1;1H \e[1;1H" \
125
- "\e[2;1H \e[2;1H" \
126
- "\e[3;1H \e[3;1H" \
127
- "\e[4;1H \e[4;1H" \
128
- "\e[1;1Hthis is the second and it is lon" \
129
- "\e[2;1Hthis is the third, it is even lo" \
130
- "\e[3;1Hthis is exciting!\e[?25h"
94
+ "\e[3;1Hthis is the third, it is even lo"
131
95
  )
132
96
  end
133
97
 
@@ -176,8 +140,7 @@ module Vedeu
176
140
  "\e[38;2;0;255;0mgreen\e[38;2;255;255;255m\e[48;2;0;0;0m" \
177
141
  " and the sky is \e[38;2;255;255;255m\e[48;2;0;0;0m" \
178
142
  "\e[38;2;0;0;255mblue\e[38;2;255;255;255m\e[48;2;0;0;0m" \
179
- ".\e[38;2;255;255;255m\e[48;2;0;0;0m" \
180
- "\e[?25h"
143
+ ".\e[38;2;255;255;255m\e[48;2;0;0;0m"
181
144
  ])
182
145
  end
183
146
  end
@@ -0,0 +1,13 @@
1
+ require 'test_helper'
2
+
3
+ module Vedeu
4
+ describe Cursors do
5
+
6
+ describe '#add' do
7
+ it 'returns something' do
8
+ skip
9
+ end
10
+ end
11
+
12
+ end
13
+ end
@@ -72,14 +72,24 @@ module Vedeu
72
72
  end
73
73
 
74
74
  describe '.registered?' do
75
- it '' do
76
- skip
75
+ it 'returns false when there are no interfaces registered' do
76
+ Focus.registered?('thallium').must_equal(false)
77
+ end
78
+
79
+ it 'returns false when the named interface is not registered' do
80
+ Focus.add({ name: 'thallium' })
81
+ Focus.registered?('lead').must_equal(false)
82
+ end
83
+
84
+ it 'returns true if the named interface is registered' do
85
+ Focus.add({ name: 'lead' })
86
+ Focus.registered?('lead').must_equal(true)
77
87
  end
78
88
  end
79
89
 
80
90
  describe '.reset' do
81
- it '' do
82
- skip
91
+ it 'returns an empty collection with no focussed interfaces stored' do
92
+ Focus.reset.must_equal([])
83
93
  end
84
94
  end
85
95
  end
@@ -5,10 +5,14 @@ module Vedeu
5
5
  describe Menus do
6
6
 
7
7
  describe 'System events defined by Menus' do
8
+ let(:collection) { [:sulphur, :gold, :tin, :helium] }
9
+ let(:instance) { Vedeu::Menu.new(collection) }
10
+
8
11
  before do
9
12
  Menus.reset
10
13
  Menus.add({ name: 'elements',
11
- items: Vedeu::Menu.new([:sulphur, :gold, :tin, :helium]) })
14
+ items: collection })
15
+ Vedeu::Menu.stubs(:new).returns(instance)
12
16
  end
13
17
 
14
18
  it 'raises an exception when triggered with an unregistered name' do
@@ -76,11 +80,13 @@ module Vedeu
76
80
  end
77
81
 
78
82
  it '_menu_select_' do
83
+ 2.times { Vedeu.trigger(:_menu_next_, 'elements') }
84
+
79
85
  Vedeu.trigger(:_menu_select_, 'elements').must_equal(
80
86
  [
81
- [true, true, :sulphur],
87
+ [false, false, :sulphur],
82
88
  [false, false, :gold],
83
- [false, false, :tin],
89
+ [true, true, :tin],
84
90
  [false, false, :helium]
85
91
  ]
86
92
  )
@@ -98,11 +104,15 @@ module Vedeu
98
104
  end
99
105
 
100
106
  it '_menu_items_' do
107
+ 2.times { Vedeu.trigger(:_menu_next_, 'elements') }
108
+ Vedeu.trigger(:_menu_select_, 'elements')
109
+ Vedeu.trigger(:_menu_prev_, 'elements')
110
+
101
111
  Vedeu.trigger(:_menu_items_, 'elements').must_equal(
102
112
  [
103
- [false, true, :sulphur],
104
- [false, false, :gold],
105
- [false, false, :tin],
113
+ [false, false, :sulphur],
114
+ [false, true, :gold],
115
+ [true, false, :tin],
106
116
  [false, false, :helium]
107
117
  ]
108
118
  )
@@ -121,20 +131,23 @@ module Vedeu
121
131
  end
122
132
 
123
133
  describe '#add' do
124
- before { Menus.reset }
134
+ let(:collection) { [:hydrogen, :helium, :beryllium, :lithium] }
135
+ let(:instance) { Vedeu::Menu.new(collection) }
136
+
137
+ before do
138
+ Menus.reset
139
+ Vedeu::Menu.stubs(:new).returns(instance)
140
+ end
125
141
 
126
142
  it 'returns false if the menu name is empty' do
127
143
  Menus.add({ name: '' }).must_equal(false)
128
144
  end
129
145
 
130
146
  it 'adds the menu to the storage' do
131
- collection = [:hydrogen, :helium, :beryllium, :lithium]
132
- items = Vedeu::Menu.new(collection)
133
-
134
- Menus.add({ name: 'elements', items: items })
147
+ Menus.add({ name: 'elements', items: collection })
135
148
  Menus.all.must_equal(
136
149
  {
137
- 'elements' => { name: 'elements', items: items }
150
+ 'elements' => { name: 'elements', items: instance }
138
151
  }
139
152
  )
140
153
  end
@@ -149,13 +162,7 @@ module Vedeu
149
162
  end
150
163
 
151
164
  it 'returns the storage' do
152
- Menus.all.must_equal(
153
- {
154
- 'barium' => { name: 'barium' },
155
- 'lanthanum' => { name: 'lanthanum' },
156
- 'cerium' => { name: 'cerium' }
157
- }
158
- )
165
+ Menus.all.keys.must_equal(['barium', 'lanthanum', 'cerium'])
159
166
  end
160
167
  end
161
168
 
@@ -167,7 +174,7 @@ module Vedeu
167
174
  end
168
175
 
169
176
  it 'returns the attributes of the named menu' do
170
- Menus.find('erbium').must_equal({ name: 'erbium' })
177
+ Menus.find('erbium').must_be_instance_of(Hash)
171
178
  end
172
179
  end
173
180
 
@@ -219,24 +226,24 @@ module Vedeu
219
226
 
220
227
  it 'removes all known menus from the storage' do
221
228
  Menus.add({ name: 'uranium' })
222
- Menus.all.must_equal({ 'uranium' => { name: 'uranium' } })
229
+ Menus.all.wont_be_empty
223
230
  Menus.reset.must_be_empty
224
231
  end
225
232
  end
226
233
 
227
234
  describe '#use' do
228
- it 'returns the Vedeu::Menu instance stored when the named menu exists' do
229
- collection = [:calcium, :fermium, :nitrogen, :palladium]
230
- items = Vedeu::Menu.new(collection)
231
- Menus.add({ name: 'elements', items: items })
235
+ let(:collection) { [:calcium, :fermium, :nitrogen, :palladium] }
236
+ let(:instance) { Vedeu::Menu.new(collection) }
232
237
 
233
- Menus.use('elements').must_equal(items)
238
+ before do
239
+ Menus.reset
240
+ Vedeu::Menu.stubs(:new).returns(instance)
234
241
  end
235
242
 
236
- it 'raises an exception if there are no items' do
237
- Menus.add({ name: 'elements' })
243
+ it 'returns the Vedeu::Menu instance stored when the named menu exists' do
244
+ Menus.add({ name: 'elements', items: collection })
238
245
 
239
- proc { Menus.use('elements') }.must_raise(MenuNotFound)
246
+ Menus.use('elements').must_equal(instance)
240
247
  end
241
248
  end
242
249
 
@@ -109,9 +109,9 @@ module Vedeu
109
109
  menu.next_item
110
110
  menu.view.must_equal(
111
111
  [
112
- [false, true, "carbon"],
113
- [false, false, "nitrogen"],
114
- [false, false, "oxygen"]
112
+ [false, true, 'carbon'],
113
+ [false, false, 'nitrogen'],
114
+ [false, false, 'oxygen']
115
115
  ]
116
116
  )
117
117
  end
@@ -49,6 +49,12 @@ module Vedeu
49
49
  Interfaces.registered?('mendelevium').must_equal(true)
50
50
  end
51
51
 
52
+ it 'sends the attributes to the Cursors repository' do
53
+ Registrar.record(attributes)
54
+
55
+ Cursors.registered?('mendelevium').must_equal(true)
56
+ end
57
+
52
58
  it 'sends the attributes to the Groups repository' do
53
59
  Registrar.record(attributes)
54
60
 
@@ -17,7 +17,7 @@ module Vedeu
17
17
  Terminal.open do
18
18
  print "Hello from raw mode!"
19
19
  end
20
- end.must_equal(["Hello from raw mode!", ""])
20
+ end.must_equal(['Hello from raw mode!', ''])
21
21
  end
22
22
  end
23
23
 
@@ -27,7 +27,7 @@ module Vedeu
27
27
  Terminal.open do
28
28
  print "Hello from cooked mode!"
29
29
  end
30
- end.must_equal(["Hello from cooked mode!", ""])
30
+ end.must_equal(['Hello from cooked mode!', ''])
31
31
  end
32
32
  end
33
33
  end
@@ -21,7 +21,7 @@ require 'mocha/setup'
21
21
 
22
22
  GC.disable
23
23
 
24
- ENV['VEDEU_TERM'] = 'xterm-truecolor'
24
+ ENV['VEDEU_TESTMODE'] = '1'
25
25
 
26
26
  require 'vedeu'
27
27
 
@@ -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.1'
7
+ spec.version = '0.2.2'
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.2.1
4
+ version: 0.2.2
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-09-14 00:00:00.000000000 Z
11
+ date: 2014-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -185,7 +185,9 @@ files:
185
185
  - bin/vedeu
186
186
  - docs/api.md
187
187
  - docs/events.md
188
- - elements.txt
188
+ - docs/getting_started.md
189
+ - examples/cursor_app/cursor_app.rb
190
+ - examples/lines_app/lines_app.rb
189
191
  - lib/vedeu.rb
190
192
  - lib/vedeu/api/api.rb
191
193
  - lib/vedeu/api/composition.rb
@@ -197,7 +199,9 @@ files:
197
199
  - lib/vedeu/api/menu.rb
198
200
  - lib/vedeu/api/stream.rb
199
201
  - lib/vedeu/application.rb
200
- - lib/vedeu/configuration.rb
202
+ - lib/vedeu/configuration/api.rb
203
+ - lib/vedeu/configuration/cli.rb
204
+ - lib/vedeu/configuration/configuration.rb
201
205
  - lib/vedeu/input/input.rb
202
206
  - lib/vedeu/launcher.rb
203
207
  - lib/vedeu/models/attributes/background.rb
@@ -207,6 +211,7 @@ files:
207
211
  - lib/vedeu/models/attributes/presentation.rb
208
212
  - lib/vedeu/models/colour.rb
209
213
  - lib/vedeu/models/composition.rb
214
+ - lib/vedeu/models/cursor.rb
210
215
  - lib/vedeu/models/geometry.rb
211
216
  - lib/vedeu/models/interface.rb
212
217
  - lib/vedeu/models/keymap.rb
@@ -219,18 +224,18 @@ files:
219
224
  - lib/vedeu/output/render.rb
220
225
  - lib/vedeu/output/view.rb
221
226
  - lib/vedeu/repositories/buffers.rb
227
+ - lib/vedeu/repositories/cursors.rb
222
228
  - lib/vedeu/repositories/events.rb
223
229
  - lib/vedeu/repositories/focus.rb
224
230
  - lib/vedeu/repositories/groups.rb
225
231
  - lib/vedeu/repositories/interfaces.rb
226
- - lib/vedeu/repositories/keymap_validator.rb
227
232
  - lib/vedeu/repositories/keymaps.rb
228
233
  - lib/vedeu/repositories/menus.rb
229
234
  - lib/vedeu/support/common.rb
230
- - lib/vedeu/support/cursor.rb
231
235
  - lib/vedeu/support/esc.rb
232
236
  - lib/vedeu/support/event.rb
233
237
  - lib/vedeu/support/grid.rb
238
+ - lib/vedeu/support/keymap_validator.rb
234
239
  - lib/vedeu/support/log.rb
235
240
  - lib/vedeu/support/menu.rb
236
241
  - lib/vedeu/support/position.rb
@@ -251,7 +256,9 @@ files:
251
256
  - test/lib/vedeu/api/menu_test.rb
252
257
  - test/lib/vedeu/api/stream_test.rb
253
258
  - test/lib/vedeu/application_test.rb
254
- - test/lib/vedeu/configuration_test.rb
259
+ - test/lib/vedeu/configuration/api_test.rb
260
+ - test/lib/vedeu/configuration/cli_test.rb
261
+ - test/lib/vedeu/configuration/configuration_test.rb
255
262
  - test/lib/vedeu/input/input_test.rb
256
263
  - test/lib/vedeu/launcher_test.rb
257
264
  - test/lib/vedeu/models/attributes/background_test.rb
@@ -261,6 +268,7 @@ files:
261
268
  - test/lib/vedeu/models/attributes/presentation_test.rb
262
269
  - test/lib/vedeu/models/colour_test.rb
263
270
  - test/lib/vedeu/models/composition_test.rb
271
+ - test/lib/vedeu/models/cursor_test.rb
264
272
  - test/lib/vedeu/models/geometry_test.rb
265
273
  - test/lib/vedeu/models/interface_test.rb
266
274
  - test/lib/vedeu/models/keymap_test.rb
@@ -273,18 +281,18 @@ files:
273
281
  - test/lib/vedeu/output/render_test.rb
274
282
  - test/lib/vedeu/output/view_test.rb
275
283
  - test/lib/vedeu/repositories/buffers_test.rb
284
+ - test/lib/vedeu/repositories/cursors_test.rb
276
285
  - test/lib/vedeu/repositories/events_test.rb
277
286
  - test/lib/vedeu/repositories/focus_test.rb
278
287
  - test/lib/vedeu/repositories/groups_test.rb
279
288
  - test/lib/vedeu/repositories/interfaces_test.rb
280
- - test/lib/vedeu/repositories/keymap_validator_test.rb
281
289
  - test/lib/vedeu/repositories/keymaps_test.rb
282
290
  - test/lib/vedeu/repositories/menus_test.rb
283
291
  - test/lib/vedeu/support/common_test.rb
284
- - test/lib/vedeu/support/cursor_test.rb
285
292
  - test/lib/vedeu/support/esc_test.rb
286
293
  - test/lib/vedeu/support/event_test.rb
287
294
  - test/lib/vedeu/support/grid_test.rb
295
+ - test/lib/vedeu/support/keymap_validator_test.rb
288
296
  - test/lib/vedeu/support/log_test.rb
289
297
  - test/lib/vedeu/support/menu_test.rb
290
298
  - test/lib/vedeu/support/position_test.rb
@@ -292,7 +300,6 @@ files:
292
300
  - test/lib/vedeu/support/terminal_test.rb
293
301
  - test/lib/vedeu/support/trace_test.rb
294
302
  - test/support/colour_test.sh
295
- - test/support/model_test_data.json
296
303
  - test/support/stats.sh
297
304
  - test/test_helper.rb
298
305
  - vedeu.gemspec
@@ -334,7 +341,9 @@ test_files:
334
341
  - test/lib/vedeu/api/menu_test.rb
335
342
  - test/lib/vedeu/api/stream_test.rb
336
343
  - test/lib/vedeu/application_test.rb
337
- - test/lib/vedeu/configuration_test.rb
344
+ - test/lib/vedeu/configuration/api_test.rb
345
+ - test/lib/vedeu/configuration/cli_test.rb
346
+ - test/lib/vedeu/configuration/configuration_test.rb
338
347
  - test/lib/vedeu/input/input_test.rb
339
348
  - test/lib/vedeu/launcher_test.rb
340
349
  - test/lib/vedeu/models/attributes/background_test.rb
@@ -344,6 +353,7 @@ test_files:
344
353
  - test/lib/vedeu/models/attributes/presentation_test.rb
345
354
  - test/lib/vedeu/models/colour_test.rb
346
355
  - test/lib/vedeu/models/composition_test.rb
356
+ - test/lib/vedeu/models/cursor_test.rb
347
357
  - test/lib/vedeu/models/geometry_test.rb
348
358
  - test/lib/vedeu/models/interface_test.rb
349
359
  - test/lib/vedeu/models/keymap_test.rb
@@ -356,18 +366,18 @@ test_files:
356
366
  - test/lib/vedeu/output/render_test.rb
357
367
  - test/lib/vedeu/output/view_test.rb
358
368
  - test/lib/vedeu/repositories/buffers_test.rb
369
+ - test/lib/vedeu/repositories/cursors_test.rb
359
370
  - test/lib/vedeu/repositories/events_test.rb
360
371
  - test/lib/vedeu/repositories/focus_test.rb
361
372
  - test/lib/vedeu/repositories/groups_test.rb
362
373
  - test/lib/vedeu/repositories/interfaces_test.rb
363
- - test/lib/vedeu/repositories/keymap_validator_test.rb
364
374
  - test/lib/vedeu/repositories/keymaps_test.rb
365
375
  - test/lib/vedeu/repositories/menus_test.rb
366
376
  - test/lib/vedeu/support/common_test.rb
367
- - test/lib/vedeu/support/cursor_test.rb
368
377
  - test/lib/vedeu/support/esc_test.rb
369
378
  - test/lib/vedeu/support/event_test.rb
370
379
  - test/lib/vedeu/support/grid_test.rb
380
+ - test/lib/vedeu/support/keymap_validator_test.rb
371
381
  - test/lib/vedeu/support/log_test.rb
372
382
  - test/lib/vedeu/support/menu_test.rb
373
383
  - test/lib/vedeu/support/position_test.rb
@@ -375,7 +385,6 @@ test_files:
375
385
  - test/lib/vedeu/support/terminal_test.rb
376
386
  - test/lib/vedeu/support/trace_test.rb
377
387
  - test/support/colour_test.sh
378
- - test/support/model_test_data.json
379
388
  - test/support/stats.sh
380
389
  - test/test_helper.rb
381
390
  has_rdoc: