vedeu 0.8.19 → 0.8.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/integrations/342_streams.rb +5 -16
- data/integrations/dsl_app_001.rb +8 -19
- data/integrations/dsl_app_002.rb +8 -20
- data/integrations/dsl_app_003.rb +8 -19
- data/integrations/dsl_app_004.rb +8 -19
- data/integrations/dsl_app_005.rb +8 -19
- data/integrations/dsl_app_006.rb +8 -19
- data/integrations/dsl_app_007.rb +8 -19
- data/integrations/dsl_app_008.rb +8 -19
- data/integrations/dsl_app_009.rb +8 -19
- data/integrations/dsl_app_010.rb +8 -19
- data/integrations/dsl_app_011.rb +8 -19
- data/integrations/dsl_app_012.rb +8 -19
- data/integrations/dsl_app_013.rb +8 -19
- data/integrations/dsl_app_014.rb +8 -19
- data/integrations/dsl_app_015.rb +8 -19
- data/integrations/dsl_app_016.rb +8 -19
- data/integrations/dsl_app_017.rb +8 -19
- data/integrations/dsl_app_018.rb +8 -19
- data/integrations/dsl_app_019.rb +8 -19
- data/integrations/dsl_app_020.rb +8 -19
- data/integrations/dsl_app_021.rb +8 -19
- data/integrations/dsl_app_022.rb +8 -19
- data/integrations/dsl_app_border_001.rb +8 -19
- data/integrations/dsl_app_border_002.rb +8 -19
- data/integrations/dsl_app_border_003.rb +8 -19
- data/integrations/dsl_app_border_004.rb +8 -19
- data/integrations/dsl_app_border_005.rb +8 -19
- data/integrations/dsl_app_border_006.rb +58 -0
- data/integrations/dsl_app_border_007.rb +58 -0
- data/integrations/dsl_app_border_008.rb +57 -0
- data/integrations/dsl_app_border_009.rb +57 -0
- data/integrations/dsl_app_border_010.rb +57 -0
- data/integrations/dsl_app_border_011.rb +57 -0
- data/integrations/expected/dsl_app_border_006.out +1 -0
- data/integrations/expected/dsl_app_border_007.out +1 -0
- data/integrations/expected/dsl_app_border_008.out +1 -0
- data/integrations/expected/dsl_app_border_009.out +1 -0
- data/integrations/expected/dsl_app_border_010.out +1 -0
- data/integrations/expected/dsl_app_border_011.out +1 -0
- data/integrations/test_runner.rb +60 -0
- data/integrations/test_runner.sh +11 -5
- data/lib/vedeu/version.rb +1 -1
- data/test/lib/vedeu/repositories/repositories_test.rb +18 -4
- data/test/lib/vedeu_test.rb +12 -0
- data/test/support/examples/material_colours_app.rb +0 -134
- data/vedeu.gemspec +1 -1
- metadata +17 -4
data/integrations/dsl_app_018.rb
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_018'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -32,14 +34,6 @@ class DSLApp
|
|
32
34
|
end
|
33
35
|
end
|
34
36
|
|
35
|
-
def self.actual
|
36
|
-
File.read('/tmp/dsl_app_018.out')
|
37
|
-
end
|
38
|
-
|
39
|
-
def self.expected
|
40
|
-
File.read(File.expand_path('../expected/dsl_app_018.out', __FILE__))
|
41
|
-
end
|
42
|
-
|
43
37
|
def self.start(argv = ARGV)
|
44
38
|
Vedeu::Launcher.execute!(argv)
|
45
39
|
end
|
@@ -48,10 +42,5 @@ end # DSLApp
|
|
48
42
|
|
49
43
|
DSLApp.start
|
50
44
|
|
51
|
-
|
52
|
-
|
53
|
-
exit 0;
|
54
|
-
else
|
55
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
56
|
-
exit 1;
|
57
|
-
end
|
45
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
46
|
+
TestRunner.result(TESTCASE, __FILE__)
|
data/integrations/dsl_app_019.rb
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_019'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -32,14 +34,6 @@ class DSLApp
|
|
32
34
|
end
|
33
35
|
end
|
34
36
|
|
35
|
-
def self.actual
|
36
|
-
File.read('/tmp/dsl_app_019.out')
|
37
|
-
end
|
38
|
-
|
39
|
-
def self.expected
|
40
|
-
File.read(File.expand_path('../expected/dsl_app_019.out', __FILE__))
|
41
|
-
end
|
42
|
-
|
43
37
|
def self.start(argv = ARGV)
|
44
38
|
Vedeu::Launcher.execute!(argv)
|
45
39
|
end
|
@@ -48,10 +42,5 @@ end # DSLApp
|
|
48
42
|
|
49
43
|
DSLApp.start
|
50
44
|
|
51
|
-
|
52
|
-
|
53
|
-
exit 0;
|
54
|
-
else
|
55
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
56
|
-
exit 1;
|
57
|
-
end
|
45
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
46
|
+
TestRunner.result(TESTCASE, __FILE__)
|
data/integrations/dsl_app_020.rb
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_020'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -32,14 +34,6 @@ class DSLApp
|
|
32
34
|
end
|
33
35
|
end
|
34
36
|
|
35
|
-
def self.actual
|
36
|
-
File.read('/tmp/dsl_app_020.out')
|
37
|
-
end
|
38
|
-
|
39
|
-
def self.expected
|
40
|
-
File.read(File.expand_path('../expected/dsl_app_020.out', __FILE__))
|
41
|
-
end
|
42
|
-
|
43
37
|
def self.start(argv = ARGV)
|
44
38
|
Vedeu::Launcher.execute!(argv)
|
45
39
|
end
|
@@ -48,10 +42,5 @@ end # DSLApp
|
|
48
42
|
|
49
43
|
DSLApp.start
|
50
44
|
|
51
|
-
|
52
|
-
|
53
|
-
exit 0;
|
54
|
-
else
|
55
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
56
|
-
exit 1;
|
57
|
-
end
|
45
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
46
|
+
TestRunner.result(TESTCASE, __FILE__)
|
data/integrations/dsl_app_021.rb
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_021'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -103,14 +105,6 @@ class DSLApp
|
|
103
105
|
end
|
104
106
|
end
|
105
107
|
|
106
|
-
def self.actual
|
107
|
-
File.read('/tmp/dsl_app_021.out')
|
108
|
-
end
|
109
|
-
|
110
|
-
def self.expected
|
111
|
-
File.read(File.expand_path('../expected/dsl_app_021.out', __FILE__))
|
112
|
-
end
|
113
|
-
|
114
108
|
def self.start(argv = ARGV)
|
115
109
|
Vedeu::Launcher.execute!(argv)
|
116
110
|
end
|
@@ -119,10 +113,5 @@ end # DSLApp
|
|
119
113
|
|
120
114
|
DSLApp.start
|
121
115
|
|
122
|
-
|
123
|
-
|
124
|
-
exit 0;
|
125
|
-
else
|
126
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
127
|
-
exit 1;
|
128
|
-
end
|
116
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
117
|
+
TestRunner.result(TESTCASE, __FILE__)
|
data/integrations/dsl_app_022.rb
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_022'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -109,14 +111,6 @@ class DSLApp
|
|
109
111
|
end
|
110
112
|
end
|
111
113
|
|
112
|
-
def self.actual
|
113
|
-
File.read('/tmp/dsl_app_022.out')
|
114
|
-
end
|
115
|
-
|
116
|
-
def self.expected
|
117
|
-
File.read(File.expand_path('../expected/dsl_app_022.out', __FILE__))
|
118
|
-
end
|
119
|
-
|
120
114
|
def self.start(argv = ARGV)
|
121
115
|
Vedeu::Launcher.execute!(argv)
|
122
116
|
end
|
@@ -125,10 +119,5 @@ end # DSLApp
|
|
125
119
|
|
126
120
|
DSLApp.start
|
127
121
|
|
128
|
-
|
129
|
-
|
130
|
-
exit 0;
|
131
|
-
else
|
132
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
133
|
-
exit 1;
|
134
|
-
end
|
122
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
123
|
+
TestRunner.result(TESTCASE, __FILE__)
|
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_border_001'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -39,14 +41,6 @@ class DSLApp
|
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
def self.actual
|
43
|
-
File.read('/tmp/dsl_app_border_001.out')
|
44
|
-
end
|
45
|
-
|
46
|
-
def self.expected
|
47
|
-
File.read(File.expand_path('../expected/dsl_app_border_001.out', __FILE__))
|
48
|
-
end
|
49
|
-
|
50
44
|
def self.start(argv = ARGV)
|
51
45
|
Vedeu::Launcher.execute!(argv)
|
52
46
|
end
|
@@ -55,10 +49,5 @@ end # DSLApp
|
|
55
49
|
|
56
50
|
DSLApp.start
|
57
51
|
|
58
|
-
|
59
|
-
|
60
|
-
exit 0;
|
61
|
-
else
|
62
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
63
|
-
exit 1;
|
64
|
-
end
|
52
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
53
|
+
TestRunner.result(TESTCASE, __FILE__)
|
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_border_002'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -39,14 +41,6 @@ class DSLApp
|
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
def self.actual
|
43
|
-
File.read('/tmp/dsl_app_border_002.out')
|
44
|
-
end
|
45
|
-
|
46
|
-
def self.expected
|
47
|
-
File.read(File.expand_path('../expected/dsl_app_border_002.out', __FILE__))
|
48
|
-
end
|
49
|
-
|
50
44
|
def self.start(argv = ARGV)
|
51
45
|
Vedeu::Launcher.execute!(argv)
|
52
46
|
end
|
@@ -55,10 +49,5 @@ end # DSLApp
|
|
55
49
|
|
56
50
|
DSLApp.start
|
57
51
|
|
58
|
-
|
59
|
-
|
60
|
-
exit 0;
|
61
|
-
else
|
62
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
63
|
-
exit 1;
|
64
|
-
end
|
52
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
53
|
+
TestRunner.result(TESTCASE, __FILE__)
|
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_border_003'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -39,14 +41,6 @@ class DSLApp
|
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
def self.actual
|
43
|
-
File.read('/tmp/dsl_app_border_003.out')
|
44
|
-
end
|
45
|
-
|
46
|
-
def self.expected
|
47
|
-
File.read(File.expand_path('../expected/dsl_app_border_003.out', __FILE__))
|
48
|
-
end
|
49
|
-
|
50
44
|
def self.start(argv = ARGV)
|
51
45
|
Vedeu::Launcher.execute!(argv)
|
52
46
|
end
|
@@ -55,10 +49,5 @@ end # DSLApp
|
|
55
49
|
|
56
50
|
DSLApp.start
|
57
51
|
|
58
|
-
|
59
|
-
|
60
|
-
exit 0;
|
61
|
-
else
|
62
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
63
|
-
exit 1;
|
64
|
-
end
|
52
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
53
|
+
TestRunner.result(TESTCASE, __FILE__)
|
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
require 'vedeu'
|
7
7
|
|
8
|
+
TESTCASE = 'dsl_app_border_004'
|
9
|
+
|
8
10
|
class DSLApp
|
9
11
|
|
10
12
|
Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
|
@@ -15,11 +17,11 @@ class DSLApp
|
|
15
17
|
log '/tmp/vedeu_views_dsl.log'
|
16
18
|
renderers [
|
17
19
|
Vedeu::Renderers::Terminal.new(
|
18
|
-
filename:
|
20
|
+
filename: "/tmp/#{TESTCASE}.out",
|
19
21
|
write_file: true),
|
20
|
-
# Vedeu::Renderers::JSON.new(filename:
|
21
|
-
# Vedeu::Renderers::HTML.new(filename:
|
22
|
-
# Vedeu::Renderers::Text.new(filename:
|
22
|
+
# Vedeu::Renderers::JSON.new(filename: "/tmp/#{TESTCASE}.json"),
|
23
|
+
# Vedeu::Renderers::HTML.new(filename: "/tmp/#{TESTCASE}.html"),
|
24
|
+
# Vedeu::Renderers::Text.new(filename: "/tmp/#{TESTCASE}.txt"),
|
23
25
|
]
|
24
26
|
run_once!
|
25
27
|
standalone!
|
@@ -39,14 +41,6 @@ class DSLApp
|
|
39
41
|
end
|
40
42
|
end
|
41
43
|
|
42
|
-
def self.actual
|
43
|
-
File.read('/tmp/dsl_app_border_004.out')
|
44
|
-
end
|
45
|
-
|
46
|
-
def self.expected
|
47
|
-
File.read(File.expand_path('../expected/dsl_app_border_004.out', __FILE__))
|
48
|
-
end
|
49
|
-
|
50
44
|
def self.start(argv = ARGV)
|
51
45
|
Vedeu::Launcher.execute!(argv)
|
52
46
|
end
|
@@ -55,10 +49,5 @@ end # DSLApp
|
|
55
49
|
|
56
50
|
DSLApp.start
|
57
51
|
|
58
|
-
|
59
|
-
|
60
|
-
exit 0;
|
61
|
-
else
|
62
|
-
puts "#{__FILE__} \e[31mFailed.\e[39m"
|
63
|
-
exit 1;
|
64
|
-
end
|
52
|
+
load File.dirname(__FILE__) + '/test_runner.rb'
|
53
|
+
TestRunner.result(TESTCASE, __FILE__)
|