2018-04-19 18:47:35 +02:00
|
|
|
require_relative "../helper"
|
|
|
|
|
2019-08-12 11:36:32 +02:00
|
|
|
module Mom
|
2018-04-19 18:47:35 +02:00
|
|
|
module Builtin
|
2019-08-11 13:31:00 +02:00
|
|
|
class BootTest < MiniTest::Test
|
2019-09-13 09:41:13 +02:00
|
|
|
include Preloader
|
2019-08-22 16:52:19 +02:00
|
|
|
|
2019-09-13 09:41:13 +02:00
|
|
|
def get_compiler(clazz , name)
|
|
|
|
compiler = RubyX::RubyXCompiler.new(RubyX.default_test_options)
|
|
|
|
coll = compiler.ruby_to_mom( get_preload("Space.main;#{clazz}.#{name}") )
|
|
|
|
@method = coll.method_compilers.last
|
|
|
|
@method
|
2019-08-11 13:31:00 +02:00
|
|
|
end
|
2019-09-13 09:41:13 +02:00
|
|
|
|
2019-08-11 13:31:00 +02:00
|
|
|
end
|
2018-04-19 18:47:35 +02:00
|
|
|
end
|
|
|
|
end
|