vedeu 0.8.19 → 0.8.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/integrations/342_streams.rb +5 -16
  3. data/integrations/dsl_app_001.rb +8 -19
  4. data/integrations/dsl_app_002.rb +8 -20
  5. data/integrations/dsl_app_003.rb +8 -19
  6. data/integrations/dsl_app_004.rb +8 -19
  7. data/integrations/dsl_app_005.rb +8 -19
  8. data/integrations/dsl_app_006.rb +8 -19
  9. data/integrations/dsl_app_007.rb +8 -19
  10. data/integrations/dsl_app_008.rb +8 -19
  11. data/integrations/dsl_app_009.rb +8 -19
  12. data/integrations/dsl_app_010.rb +8 -19
  13. data/integrations/dsl_app_011.rb +8 -19
  14. data/integrations/dsl_app_012.rb +8 -19
  15. data/integrations/dsl_app_013.rb +8 -19
  16. data/integrations/dsl_app_014.rb +8 -19
  17. data/integrations/dsl_app_015.rb +8 -19
  18. data/integrations/dsl_app_016.rb +8 -19
  19. data/integrations/dsl_app_017.rb +8 -19
  20. data/integrations/dsl_app_018.rb +8 -19
  21. data/integrations/dsl_app_019.rb +8 -19
  22. data/integrations/dsl_app_020.rb +8 -19
  23. data/integrations/dsl_app_021.rb +8 -19
  24. data/integrations/dsl_app_022.rb +8 -19
  25. data/integrations/dsl_app_border_001.rb +8 -19
  26. data/integrations/dsl_app_border_002.rb +8 -19
  27. data/integrations/dsl_app_border_003.rb +8 -19
  28. data/integrations/dsl_app_border_004.rb +8 -19
  29. data/integrations/dsl_app_border_005.rb +8 -19
  30. data/integrations/dsl_app_border_006.rb +58 -0
  31. data/integrations/dsl_app_border_007.rb +58 -0
  32. data/integrations/dsl_app_border_008.rb +57 -0
  33. data/integrations/dsl_app_border_009.rb +57 -0
  34. data/integrations/dsl_app_border_010.rb +57 -0
  35. data/integrations/dsl_app_border_011.rb +57 -0
  36. data/integrations/expected/dsl_app_border_006.out +1 -0
  37. data/integrations/expected/dsl_app_border_007.out +1 -0
  38. data/integrations/expected/dsl_app_border_008.out +1 -0
  39. data/integrations/expected/dsl_app_border_009.out +1 -0
  40. data/integrations/expected/dsl_app_border_010.out +1 -0
  41. data/integrations/expected/dsl_app_border_011.out +1 -0
  42. data/integrations/test_runner.rb +60 -0
  43. data/integrations/test_runner.sh +11 -5
  44. data/lib/vedeu/version.rb +1 -1
  45. data/test/lib/vedeu/repositories/repositories_test.rb +18 -4
  46. data/test/lib/vedeu_test.rb +12 -0
  47. data/test/support/examples/material_colours_app.rb +0 -134
  48. data/vedeu.gemspec +1 -1
  49. metadata +17 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b277bb2a5c69ac52c885232267ee82fdb002277d
4
- data.tar.gz: edc448e3e5a89a5ad038bae149d9a2adbff9f939
3
+ metadata.gz: 62b67286843b3aceb4b22f6a12d5199b056bafb3
4
+ data.tar.gz: 3098d142e85e338a9e6465214dbd43d3a069d478
5
5
  SHA512:
6
- metadata.gz: a615ad7a66fa2d035a9b996cbe45346d5c0d5d649135a4f0dff83d9e407e6e06dedaaacfcb225f8dbfe1beeee7e528054fd659c71f17d510d192f261a803620d
7
- data.tar.gz: e9e791cb8613bbaaf07d54904dd052254dd5fd4bb7f09f3caa7df79db934ae8a9ae5186d404849665d631661acdff2c911a4f47f066474ff72c7589cb8157f35
6
+ metadata.gz: 1ee697680d3dc9914bc8cddcd30f1c997abef95a926b9d59d3a5712084ed08ea45038b22b8fefff3d589a949b76322d537561869f7fd72bca5de0e7035f8db6b
7
+ data.tar.gz: de91af4d5ab156df9a178320e1017735385aac20444afb1780282ed4a0c4946580d00c3b304ea4796ad9c47fc4f05ae7000c549f471d8a42e8116f1ebfd52b34
@@ -5,6 +5,8 @@
5
5
  require 'bundler/setup'
6
6
  require 'vedeu'
7
7
 
8
+ TESTCASE = '342_streams'
9
+
8
10
  class DSLApp
9
11
 
10
12
  Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
@@ -14,7 +16,7 @@ class DSLApp
14
16
  debug!
15
17
  log '/tmp/vedeu_views_dsl.log'
16
18
  renderers(Vedeu::Renderers::Terminal.new(
17
- filename: '/tmp/342_streams.out',
19
+ filename: "/tmp/#{TESTCASE}.out",
18
20
  write_file: true))
19
21
  run_once!
20
22
  standalone!
@@ -49,14 +51,6 @@ class DSLApp
49
51
  end
50
52
  end
51
53
 
52
- def self.actual
53
- File.read('/tmp/342_streams.out')
54
- end
55
-
56
- def self.expected
57
- File.read(File.expand_path('../expected/342_streams.out', __FILE__))
58
- end
59
-
60
54
  def self.start(argv = ARGV)
61
55
  Vedeu::Launcher.execute!(argv)
62
56
  end
@@ -65,10 +59,5 @@ end # DSLApp
65
59
 
66
60
  DSLApp.start
67
61
 
68
- if DSLApp.expected == DSLApp.actual
69
- puts "#{__FILE__} \e[32mPassed.\e[39m"
70
- exit 0;
71
- else
72
- puts "#{__FILE__} \e[31mFailed.\e[39m"
73
- exit 1;
74
- end
62
+ load File.dirname(__FILE__) + '/test_runner.rb'
63
+ TestRunner.result(TESTCASE, __FILE__)
@@ -5,6 +5,8 @@
5
5
  require 'bundler/setup'
6
6
  require 'vedeu'
7
7
 
8
+ TESTCASE = 'dsl_app_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: '/tmp/dsl_app_001.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_001.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_001.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_001.txt'),
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!
@@ -34,14 +36,6 @@ class DSLApp
34
36
  end
35
37
  end
36
38
 
37
- def self.actual
38
- File.read('/tmp/dsl_app_001.out')
39
- end
40
-
41
- def self.expected
42
- File.read(File.expand_path('../expected/dsl_app_001.out', __FILE__))
43
- end
44
-
45
39
  def self.start(argv = ARGV)
46
40
  Vedeu::Launcher.execute!(argv)
47
41
  end
@@ -50,10 +44,5 @@ end # DSLApp
50
44
 
51
45
  DSLApp.start
52
46
 
53
- if DSLApp.expected == DSLApp.actual
54
- puts "#{__FILE__} \e[32mPassed.\e[39m"
55
- exit 0;
56
- else
57
- puts "#{__FILE__} \e[31mFailed.\e[39m"
58
- exit 1;
59
- end
47
+ load File.dirname(__FILE__) + '/test_runner.rb'
48
+ TestRunner.result(TESTCASE, __FILE__)
@@ -5,6 +5,8 @@
5
5
  require 'bundler/setup'
6
6
  require 'vedeu'
7
7
 
8
+ TESTCASE = 'dsl_app_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: '/tmp/dsl_app_002.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_002.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_002.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_002.txt'),
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!
@@ -34,14 +36,6 @@ class DSLApp
34
36
  end
35
37
  end
36
38
 
37
- def self.actual
38
- File.read('/tmp/dsl_app_002.out')
39
- end
40
-
41
- def self.expected
42
- File.read(File.expand_path('../expected/dsl_app_002.out', __FILE__))
43
- end
44
-
45
39
  def self.start(argv = ARGV)
46
40
  Vedeu::Launcher.execute!(argv)
47
41
  end
@@ -50,11 +44,5 @@ end # DSLApp
50
44
 
51
45
  DSLApp.start
52
46
 
53
- if DSLApp.expected == DSLApp.actual
54
- puts "#{__FILE__} \e[32mPassed.\e[39m"
55
- exit 0;
56
- else
57
- puts "#{__FILE__} \e[31mFailed.\e[39m"
58
- exit 1;
59
- end
60
-
47
+ load File.dirname(__FILE__) + '/test_runner.rb'
48
+ TestRunner.result(TESTCASE, __FILE__)
@@ -5,6 +5,8 @@
5
5
  require 'bundler/setup'
6
6
  require 'vedeu'
7
7
 
8
+ TESTCASE = 'dsl_app_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: '/tmp/dsl_app_003.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_003.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_003.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_003.txt'),
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!
@@ -34,14 +36,6 @@ class DSLApp
34
36
  end
35
37
  end
36
38
 
37
- def self.actual
38
- File.read('/tmp/dsl_app_003.out')
39
- end
40
-
41
- def self.expected
42
- File.read(File.expand_path('../expected/dsl_app_003.out', __FILE__))
43
- end
44
-
45
39
  def self.start(argv = ARGV)
46
40
  Vedeu::Launcher.execute!(argv)
47
41
  end
@@ -50,10 +44,5 @@ end # DSLApp
50
44
 
51
45
  DSLApp.start
52
46
 
53
- if DSLApp.expected == DSLApp.actual
54
- puts "#{__FILE__} \e[32mPassed.\e[39m"
55
- exit 0;
56
- else
57
- puts "#{__FILE__} \e[31mFailed.\e[39m"
58
- exit 1;
59
- end
47
+ load File.dirname(__FILE__) + '/test_runner.rb'
48
+ TestRunner.result(TESTCASE, __FILE__)
@@ -5,6 +5,8 @@
5
5
  require 'bundler/setup'
6
6
  require 'vedeu'
7
7
 
8
+ TESTCASE = 'dsl_app_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: '/tmp/dsl_app_004.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_004.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_004.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_004.txt'),
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_004.out')
44
- end
45
-
46
- def self.expected
47
- File.read(File.expand_path('../expected/dsl_app_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
- if DSLApp.expected == DSLApp.actual
59
- puts "#{__FILE__} \e[32mPassed.\e[39m"
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_005'
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: '/tmp/dsl_app_005.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_005.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_005.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_005.txt'),
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!
@@ -38,14 +40,6 @@ class DSLApp
38
40
  end
39
41
  end
40
42
 
41
- def self.actual
42
- File.read('/tmp/dsl_app_005.out')
43
- end
44
-
45
- def self.expected
46
- File.read(File.expand_path('../expected/dsl_app_005.out', __FILE__))
47
- end
48
-
49
43
  def self.start(argv = ARGV)
50
44
  Vedeu::Launcher.execute!(argv)
51
45
  end
@@ -54,10 +48,5 @@ end # DSLApp
54
48
 
55
49
  DSLApp.start
56
50
 
57
- if DSLApp.expected == DSLApp.actual
58
- puts "#{__FILE__} \e[32mPassed.\e[39m"
59
- exit 0;
60
- else
61
- puts "#{__FILE__} \e[31mFailed.\e[39m"
62
- exit 1;
63
- end
51
+ load File.dirname(__FILE__) + '/test_runner.rb'
52
+ TestRunner.result(TESTCASE, __FILE__)
@@ -5,6 +5,8 @@
5
5
  require 'bundler/setup'
6
6
  require 'vedeu'
7
7
 
8
+ TESTCASE = 'dsl_app_006'
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: '/tmp/dsl_app_006.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_006.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_006.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_006.txt'),
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!
@@ -33,14 +35,6 @@ class DSLApp
33
35
  end
34
36
  end
35
37
 
36
- def self.actual
37
- File.read('/tmp/dsl_app_006.out')
38
- end
39
-
40
- def self.expected
41
- File.read(File.expand_path('../expected/dsl_app_006.out', __FILE__))
42
- end
43
-
44
38
  def self.start(argv = ARGV)
45
39
  Vedeu::Launcher.execute!(argv)
46
40
  end
@@ -49,10 +43,5 @@ end # DSLApp
49
43
 
50
44
  DSLApp.start
51
45
 
52
- if DSLApp.expected == DSLApp.actual
53
- puts "#{__FILE__} \e[32mPassed.\e[39m"
54
- exit 0;
55
- else
56
- puts "#{__FILE__} \e[31mFailed.\e[39m"
57
- exit 1;
58
- end
46
+ load File.dirname(__FILE__) + '/test_runner.rb'
47
+ TestRunner.result(TESTCASE, __FILE__)
@@ -5,6 +5,8 @@
5
5
  require 'bundler/setup'
6
6
  require 'vedeu'
7
7
 
8
+ TESTCASE = 'dsl_app_007'
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: '/tmp/dsl_app_007.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_007.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_007.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_007.txt'),
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_007.out')
44
- end
45
-
46
- def self.expected
47
- File.read(File.expand_path('../expected/dsl_app_007.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
- if DSLApp.expected == DSLApp.actual
59
- puts "#{__FILE__} \e[32mPassed.\e[39m"
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_008'
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: '/tmp/dsl_app_008.out',
20
+ filename: "/tmp/#{TESTCASE}.out",
19
21
  write_file: true),
20
- # Vedeu::Renderers::JSON.new(filename: '/tmp/dsl_app_008.json'),
21
- # Vedeu::Renderers::HTML.new(filename: '/tmp/dsl_app_008.html'),
22
- # Vedeu::Renderers::Text.new(filename: '/tmp/dsl_app_008.txt'),
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!
@@ -41,14 +43,6 @@ class DSLApp
41
43
  end
42
44
  end
43
45
 
44
- def self.actual
45
- File.read('/tmp/dsl_app_008.out')
46
- end
47
-
48
- def self.expected
49
- File.read(File.expand_path('../expected/dsl_app_008.out', __FILE__))
50
- end
51
-
52
46
  def self.start(argv = ARGV)
53
47
  Vedeu::Launcher.execute!(argv)
54
48
  end
@@ -57,10 +51,5 @@ end # DSLApp
57
51
 
58
52
  DSLApp.start
59
53
 
60
- if DSLApp.expected == DSLApp.actual
61
- puts "#{__FILE__} \e[32mPassed.\e[39m"
62
- exit 0;
63
- else
64
- puts "#{__FILE__} \e[31mFailed.\e[39m"
65
- exit 1;
66
- end
54
+ load File.dirname(__FILE__) + '/test_runner.rb'
55
+ TestRunner.result(TESTCASE, __FILE__)