vedeu 0.8.20 → 0.8.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/docs/dsl/by_method/geometry/align_centre.md +3 -0
  3. data/docs/dsl/by_method/geometry/columns.md +12 -1
  4. data/docs/dsl/by_method/geometry/height.md +9 -0
  5. data/docs/dsl/by_method/geometry/horizontal_alignment.md +3 -1
  6. data/docs/dsl/by_method/geometry/rows.md +12 -1
  7. data/docs/dsl/by_method/geometry/vertical_alignment.md +3 -1
  8. data/docs/dsl/by_method/geometry/width.md +9 -0
  9. data/docs/dsl/by_method/geometry/x.md +11 -1
  10. data/docs/dsl/by_method/geometry/xn.md +14 -1
  11. data/docs/dsl/by_method/geometry/y.md +11 -1
  12. data/docs/dsl/by_method/geometry/yn.md +12 -1
  13. data/docs/dsl/by_method/geometry/zindex.md +18 -0
  14. data/docs/dsl/by_method/template_for.md +10 -0
  15. data/docs/dsl/by_method/use.md +21 -0
  16. data/integrations/342_streams.rb +3 -1
  17. data/integrations/dsl_app_001.rb +3 -1
  18. data/integrations/dsl_app_002.rb +3 -1
  19. data/integrations/dsl_app_003.rb +3 -1
  20. data/integrations/dsl_app_004.rb +3 -1
  21. data/integrations/dsl_app_005.rb +3 -1
  22. data/integrations/dsl_app_006.rb +3 -1
  23. data/integrations/dsl_app_007.rb +3 -1
  24. data/integrations/dsl_app_008.rb +3 -1
  25. data/integrations/dsl_app_009.rb +3 -1
  26. data/integrations/dsl_app_010.rb +3 -1
  27. data/integrations/dsl_app_011.rb +3 -1
  28. data/integrations/dsl_app_012.rb +3 -1
  29. data/integrations/dsl_app_013.rb +3 -1
  30. data/integrations/dsl_app_014.rb +3 -1
  31. data/integrations/dsl_app_015.rb +3 -1
  32. data/integrations/dsl_app_016.rb +3 -1
  33. data/integrations/dsl_app_017.rb +3 -1
  34. data/integrations/dsl_app_018.rb +3 -1
  35. data/integrations/dsl_app_019.rb +3 -1
  36. data/integrations/dsl_app_020.rb +3 -1
  37. data/integrations/dsl_app_021.rb +3 -1
  38. data/integrations/dsl_app_022.rb +3 -1
  39. data/integrations/dsl_app_border_001.rb +3 -1
  40. data/integrations/dsl_app_border_002.rb +3 -1
  41. data/integrations/dsl_app_border_003.rb +3 -1
  42. data/integrations/dsl_app_border_004.rb +3 -1
  43. data/integrations/dsl_app_border_005.rb +3 -1
  44. data/integrations/dsl_app_border_006.rb +3 -1
  45. data/integrations/dsl_app_border_007.rb +3 -1
  46. data/integrations/dsl_app_border_008.rb +3 -1
  47. data/integrations/dsl_app_border_009.rb +3 -1
  48. data/integrations/dsl_app_border_010.rb +3 -1
  49. data/integrations/dsl_app_border_011.rb +3 -1
  50. data/integrations/test_runner.rb +20 -10
  51. data/lib/vedeu/borders/border.rb +3 -0
  52. data/lib/vedeu/borders/dsl.rb +1 -1
  53. data/lib/vedeu/borders/refresh.rb +1 -1
  54. data/lib/vedeu/borders/repository.rb +0 -2
  55. data/lib/vedeu/buffers/buffer.rb +1 -0
  56. data/lib/vedeu/buffers/repository.rb +0 -2
  57. data/lib/vedeu/buffers/view.rb +3 -3
  58. data/lib/vedeu/cells/empty.rb +3 -0
  59. data/lib/vedeu/colours/background.rb +3 -8
  60. data/lib/vedeu/colours/foreground.rb +3 -8
  61. data/lib/vedeu/configuration/api.rb +1 -1
  62. data/lib/vedeu/configuration/configuration.rb +3 -2
  63. data/lib/vedeu/cursors/cursor.rb +1 -1
  64. data/lib/vedeu/cursors/repository.rb +0 -2
  65. data/lib/vedeu/dsl/border.rb +1 -1
  66. data/lib/vedeu/dsl/dsl.rb +1 -1
  67. data/lib/vedeu/dsl/elements.rb +4 -4
  68. data/lib/vedeu/dsl/geometry.rb +2 -2
  69. data/lib/vedeu/dsl/helpers/attributes.rb +1 -1
  70. data/lib/vedeu/dsl/use.rb +1 -21
  71. data/lib/vedeu/dsl/view.rb +3 -13
  72. data/lib/vedeu/dsl/views.rb +15 -18
  73. data/lib/vedeu/editor/lines.rb +1 -1
  74. data/lib/vedeu/editor/repository.rb +0 -2
  75. data/lib/vedeu/esc/background.rb +17 -17
  76. data/lib/vedeu/esc/colours.rb +2 -2
  77. data/lib/vedeu/esc/esc.rb +1 -1
  78. data/lib/vedeu/esc/foreground.rb +17 -17
  79. data/lib/vedeu/events/event.rb +1 -3
  80. data/lib/vedeu/events/repository.rb +0 -2
  81. data/lib/vedeu/geometries/dsl/dsl.rb +18 -183
  82. data/lib/vedeu/geometries/move.rb +34 -49
  83. data/lib/vedeu/geometries/position.rb +1 -1
  84. data/lib/vedeu/geometries/repository.rb +0 -2
  85. data/lib/vedeu/groups/dsl.rb +1 -1
  86. data/lib/vedeu/groups/repository.rb +0 -2
  87. data/lib/vedeu/input/dsl.rb +2 -3
  88. data/lib/vedeu/input/key.rb +1 -1
  89. data/lib/vedeu/input/repository.rb +0 -2
  90. data/lib/vedeu/interfaces/dsl.rb +2 -3
  91. data/lib/vedeu/interfaces/interface.rb +3 -0
  92. data/lib/vedeu/interfaces/null.rb +3 -0
  93. data/lib/vedeu/interfaces/repository.rb +0 -2
  94. data/lib/vedeu/logging/debug.rb +1 -1
  95. data/lib/vedeu/logging/log.rb +19 -5
  96. data/lib/vedeu/logging/timer.rb +2 -2
  97. data/lib/vedeu/menus/dsl.rb +2 -3
  98. data/lib/vedeu/menus/repository.rb +0 -2
  99. data/lib/vedeu/models/page.rb +1 -1
  100. data/lib/vedeu/models/row.rb +1 -1
  101. data/lib/vedeu/output/compressor_cache.rb +10 -4
  102. data/lib/vedeu/output/compressors/simple.rb +7 -3
  103. data/lib/vedeu/output/write.rb +3 -0
  104. data/lib/vedeu/presentation/colour.rb +1 -1
  105. data/lib/vedeu/presentation/position.rb +1 -1
  106. data/lib/vedeu/presentation/presentation.rb +0 -4
  107. data/lib/vedeu/presentation/styles.rb +1 -1
  108. data/lib/vedeu/renderers/all.rb +4 -4
  109. data/lib/vedeu/repositories/assemblage.rb +2 -2
  110. data/lib/vedeu/repositories/model.rb +2 -6
  111. data/lib/vedeu/repositories/registerable.rb +10 -0
  112. data/lib/vedeu/repositories/store.rb +1 -1
  113. data/lib/vedeu/runtime/application.rb +3 -3
  114. data/lib/vedeu/runtime/launcher.rb +1 -1
  115. data/lib/vedeu/templating/helpers.rb +4 -4
  116. data/lib/vedeu/terminal/terminal.rb +2 -2
  117. data/lib/vedeu/version.rb +1 -1
  118. data/lib/vedeu/views/composition.rb +3 -0
  119. data/lib/vedeu/views/line.rb +3 -0
  120. data/lib/vedeu/views/stream.rb +3 -0
  121. data/lib/vedeu/views/view.rb +3 -0
  122. data/lib/vedeu.rb +3 -0
  123. data/test/lib/vedeu/borders/repository_test.rb +0 -2
  124. data/test/lib/vedeu/buffers/repository_test.rb +0 -2
  125. data/test/lib/vedeu/cursors/repository_test.rb +0 -2
  126. data/test/lib/vedeu/dsl/border_test.rb +26 -16
  127. data/test/lib/vedeu/editor/repository_test.rb +0 -2
  128. data/test/lib/vedeu/events/repository_test.rb +0 -2
  129. data/test/lib/vedeu/geometries/repository_test.rb +0 -4
  130. data/test/lib/vedeu/groups/repository_test.rb +0 -2
  131. data/test/lib/vedeu/input/repository_test.rb +0 -2
  132. data/test/lib/vedeu/interfaces/repository_test.rb +0 -2
  133. data/test/lib/vedeu/menus/repository_test.rb +0 -2
  134. data/test/lib/vedeu/presentation/colour_test.rb +6 -0
  135. data/test/lib/vedeu/presentation/position_test.rb +2 -0
  136. data/test/lib/vedeu/presentation/presentation_test.rb +10 -1
  137. data/test/lib/vedeu/presentation/styles_test.rb +6 -0
  138. data/test/lib/vedeu/repositories/registerable_test.rb +11 -1
  139. data/test/support/examples/material_colours_app.rb +0 -93
  140. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62b67286843b3aceb4b22f6a12d5199b056bafb3
4
- data.tar.gz: 3098d142e85e338a9e6465214dbd43d3a069d478
3
+ metadata.gz: c9c37e2d9c0249bbece735264a5f7286f40cfa93
4
+ data.tar.gz: aa1f9db91906830b3e69d772b0222961aa287fec
5
5
  SHA512:
6
- metadata.gz: 1ee697680d3dc9914bc8cddcd30f1c997abef95a926b9d59d3a5712084ed08ea45038b22b8fefff3d589a949b76322d537561869f7fd72bca5de0e7035f8db6b
7
- data.tar.gz: de91af4d5ab156df9a178320e1017735385aac20444afb1780282ed4a0c4946580d00c3b304ea4796ad9c47fc4f05ae7000c549f471d8a42e8116f1ebfd52b34
6
+ metadata.gz: 0fc85825feebec7d3cb9260e53ce9b4575a8674a6928d11c63add1e034e605786c0561cf75b1a14761625c7b40a7cfc09f4062774de00c99826daa308c17bd06
7
+ data.tar.gz: fc22a0edebd4f31834b5211174e8ce52e85eb0319b208d7e4960903378e71d29c334689a1f7797611791fe1c63a617d85b041f5ad85021c01cfe637d8c151848
@@ -3,6 +3,9 @@
3
3
  Providing the optional 'width' will set the interface width,
4
4
  overriding any previous or calculated value for 'width'.
5
5
 
6
+ Aliases:
7
+ - align_center
8
+
6
9
  Aligning the view centrally within the terminal:
7
10
 
8
11
  # Vedeu.geometry :my_interface do
@@ -1 +1,12 @@
1
- @todo Add more documentation.
1
+ ### columns
2
+
3
+ Returns the width in characters for the number of columns
4
+ specified.
5
+
6
+ Vedeu.geometry :main_interface do
7
+ # ... some code
8
+ width columns(9) # Vedeu.width # => 92 (for example)
9
+ # 92 / 12 = 7
10
+ # 7 * 9 = 63
11
+ # Therefore, width is 63 characters.
12
+ end
@@ -0,0 +1,9 @@
1
+ ### height
2
+
3
+ Specify the number of characters/rows/lines tall the interface
4
+ will be. This value will be ignored when `y` and `yn` are set.
5
+
6
+ Vedeu.geometry :some_interface do
7
+ height 8
8
+ # ... some code
9
+ end
@@ -1 +1,3 @@
1
- @todo Add more documentation.
1
+ ### horizontal_alignment
2
+
3
+ @todo Add more documentation.
@@ -1 +1,12 @@
1
- @todo Add more documentation.
1
+ ### rows
2
+
3
+ Returns the height in characters for the number of rows
4
+ specified.
5
+
6
+ Vedeu.geometry :main_interface do
7
+ # ... some code
8
+ height rows(3) # Vedeu.height # => 38 (for example)
9
+ # 38 / 12 = 3
10
+ # 3 * 3 = 9
11
+ # Therefore, height is 9 characters.
12
+ end
@@ -1 +1,3 @@
1
- @todo Add more documentation.
1
+ ### vertical_alignment
2
+
3
+ @todo Add more documentation.
@@ -0,0 +1,9 @@
1
+ ### width
2
+
3
+ Specify the number of characters/columns wide the interface
4
+ will be. This value will be ignored when `x` and `xn` are set.
5
+
6
+ Vedeu.geometry :some_interface do
7
+ width 25
8
+ # ... some code
9
+ end
@@ -1 +1,11 @@
1
- @todo Add more documentation.
1
+ ### x
2
+
3
+ Specify the starting x position (column) of the interface.
4
+
5
+ Vedeu.geometry :some_interface do
6
+ x 7 # start on column 7.
7
+ # start on column 8, if :other_interface changes position
8
+ # then :some_interface will too.
9
+ x { use(:other_interface).east }
10
+ # ... some code
11
+ end
@@ -1 +1,14 @@
1
- @todo Add more documentation.
1
+ ### xn
2
+
3
+ Specify the ending x position (column) of the interface.
4
+ This value will override `width`.
5
+
6
+ Vedeu.geometry :some_interface do
7
+ xn 37 # end at column 37.
8
+
9
+ # when :other_interface changes position,
10
+ # :some_interface will too.
11
+ xn { use(:other_interface).right }
12
+ # ... some code
13
+ end
14
+
@@ -1 +1,11 @@
1
- @todo Add more documentation.
1
+ ### y
2
+
3
+ Specify the starting y position (row/line) of the interface.
4
+
5
+ Vedeu.geometry :some_interface do
6
+ y 4 # start at row 4
7
+ # start on row/line 3, when :other_interface changes
8
+ # position, :some_interface will too.
9
+ y { use(:other_interface).north }
10
+ # ... some code
11
+ end
@@ -1 +1,12 @@
1
- @todo Add more documentation.
1
+ ### yn
2
+
3
+ Specify the ending y position (row/line) of the interface.
4
+ This value will override `height`.
5
+
6
+ Vedeu.geometry :some_interface do
7
+ yn 24 # end at row 24.
8
+ # if :other_interface changes position, :some_interface
9
+ # will too.
10
+ yn { use(:other_interface).bottom }
11
+ # ... some code
12
+ end
@@ -0,0 +1,18 @@
1
+ ### zindex
2
+
3
+ Aliases:
4
+ - `z_index`
5
+ - `z`
6
+
7
+ Set the zindex of the view using this geometry. This controls
8
+ the render order of the views. Views with geometries with a
9
+ lower zindex will render before those with a higher zindex.
10
+
11
+ # --4-- # rendered last
12
+ # --3--
13
+ # --2--
14
+ # --1-- # rendered first
15
+ Vedeu.geometry :my_interface do
16
+ zindex 3
17
+ # ...
18
+ end
@@ -0,0 +1,10 @@
1
+ ### template_for
2
+
3
+ Load content from an ERb template.
4
+
5
+ Vedeu.renders do
6
+ template_for(:my_interface,
7
+ '/path/to/template.erb',
8
+ @some_object,
9
+ options)
10
+ end
@@ -0,0 +1,21 @@
1
+ ### use
2
+
3
+ Use the attribute of stored model.
4
+
5
+ This DSL method provides access to a stored model by name.
6
+ You can then request an attribute of that model for use within
7
+ the current model. The models which current support this are
8
+ Border, Geometry and Interface.
9
+
10
+ # Here the character used for :my_border is used in
11
+ # :my_other_border.
12
+ Vedeu.border :my_other_border do
13
+ top_right use(:my_border).top_right
14
+ end
15
+
16
+
17
+ - Only models of the same repository can be used in this
18
+ way.
19
+ - If the stored model cannot be found, a ModelNotFound
20
+ exception may be raised, or the request for an attribute
21
+ may raise a NoMethodError exception.
@@ -57,7 +57,9 @@ class DSLApp
57
57
 
58
58
  end # DSLApp
59
59
 
60
- DSLApp.start
60
+ Vedeu.timer('Test') do
61
+ DSLApp.start
62
+ end
61
63
 
62
64
  load File.dirname(__FILE__) + '/test_runner.rb'
63
65
  TestRunner.result(TESTCASE, __FILE__)
@@ -42,7 +42,9 @@ class DSLApp
42
42
 
43
43
  end # DSLApp
44
44
 
45
- DSLApp.start
45
+ Vedeu.timer('Test') do
46
+ DSLApp.start
47
+ end
46
48
 
47
49
  load File.dirname(__FILE__) + '/test_runner.rb'
48
50
  TestRunner.result(TESTCASE, __FILE__)
@@ -42,7 +42,9 @@ class DSLApp
42
42
 
43
43
  end # DSLApp
44
44
 
45
- DSLApp.start
45
+ Vedeu.timer('Test') do
46
+ DSLApp.start
47
+ end
46
48
 
47
49
  load File.dirname(__FILE__) + '/test_runner.rb'
48
50
  TestRunner.result(TESTCASE, __FILE__)
@@ -42,7 +42,9 @@ class DSLApp
42
42
 
43
43
  end # DSLApp
44
44
 
45
- DSLApp.start
45
+ Vedeu.timer('Test') do
46
+ DSLApp.start
47
+ end
46
48
 
47
49
  load File.dirname(__FILE__) + '/test_runner.rb'
48
50
  TestRunner.result(TESTCASE, __FILE__)
@@ -47,7 +47,9 @@ class DSLApp
47
47
 
48
48
  end # DSLApp
49
49
 
50
- DSLApp.start
50
+ Vedeu.timer('Test') do
51
+ DSLApp.start
52
+ end
51
53
 
52
54
  load File.dirname(__FILE__) + '/test_runner.rb'
53
55
  TestRunner.result(TESTCASE, __FILE__)
@@ -46,7 +46,9 @@ class DSLApp
46
46
 
47
47
  end # DSLApp
48
48
 
49
- DSLApp.start
49
+ Vedeu.timer('Test') do
50
+ DSLApp.start
51
+ end
50
52
 
51
53
  load File.dirname(__FILE__) + '/test_runner.rb'
52
54
  TestRunner.result(TESTCASE, __FILE__)
@@ -41,7 +41,9 @@ class DSLApp
41
41
 
42
42
  end # DSLApp
43
43
 
44
- DSLApp.start
44
+ Vedeu.timer('Test') do
45
+ DSLApp.start
46
+ end
45
47
 
46
48
  load File.dirname(__FILE__) + '/test_runner.rb'
47
49
  TestRunner.result(TESTCASE, __FILE__)
@@ -47,7 +47,9 @@ class DSLApp
47
47
 
48
48
  end # DSLApp
49
49
 
50
- DSLApp.start
50
+ Vedeu.timer('Test') do
51
+ DSLApp.start
52
+ end
51
53
 
52
54
  load File.dirname(__FILE__) + '/test_runner.rb'
53
55
  TestRunner.result(TESTCASE, __FILE__)
@@ -49,7 +49,9 @@ class DSLApp
49
49
 
50
50
  end # DSLApp
51
51
 
52
- DSLApp.start
52
+ Vedeu.timer('Test') do
53
+ DSLApp.start
54
+ end
53
55
 
54
56
  load File.dirname(__FILE__) + '/test_runner.rb'
55
57
  TestRunner.result(TESTCASE, __FILE__)
@@ -54,7 +54,9 @@ class DSLApp
54
54
 
55
55
  end # DSLApp
56
56
 
57
- DSLApp.start
57
+ Vedeu.timer('Test') do
58
+ DSLApp.start
59
+ end
58
60
 
59
61
  load File.dirname(__FILE__) + '/test_runner.rb'
60
62
  TestRunner.result(TESTCASE, __FILE__)
@@ -55,7 +55,9 @@ class DSLApp
55
55
 
56
56
  end # DSLApp
57
57
 
58
- DSLApp.start
58
+ Vedeu.timer('Test') do
59
+ DSLApp.start
60
+ end
59
61
 
60
62
  load File.dirname(__FILE__) + '/test_runner.rb'
61
63
  TestRunner.result(TESTCASE, __FILE__)
@@ -45,7 +45,9 @@ class DSLApp
45
45
 
46
46
  end # DSLApp
47
47
 
48
- DSLApp.start
48
+ Vedeu.timer('Test') do
49
+ DSLApp.start
50
+ end
49
51
 
50
52
  load File.dirname(__FILE__) + '/test_runner.rb'
51
53
  TestRunner.result(TESTCASE, __FILE__)
@@ -43,7 +43,9 @@ class DSLApp
43
43
 
44
44
  end # DSLApp
45
45
 
46
- DSLApp.start
46
+ Vedeu.timer('Test') do
47
+ DSLApp.start
48
+ end
47
49
 
48
50
  load File.dirname(__FILE__) + '/test_runner.rb'
49
51
  TestRunner.result(TESTCASE, __FILE__)
@@ -44,7 +44,9 @@ class DSLApp
44
44
 
45
45
  end # DSLApp
46
46
 
47
- DSLApp.start
47
+ Vedeu.timer('Test') do
48
+ DSLApp.start
49
+ end
48
50
 
49
51
  load File.dirname(__FILE__) + '/test_runner.rb'
50
52
  TestRunner.result(TESTCASE, __FILE__)
@@ -44,7 +44,9 @@ class DSLApp
44
44
 
45
45
  end # DSLApp
46
46
 
47
- DSLApp.start
47
+ Vedeu.timer('Test') do
48
+ DSLApp.start
49
+ end
48
50
 
49
51
  load File.dirname(__FILE__) + '/test_runner.rb'
50
52
  TestRunner.result(TESTCASE, __FILE__)
@@ -44,7 +44,9 @@ class DSLApp
44
44
 
45
45
  end # DSLApp
46
46
 
47
- DSLApp.start
47
+ Vedeu.timer('Test') do
48
+ DSLApp.start
49
+ end
48
50
 
49
51
  load File.dirname(__FILE__) + '/test_runner.rb'
50
52
  TestRunner.result(TESTCASE, __FILE__)
@@ -48,7 +48,9 @@ class DSLApp
48
48
 
49
49
  end # DSLApp
50
50
 
51
- DSLApp.start
51
+ Vedeu.timer('Test') do
52
+ DSLApp.start
53
+ end
52
54
 
53
55
  load File.dirname(__FILE__) + '/test_runner.rb'
54
56
  TestRunner.result(TESTCASE, __FILE__)
@@ -40,7 +40,9 @@ class DSLApp
40
40
 
41
41
  end # DSLApp
42
42
 
43
- DSLApp.start
43
+ Vedeu.timer('Test') do
44
+ DSLApp.start
45
+ end
44
46
 
45
47
  load File.dirname(__FILE__) + '/test_runner.rb'
46
48
  TestRunner.result(TESTCASE, __FILE__)
@@ -40,7 +40,9 @@ class DSLApp
40
40
 
41
41
  end # DSLApp
42
42
 
43
- DSLApp.start
43
+ Vedeu.timer('Test') do
44
+ DSLApp.start
45
+ end
44
46
 
45
47
  load File.dirname(__FILE__) + '/test_runner.rb'
46
48
  TestRunner.result(TESTCASE, __FILE__)
@@ -40,7 +40,9 @@ class DSLApp
40
40
 
41
41
  end # DSLApp
42
42
 
43
- DSLApp.start
43
+ Vedeu.timer('Test') do
44
+ DSLApp.start
45
+ end
44
46
 
45
47
  load File.dirname(__FILE__) + '/test_runner.rb'
46
48
  TestRunner.result(TESTCASE, __FILE__)
@@ -40,7 +40,9 @@ class DSLApp
40
40
 
41
41
  end # DSLApp
42
42
 
43
- DSLApp.start
43
+ Vedeu.timer('Test') do
44
+ DSLApp.start
45
+ end
44
46
 
45
47
  load File.dirname(__FILE__) + '/test_runner.rb'
46
48
  TestRunner.result(TESTCASE, __FILE__)
@@ -111,7 +111,9 @@ class DSLApp
111
111
 
112
112
  end # DSLApp
113
113
 
114
- DSLApp.start
114
+ Vedeu.timer('Test') do
115
+ DSLApp.start
116
+ end
115
117
 
116
118
  load File.dirname(__FILE__) + '/test_runner.rb'
117
119
  TestRunner.result(TESTCASE, __FILE__)
@@ -117,7 +117,9 @@ class DSLApp
117
117
 
118
118
  end # DSLApp
119
119
 
120
- DSLApp.start
120
+ Vedeu.timer('Test') do
121
+ DSLApp.start
122
+ end
121
123
 
122
124
  load File.dirname(__FILE__) + '/test_runner.rb'
123
125
  TestRunner.result(TESTCASE, __FILE__)
@@ -47,7 +47,9 @@ class DSLApp
47
47
 
48
48
  end # DSLApp
49
49
 
50
- DSLApp.start
50
+ Vedeu.timer('Test') do
51
+ DSLApp.start
52
+ end
51
53
 
52
54
  load File.dirname(__FILE__) + '/test_runner.rb'
53
55
  TestRunner.result(TESTCASE, __FILE__)
@@ -47,7 +47,9 @@ class DSLApp
47
47
 
48
48
  end # DSLApp
49
49
 
50
- DSLApp.start
50
+ Vedeu.timer('Test') do
51
+ DSLApp.start
52
+ end
51
53
 
52
54
  load File.dirname(__FILE__) + '/test_runner.rb'
53
55
  TestRunner.result(TESTCASE, __FILE__)
@@ -47,7 +47,9 @@ class DSLApp
47
47
 
48
48
  end # DSLApp
49
49
 
50
- DSLApp.start
50
+ Vedeu.timer('Test') do
51
+ DSLApp.start
52
+ end
51
53
 
52
54
  load File.dirname(__FILE__) + '/test_runner.rb'
53
55
  TestRunner.result(TESTCASE, __FILE__)
@@ -47,7 +47,9 @@ class DSLApp
47
47
 
48
48
  end # DSLApp
49
49
 
50
- DSLApp.start
50
+ Vedeu.timer('Test') do
51
+ DSLApp.start
52
+ end
51
53
 
52
54
  load File.dirname(__FILE__) + '/test_runner.rb'
53
55
  TestRunner.result(TESTCASE, __FILE__)
@@ -47,7 +47,9 @@ class DSLApp
47
47
 
48
48
  end # DSLApp
49
49
 
50
- DSLApp.start
50
+ Vedeu.timer('Test') do
51
+ DSLApp.start
52
+ end
51
53
 
52
54
  load File.dirname(__FILE__) + '/test_runner.rb'
53
55
  TestRunner.result(TESTCASE, __FILE__)
@@ -52,7 +52,9 @@ class DSLApp
52
52
 
53
53
  end # DSLApp
54
54
 
55
- DSLApp.start
55
+ Vedeu.timer('Test') do
56
+ DSLApp.start
57
+ end
56
58
 
57
59
  load File.dirname(__FILE__) + '/test_runner.rb'
58
60
  TestRunner.result(TESTCASE, __FILE__)
@@ -52,7 +52,9 @@ class DSLApp
52
52
 
53
53
  end # DSLApp
54
54
 
55
- DSLApp.start
55
+ Vedeu.timer('Test') do
56
+ DSLApp.start
57
+ end
56
58
 
57
59
  load File.dirname(__FILE__) + '/test_runner.rb'
58
60
  TestRunner.result(TESTCASE, __FILE__)
@@ -51,7 +51,9 @@ class DSLApp
51
51
 
52
52
  end # DSLApp
53
53
 
54
- DSLApp.start
54
+ Vedeu.timer('Test') do
55
+ DSLApp.start
56
+ end
55
57
 
56
58
  load File.dirname(__FILE__) + '/test_runner.rb'
57
59
  TestRunner.result(TESTCASE, __FILE__)
@@ -51,7 +51,9 @@ class DSLApp
51
51
 
52
52
  end # DSLApp
53
53
 
54
- DSLApp.start
54
+ Vedeu.timer('Test') do
55
+ DSLApp.start
56
+ end
55
57
 
56
58
  load File.dirname(__FILE__) + '/test_runner.rb'
57
59
  TestRunner.result(TESTCASE, __FILE__)
@@ -51,7 +51,9 @@ class DSLApp
51
51
 
52
52
  end # DSLApp
53
53
 
54
- DSLApp.start
54
+ Vedeu.timer('Test') do
55
+ DSLApp.start
56
+ end
55
57
 
56
58
  load File.dirname(__FILE__) + '/test_runner.rb'
57
59
  TestRunner.result(TESTCASE, __FILE__)
@@ -51,7 +51,9 @@ class DSLApp
51
51
 
52
52
  end # DSLApp
53
53
 
54
- DSLApp.start
54
+ Vedeu.timer('Test') do
55
+ DSLApp.start
56
+ end
55
57
 
56
58
  load File.dirname(__FILE__) + '/test_runner.rb'
57
59
  TestRunner.result(TESTCASE, __FILE__)