From 19138489105b411164fd58f4c84863603d84f413 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 7 Jul 2018 17:57:46 +0300 Subject: [PATCH] fix conflicting test class names why the fail didn't show locall, even with the same seed, i do not know --- test/rubyx/ruby_compiler/test_array_statement.rb | 2 +- test/rubyx/ruby_compiler/test_basic_values.rb | 4 ++-- test/rubyx/ruby_compiler/test_block_statement.rb | 4 ++-- test/rubyx/ruby_compiler/test_class_statement.rb | 4 ++-- test/rubyx/ruby_compiler/test_hash_statement.rb | 2 +- test/rubyx/ruby_compiler/test_if_statement.rb | 2 +- test/rubyx/ruby_compiler/test_ivar_assignment.rb | 2 +- test/rubyx/ruby_compiler/test_local_assignment.rb | 2 +- test/rubyx/ruby_compiler/test_logical_statement.rb | 2 +- test/rubyx/ruby_compiler/test_method_statement.rb | 2 +- test/rubyx/ruby_compiler/test_op_assignment.rb | 4 ++-- test/rubyx/ruby_compiler/test_return_statement.rb | 2 +- test/rubyx/ruby_compiler/test_send_statement.rb | 2 +- test/rubyx/ruby_compiler/test_variables.rb | 2 +- test/rubyx/ruby_compiler/test_while_statement.rb | 2 +- test/rubyx/ruby_compiler/test_yield_statement.rb | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/test/rubyx/ruby_compiler/test_array_statement.rb b/test/rubyx/ruby_compiler/test_array_statement.rb index dde42276..4951ba77 100644 --- a/test/rubyx/ruby_compiler/test_array_statement.rb +++ b/test/rubyx/ruby_compiler/test_array_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestArray < MiniTest::Test + class TestArrayX < MiniTest::Test include RubyTests def test_empty diff --git a/test/rubyx/ruby_compiler/test_basic_values.rb b/test/rubyx/ruby_compiler/test_basic_values.rb index 48786cf5..78d1a108 100644 --- a/test/rubyx/ruby_compiler/test_basic_values.rb +++ b/test/rubyx/ruby_compiler/test_basic_values.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestBasicValues < MiniTest::Test + class TestBasicValuesX < MiniTest::Test include RubyTests def test_self @@ -47,7 +47,7 @@ module Vool assert_equal 1 , lst.statements.first.value end end - class TestBasicTypes < MiniTest::Test + class TestBasicTypesX < MiniTest::Test include RubyTests def setup diff --git a/test/rubyx/ruby_compiler/test_block_statement.rb b/test/rubyx/ruby_compiler/test_block_statement.rb index 1c68e741..612afa3a 100644 --- a/test/rubyx/ruby_compiler/test_block_statement.rb +++ b/test/rubyx/ruby_compiler/test_block_statement.rb @@ -1,9 +1,9 @@ require_relative "helper" module Vool - class TestBlockStatement < MiniTest::Test + class TestBlockStatementX < MiniTest::Test include RubyTests - + def setup() input = "plus_one{|arg1| arg1 + 1 } " @lst = compile( input ) diff --git a/test/rubyx/ruby_compiler/test_class_statement.rb b/test/rubyx/ruby_compiler/test_class_statement.rb index 043900a0..f4e61672 100644 --- a/test/rubyx/ruby_compiler/test_class_statement.rb +++ b/test/rubyx/ruby_compiler/test_class_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestEmptyClassStatement < MiniTest::Test + class TestEmptyClassStatementX < MiniTest::Test include RubyTests def setup @@ -26,7 +26,7 @@ module Vool end end - class TestBasicClassStatement < MiniTest::Test + class TestBasicClassStatementX < MiniTest::Test include ScopeHelper include RubyTests diff --git a/test/rubyx/ruby_compiler/test_hash_statement.rb b/test/rubyx/ruby_compiler/test_hash_statement.rb index 8923001f..841e5935 100644 --- a/test/rubyx/ruby_compiler/test_hash_statement.rb +++ b/test/rubyx/ruby_compiler/test_hash_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class HashArray < MiniTest::Test + class HashArrayX < MiniTest::Test include RubyTests def test_empty diff --git a/test/rubyx/ruby_compiler/test_if_statement.rb b/test/rubyx/ruby_compiler/test_if_statement.rb index 32cb4329..cea64c66 100644 --- a/test/rubyx/ruby_compiler/test_if_statement.rb +++ b/test/rubyx/ruby_compiler/test_if_statement.rb @@ -1,7 +1,7 @@ require_relative 'helper' module Vool - class TestIfStatement < MiniTest::Test + class TestIfStatementX < MiniTest::Test include RubyTests def basic_if diff --git a/test/rubyx/ruby_compiler/test_ivar_assignment.rb b/test/rubyx/ruby_compiler/test_ivar_assignment.rb index a68867c0..ddabfab7 100644 --- a/test/rubyx/ruby_compiler/test_ivar_assignment.rb +++ b/test/rubyx/ruby_compiler/test_ivar_assignment.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestIvarAssignment < MiniTest::Test + class TestIvarAssignmentX < MiniTest::Test include RubyTests def test_local diff --git a/test/rubyx/ruby_compiler/test_local_assignment.rb b/test/rubyx/ruby_compiler/test_local_assignment.rb index c53a7713..dea8fa9c 100644 --- a/test/rubyx/ruby_compiler/test_local_assignment.rb +++ b/test/rubyx/ruby_compiler/test_local_assignment.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestLocalAssignment < MiniTest::Test + class TestLocalAssignmentX < MiniTest::Test include RubyTests def test_local diff --git a/test/rubyx/ruby_compiler/test_logical_statement.rb b/test/rubyx/ruby_compiler/test_logical_statement.rb index f017228e..860ff52d 100644 --- a/test/rubyx/ruby_compiler/test_logical_statement.rb +++ b/test/rubyx/ruby_compiler/test_logical_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestLogical < MiniTest::Test + class TestLogicalX < MiniTest::Test include RubyTests def simple diff --git a/test/rubyx/ruby_compiler/test_method_statement.rb b/test/rubyx/ruby_compiler/test_method_statement.rb index a06a9cd5..528b95ad 100644 --- a/test/rubyx/ruby_compiler/test_method_statement.rb +++ b/test/rubyx/ruby_compiler/test_method_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestMethodStatement < MiniTest::Test + class TestMethodStatementX < MiniTest::Test include RubyTests def basic_setup() diff --git a/test/rubyx/ruby_compiler/test_op_assignment.rb b/test/rubyx/ruby_compiler/test_op_assignment.rb index c13b7e45..c888d473 100644 --- a/test/rubyx/ruby_compiler/test_op_assignment.rb +++ b/test/rubyx/ruby_compiler/test_op_assignment.rb @@ -18,7 +18,7 @@ module Vool assert_equal 5 , @lst.value.arguments.first.value end end - class TestLocalOpAssign < MiniTest::Test + class TestLocalOpAssignX < MiniTest::Test include OpAss include RubyTests def setup @@ -28,7 +28,7 @@ module Vool assert_equal LocalAssignment , @lst.class end end - class TestIvarOpAssign < MiniTest::Test + class TestIvarOpAssignX < MiniTest::Test include OpAss include RubyTests def setup diff --git a/test/rubyx/ruby_compiler/test_return_statement.rb b/test/rubyx/ruby_compiler/test_return_statement.rb index 57d88ab9..a7916c67 100644 --- a/test/rubyx/ruby_compiler/test_return_statement.rb +++ b/test/rubyx/ruby_compiler/test_return_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestReturnStatement < MiniTest::Test + class TestReturnStatementX < MiniTest::Test include RubyTests def test_return_const diff --git a/test/rubyx/ruby_compiler/test_send_statement.rb b/test/rubyx/ruby_compiler/test_send_statement.rb index 8bd83759..26e3433b 100644 --- a/test/rubyx/ruby_compiler/test_send_statement.rb +++ b/test/rubyx/ruby_compiler/test_send_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestSend < MiniTest::Test + class TestSendX < MiniTest::Test include RubyTests def test_simple diff --git a/test/rubyx/ruby_compiler/test_variables.rb b/test/rubyx/ruby_compiler/test_variables.rb index 767425b3..f81c9cfb 100644 --- a/test/rubyx/ruby_compiler/test_variables.rb +++ b/test/rubyx/ruby_compiler/test_variables.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestVariables < MiniTest::Test + class TestVariablesX < MiniTest::Test include RubyTests # "free standing" local can not be tested as it will result in send diff --git a/test/rubyx/ruby_compiler/test_while_statement.rb b/test/rubyx/ruby_compiler/test_while_statement.rb index 87fa9b7e..cc2995ba 100644 --- a/test/rubyx/ruby_compiler/test_while_statement.rb +++ b/test/rubyx/ruby_compiler/test_while_statement.rb @@ -1,7 +1,7 @@ require_relative 'helper' module Vool - class TestWhileStatement < MiniTest::Test + class TestWhileStatementX < MiniTest::Test include RubyTests def basic_while diff --git a/test/rubyx/ruby_compiler/test_yield_statement.rb b/test/rubyx/ruby_compiler/test_yield_statement.rb index 21a35c3e..6a969199 100644 --- a/test/rubyx/ruby_compiler/test_yield_statement.rb +++ b/test/rubyx/ruby_compiler/test_yield_statement.rb @@ -1,7 +1,7 @@ require_relative "helper" module Vool - class TestYieldStatement < MiniTest::Test + class TestYieldStatementX < MiniTest::Test include RubyTests def setup()