vedeu 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -0
  3. data/integrations/342_streams.rb +74 -0
  4. data/integrations/dsl_app_001.rb +58 -0
  5. data/integrations/dsl_app_002.rb +59 -0
  6. data/integrations/dsl_app_003.rb +58 -0
  7. data/integrations/dsl_app_004.rb +63 -0
  8. data/integrations/dsl_app_005.rb +62 -0
  9. data/integrations/dsl_app_006.rb +57 -0
  10. data/integrations/dsl_app_007.rb +63 -0
  11. data/integrations/dsl_app_008.rb +65 -0
  12. data/integrations/dsl_app_009.rb +70 -0
  13. data/integrations/dsl_app_010.rb +71 -0
  14. data/integrations/dsl_app_011.rb +61 -0
  15. data/integrations/dsl_app_012.rb +59 -0
  16. data/integrations/dsl_app_013.rb +60 -0
  17. data/integrations/dsl_app_014.rb +60 -0
  18. data/integrations/dsl_app_015.rb +60 -0
  19. data/integrations/dsl_app_016.rb +64 -0
  20. data/integrations/dsl_app_017.rb +56 -0
  21. data/integrations/dsl_app_018.rb +56 -0
  22. data/integrations/dsl_app_019.rb +56 -0
  23. data/integrations/dsl_app_020.rb +56 -0
  24. data/integrations/expected/342_streams.out +1 -0
  25. data/integrations/expected/dsl_app_001.out +1 -0
  26. data/integrations/expected/dsl_app_002.out +1 -0
  27. data/integrations/expected/dsl_app_003.out +1 -0
  28. data/integrations/expected/dsl_app_004.out +1 -0
  29. data/integrations/expected/dsl_app_005.out +1 -0
  30. data/integrations/expected/dsl_app_006.out +1 -0
  31. data/integrations/expected/dsl_app_007.out +1 -0
  32. data/integrations/expected/dsl_app_008.out +1 -0
  33. data/integrations/expected/dsl_app_009.out +1 -0
  34. data/integrations/expected/dsl_app_010.out +1 -0
  35. data/integrations/expected/dsl_app_011.out +1 -0
  36. data/integrations/expected/dsl_app_012.out +1 -0
  37. data/integrations/expected/dsl_app_013.out +1 -0
  38. data/integrations/expected/dsl_app_014.out +1 -0
  39. data/integrations/expected/dsl_app_015.out +1 -0
  40. data/integrations/expected/dsl_app_016.out +1 -0
  41. data/integrations/support/test_interface.rb +13 -0
  42. data/integrations/test_runner.sh +32 -0
  43. data/lib/vedeu/cells/empty.rb +14 -0
  44. data/lib/vedeu/colours/background.rb +13 -0
  45. data/lib/vedeu/colours/colour.rb +11 -4
  46. data/lib/vedeu/colours/foreground.rb +13 -0
  47. data/lib/vedeu/common.rb +42 -0
  48. data/lib/vedeu/dsl/attributes.rb +1 -1
  49. data/lib/vedeu/dsl/elements.rb +57 -23
  50. data/lib/vedeu/dsl/string/align.rb +17 -2
  51. data/lib/vedeu/geometries/position.rb +5 -0
  52. data/lib/vedeu/geometries/positionable.rb +2 -2
  53. data/lib/vedeu/presentation/style.rb +5 -0
  54. data/lib/vedeu/renderers/all.rb +1 -0
  55. data/lib/vedeu/renderers/escape.rb +96 -0
  56. data/lib/vedeu/repositories/defaults.rb +14 -6
  57. data/lib/vedeu/runtime/launcher.rb +5 -1
  58. data/lib/vedeu/version.rb +1 -1
  59. data/lib/vedeu/views/lines.rb +5 -0
  60. data/lib/vedeu/views/stream.rb +8 -1
  61. data/lib/vedeu/views/streams.rb +6 -1
  62. data/lib/vedeu/views/value.rb +2 -8
  63. data/lib/vedeu/views/view.rb +1 -1
  64. data/test/lib/vedeu/colours/colour_test.rb +0 -8
  65. data/test/lib/vedeu/common_test.rb +72 -0
  66. data/test/lib/vedeu/dsl/string/align_test.rb +1 -1
  67. metadata +43 -17
  68. data/examples/284_slow_rendering.rb +0 -108
  69. data/examples/views/expected/vedeu_line.html +0 -140
  70. data/examples/views/expected/vedeu_line.json +0 -96050
  71. data/examples/views/expected/vedeu_line.out +0 -1
  72. data/examples/views/expected/vedeu_line.txt +0 -58
  73. data/examples/views/expected/vedeu_lines.html +0 -140
  74. data/examples/views/expected/vedeu_lines.json +0 -96050
  75. data/examples/views/expected/vedeu_lines.out +0 -1
  76. data/examples/views/expected/vedeu_lines_alignment.html +0 -80
  77. data/examples/views/expected/vedeu_lines_alignment.json +0 -46370
  78. data/examples/views/expected/vedeu_lines_alignment.out +0 -1
  79. data/examples/views/line.rb +0 -128
  80. data/examples/views/lines.rb +0 -165
  81. data/examples/views/lines_alignment.rb +0 -126
  82. data/examples/views/runner.sh +0 -73
@@ -1 +0,0 @@
1
- (0l(B(0q(B Test 1 (0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0k(B(0l(B(0q(B Test 2 (0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0k(B(0x(Bview->line (align: :left)     (0x(B(0x(Bview->left                    (0x(B(0x(B view->line (align: :center)  (0x(B(0x(B         view->center         (0x(B(0x(B view->line (align: :centre)  (0x(B(0x(B         view->centre         (0x(B(0x(B    view->line (align: :right)(0x(B(0x(B                   view->right(0x(B(0m(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0j(B(0m(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0j(B`:align` option on the `line`                                   DSL method. (no width or name                                   set)                                                                                                                                                                                            (0l(B(0q(B Test 3 (0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0k(B(0l(B(0q(B Test 4 (0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0k(B(0x(Bview->lines->left 1           (0x(B(0x(B          view->lines->right 1(0x(B(0x(Bview->lines->left 2           (0x(B(0x(B          view->lines->right 2(0x(B(0x(B                              (0x(B(0x(B                              (0x(B(0m(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0j(B(0m(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0j(B                                                                                                                                                                                                                                                                                                                                (0l(B(0q(B Test 5 (0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0k(B(0l(B(0q(B Test 6 (0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0q(B(0k(B(0x(B    view->lines->centre 1     (0x(B(0x(Bv->l->left         v->l->right(0x(B(0x(B    view->lines->centre 2     (0x(B(0x(B         v->l->centre         (0x(B(0x(B                              (0x(B(0x(B                              (0x(B
@@ -1,128 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # frozen_string_literal: true
4
-
5
- require 'bundler/setup'
6
- require 'vedeu'
7
-
8
- class DSLApp
9
-
10
- Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
11
-
12
- Vedeu.configure do
13
- debug!
14
- log '/tmp/vedeu_views_dsl.log'
15
- renderers(Vedeu::Renderers::Terminal.new(
16
- filename: '/tmp/vedeu_line.out',
17
- write_file: true),
18
- Vedeu::Renderers::JSON.new(
19
- filename: '/tmp/vedeu_line.json'),
20
- Vedeu::Renderers::HTML.new(
21
- filename: '/tmp/vedeu_line.html'),
22
- Vedeu::Renderers::Text.new(
23
- filename: '/tmp/vedeu_line.txt')
24
- )
25
- run_once!
26
- standalone!
27
- end
28
-
29
- load './_interfaces.rb'
30
-
31
- Vedeu.render do
32
- view(:test1_interface) do
33
- background '#440000'
34
- line 'view->line', { foreground: '#ff0000' }
35
- end
36
-
37
- view(:help1_interface) do
38
- line 'A single line within a view.'
39
- end
40
-
41
- view(:test2_interface) do
42
- line 'view->line 1', { foreground: '#ff7f00' }
43
- line 'view->line 2', { foreground: '#ffff00' }
44
- end
45
-
46
- view(:help2_interface) do
47
- line 'Multiple lines within a view.'
48
- line '(No block)'
49
- end
50
-
51
- view(:test3_interface) do
52
- text 'view->text 1', { foreground: '#00ff00' }
53
- text 'view->text 2', { foreground: '#007fff' }
54
- end
55
-
56
- view(:help3_interface) do
57
- text 'Multiple `text` keywords within'
58
- text 'a view are treated as separate'
59
- text 'lines.'
60
- end
61
-
62
- view(:test4_interface) do
63
- line do
64
- text 'view->line 1->text', { foreground: '#5500cc' }
65
- end
66
- line do
67
- text 'view->line 2->text 1', { foreground: '#ff00ff' }
68
- text 'view->line 2->text 2', { foreground: '#ffffff' }
69
- end
70
- end
71
-
72
- view(:help4_interface) do
73
- line do
74
- foreground '#ff0000'
75
- text 'Line `block` syntax.'
76
- end
77
- line do
78
- background '#ffff00'
79
- foreground '#000000'
80
- text 'A single '
81
- text '`text` ', { background: '#000000', foreground: '#ffff00' }
82
- text 'is just a'
83
- end
84
- line do
85
- colour background: '#ff0000'
86
- text 'stream within a line, whilst'
87
- end
88
- line do
89
- colour foreground: '#006600'
90
- text 'multiple '
91
- text '`text`', { foreground: '#ff0000' }
92
- text 's are treated'
93
- end
94
- line do
95
- colour background: '#000066', foreground: '#ff9999'
96
- text 'as separate streams.'
97
- end
98
- line do
99
- foreground '#ff0000'
100
- text 'Line `block` syntax.', { background: '#00ff00' }
101
- end
102
- end
103
-
104
- view(:test5_interface) do
105
- lines do
106
- background '#000066'
107
- line 'view->lines->line 1', { foreground: '#00ff00' }
108
- line 'view->lines->line 2', { background: '#000000', foreground: '#007fff' }
109
- line 'view->lines->line 3', { foreground: '#55aa00' }
110
- end
111
- end
112
-
113
- view(:help5_interface) do
114
- lines do
115
- line 'Multiple `line` keywords within'
116
- line 'a `lines` block view are'
117
- line 'treated as separate lines.'
118
- end
119
- end
120
- end
121
-
122
- def self.start(argv = ARGV)
123
- Vedeu::Launcher.execute!(argv)
124
- end
125
-
126
- end # DSLApp
127
-
128
- DSLApp.start
@@ -1,165 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # frozen_string_literal: true
4
-
5
- require 'bundler/setup'
6
- require 'vedeu'
7
-
8
- class DSLApp
9
-
10
- Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
11
-
12
- Vedeu.configure do
13
- debug!
14
- log '/tmp/vedeu_views_dsl.log'
15
- renderers(Vedeu::Renderers::Terminal.new(
16
- filename: '/tmp/vedeu_lines.out',
17
- write_file: true),
18
- Vedeu::Renderers::JSON.new(
19
- filename: '/tmp/vedeu_lines.json'),
20
- Vedeu::Renderers::HTML.new(
21
- filename: '/tmp/vedeu_lines.html'))
22
- run_once!
23
- standalone!
24
- end
25
-
26
- load './_interfaces.rb'
27
-
28
- Vedeu.render do
29
- view(:test1_interface) do
30
- stream 'view->stream', { foreground: '#ff0000' }
31
- end
32
-
33
- view(:help1_interface) do
34
- stream 'A single stream within a view.'
35
- end
36
-
37
- view(:test2_interface) do
38
- stream 'view->stream 1', { foreground: '#ff7f00' }
39
- stream 'view->stream 2', { foreground: '#ffff00' }
40
- end
41
-
42
- view(:help2_interface) do
43
- stream 'Multiple streams within a view.'
44
- stream '(No line/lines block)'
45
- end
46
-
47
- view(:test3_interface) do
48
- line do
49
- stream 'view->line 1->stream', { foreground: '#00ff00' }
50
- end
51
- line do
52
- stream 'view->line 2->stream 1', { foreground: '#007fff' }
53
- stream 'view->line 2->stream 2', { foreground: '#ff00ff' }
54
- end
55
- end
56
-
57
- view(:help3_interface) do
58
- line do
59
- stream 'Multiple `stream` keywords'
60
- end
61
- line do
62
- stream 'within a line '
63
- stream '(block) are'
64
- end
65
- line do
66
- stream 'treated as separate streams.'
67
- end
68
- end
69
-
70
- view(:test4_interface) do
71
- lines do
72
- line do
73
- stream 'view->lines->line->stream', { foreground: '#5500cc' }
74
- end
75
- line do
76
- stream 'view->stream 2->text 1', { foreground: '#ff00ff' }
77
- stream 'view->stream 2->text 2', { foreground: '#ffffff' }
78
- end
79
- end
80
- end
81
-
82
- view(:help4_interface) do
83
- lines do
84
- line do
85
- stream 'A single stream within a line', { foreground: '#5500cc' }
86
- end
87
- line do
88
- stream 'block, ', { foreground: '#5500cc' }
89
- stream 'is treated as a single', { foreground: '#5500cc' }
90
- end
91
- line do
92
- stream 'line. ', { foreground: '#5500cc' }
93
- stream 'Multiple ', { foreground: '#ff00ff' }
94
- stream '`stream` ', { foreground: '#ffffff' }
95
- stream 'entries', { foreground: '#ff00ff' }
96
- end
97
- line do
98
- stream 'are treated as ', { foreground: '#ff00ff' }
99
- stream 'separate streams', { foreground: '#ffffff' }
100
- end
101
- line do
102
- stream 'in the line.', { foreground: '#ff00ff' }
103
- end
104
- end
105
- end
106
-
107
- view(:test5_interface) do
108
- stream do
109
- text 'view->stream->text 1', { foreground: '#00ff00' }
110
- text 'view->stream->text 2', { foreground: '#007fff' }
111
- end
112
- end
113
-
114
- view(:help5_interface) do
115
- stream do
116
- text 'Multiple ', { foreground: '#00ff00' }
117
- text '`text` ', { foreground: '#007fff' }
118
- text 'keywords within', { foreground: '#00ff00' }
119
- end
120
- stream do
121
- text 'a ', { foreground: '#00ff00' }
122
- text '`stream` ', { foreground: '#007fff' }
123
- text 'block view are', { foreground: '#00ff00' }
124
- end
125
- stream do
126
- text 'treated as ', { foreground: '#00ff00' }
127
- text 'separate streams.', { foreground: '#007fff' }
128
- end
129
- end
130
-
131
- view(:test6_interface) do
132
- line do
133
- streams do
134
- stream 'v->l->ss->stream 1', { foreground: '#00ff00' }
135
- stream 'v->l->ss->stream 2', { foreground: '#007fff' }
136
- end
137
- end
138
- end
139
-
140
- view(:help6_interface) do
141
- line do
142
- streams do
143
- stream 'Multiple ', { foreground: '#00ff00' }
144
- stream '`stream` ', { foreground: '#007fff' }
145
- stream 'within a ', { foreground: '#00ff00' }
146
- end
147
- end
148
- line do
149
- streams do
150
- stream '`streams` ', { foreground: '#007fff' }
151
- stream 'within a ', { foreground: '#00ff00' }
152
- stream '`line`', { foreground: '#007fff' }
153
- stream '.', { foreground: '#00ff00' }
154
- end
155
- end
156
- end
157
- end
158
-
159
- def self.start(argv = ARGV)
160
- Vedeu::Launcher.execute!(argv)
161
- end
162
-
163
- end # DSLApp
164
-
165
- DSLApp.start
@@ -1,126 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # frozen_string_literal: true
4
-
5
- require 'bundler/setup'
6
- require 'vedeu'
7
-
8
- class DSLApp
9
-
10
- Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
11
-
12
- Vedeu.configure do
13
- debug!
14
- log '/tmp/vedeu_views_dsl.log'
15
- renderers(Vedeu::Renderers::Terminal.new(
16
- filename: '/tmp/vedeu_lines_alignment.out',
17
- write_file: true),
18
- Vedeu::Renderers::JSON.new(
19
- filename: '/tmp/vedeu_lines_alignment.json'),
20
- Vedeu::Renderers::HTML.new(
21
- filename: '/tmp/vedeu_lines_alignment.html'),
22
- Vedeu::Renderers::Text.new(
23
- filename: '/tmp/vedeu_lines_alignment.txt')
24
- )
25
- run_once!
26
- standalone!
27
- end
28
-
29
- load './_interfaces.rb'
30
-
31
- Vedeu.border :test2_interface do
32
- background '#220022'
33
- foreground '#00aaff'
34
- title 'Test 2'
35
- end
36
-
37
- Vedeu.render do
38
- view(:test1_interface) do
39
- background '#002200'
40
- foreground '#aaff00'
41
- line 'view->line (align: :left)', { align: :left }
42
- line 'view->line (align: :center)', { align: :center }
43
- line 'view->line (align: :centre)', { align: :centre }
44
- line 'view->line (align: :right)', { align: :right }
45
- end
46
-
47
- view(:help1_interface) do
48
- line '`:align` option on the `line`'
49
- line 'DSL method. (no width or name'
50
- line 'set)'
51
- end
52
-
53
- view(:test2_interface) do
54
- left 'view->left'
55
- center 'view->center'
56
- centre 'view->centre'
57
- right 'view->right'
58
- end
59
-
60
- view(:help2_interface) do
61
- lines do
62
- ''
63
- end
64
- end
65
-
66
- view(:test3_interface) do
67
- lines do
68
- left 'view->lines->left 1', { foreground: '#ff0000' }
69
- left 'view->lines->left 2', { background: '#ff0000', foreground: '#000000' }
70
- end
71
- end
72
-
73
- view(:help3_interface) do
74
- lines do
75
- ''
76
- end
77
- end
78
-
79
- view(:test4_interface) do
80
- lines do
81
- right 'view->lines->right 1', { foreground: '#00ff00' }
82
- right 'view->lines->right 2', { background: '#00ff00', foreground: '#000000' }
83
- end
84
- end
85
-
86
- view(:help4_interface) do
87
- lines do
88
- ''
89
- end
90
- end
91
-
92
- view(:test5_interface) do
93
- lines do
94
- centre 'view->lines->centre 1', { foreground: '#0044ff' }
95
- centre 'view->lines->centre 2', { background: '#0044ff', foreground: '#000000' }
96
- end
97
- end
98
-
99
- view(:help5_interface) do
100
- lines do
101
- ''
102
- end
103
- end
104
-
105
- view(:test6_interface) do
106
- foreground '#ffffff'
107
- line do
108
- left 'v->l->left', { background: '#aa2200', width: 15 }
109
- right 'v->l->right', { background: '#0022ff', width: 15 }
110
- end
111
- line do
112
- centre 'v->l->centre', { background: '#007700', width: 30 }
113
- end
114
- end
115
-
116
- view(:help6_interface) do
117
- end
118
- end
119
-
120
- def self.start(argv = ARGV)
121
- Vedeu::Launcher.execute!(argv)
122
- end
123
-
124
- end # DSLApp
125
-
126
- DSLApp.start
@@ -1,73 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -e
4
-
5
- function expected {
6
- printf "\e[32mExpected:\e[39m "
7
- }
8
- function actual {
9
- printf "\e[31mActual:\e[39m "
10
- }
11
-
12
- ./line.rb
13
- ./lines.rb
14
- ./lines_alignment.rb
15
- ./full_screen.rb
16
-
17
- echo -ne "\e[34mline out\e[39m\n"
18
- echo -ne "$(expected) $(du -b ./expected/vedeu_line.out | cut -f1)\n"
19
- echo -ne "$(actual) $(du -b /tmp/vedeu_line.out | cut -f1)\n"
20
- echo -ne "\e[33mhtml\e[39m\n"
21
- echo -ne "$(expected) $(du -b ./expected/vedeu_line.html | cut -f1)\n"
22
- echo -ne "$(actual) $(du -b /tmp/vedeu_line.html | cut -f1)\n"
23
- echo -ne "\e[33mjson\e[39m\n"
24
- echo -ne "$(expected) $(du -b ./expected/vedeu_line.json | cut -f1)\n"
25
- echo -ne "$(actual) $(du -b /tmp/vedeu_line.json | cut -f1)\n"
26
- echo -ne "\e[33mtxt\e[39m\n"
27
- echo -ne "$(expected) $(du -b ./expected/vedeu_line.txt | cut -f1)\n"
28
- echo -ne "$(actual) $(du -b /tmp/vedeu_line.txt | cut -f1)\n"
29
-
30
- echo -ne "\n"
31
-
32
- echo -ne "\e[34mlines out\e[39m\n"
33
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines.out | cut -f1)\n"
34
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines.out | cut -f1)\n"
35
- echo -ne "\e[33mhtml\e[39m\n"
36
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines.html | cut -f1)\n"
37
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines.html | cut -f1)\n"
38
- echo -ne "\e[33mjson\e[39m\n"
39
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines.json | cut -f1)\n"
40
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines.json | cut -f1)\n"
41
- echo -ne "\e[33mtxt\e[39m\n"
42
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines.txt | cut -f1)\n"
43
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines.txt | cut -f1)\n"
44
-
45
- echo -ne "\n"
46
-
47
- echo -ne "\e[34mlines alignment out\e[39m\n"
48
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.out | cut -f1)\n"
49
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.out | cut -f1)\n"
50
- echo -ne "\e[33mhtml\e[39m\n"
51
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.html | cut -f1)\n"
52
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.html | cut -f1)\n"
53
- echo -ne "\e[33mjson\e[39m\n"
54
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.json | cut -f1)\n"
55
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.json | cut -f1)\n"
56
- echo -ne "\e[33mtxt\e[39m\n"
57
- echo -ne "$(expected) $(du -b ./expected/vedeu_lines_alignment.txt | cut -f1)\n"
58
- echo -ne "$(actual) $(du -b /tmp/vedeu_lines_alignment.txt | cut -f1)\n"
59
-
60
- echo -ne "\n"
61
-
62
- echo -ne "\e[34mfull screen out\e[39m\n"
63
- echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.out | cut -f1)\n"
64
- echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.out | cut -f1)\n"
65
- echo -ne "\e[33mhtml\e[39m\n"
66
- echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.html | cut -f1)\n"
67
- echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.html | cut -f1)\n"
68
- echo -ne "\e[33mjson\e[39m\n"
69
- echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.json | cut -f1)\n"
70
- echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.json | cut -f1)\n"
71
- echo -ne "\e[33mtxt\e[39m\n"
72
- echo -ne "$(expected) $(du -b ./expected/vedeu_full_screen.txt | cut -f1)\n"
73
- echo -ne "$(actual) $(du -b /tmp/vedeu_full_screen.txt | cut -f1)\n"