Fixing new parfait boot process

mostly about setting the types to existing objects. 
Then after space is in place, it is set automatically

also a fair bit of misc in the commit
This commit is contained in:
2019-09-23 00:07:30 +03:00
parent e61c5d4a55
commit 7b40bb9106
16 changed files with 70 additions and 73 deletions

View File

@ -23,8 +23,15 @@ module Parfait
end
def test_type_methods
assert @mess.get_type#.get_type.variable_index(:methods)
assert_equal 4 , @mess.get_type.get_type.variable_index(:methods)
end
def test_mess_class
mess = @space.get_class_by_name(:Message)
assert_equal :Message , mess.name
mess_type = @space.get_type_by_class_name(:Message)
assert mess_type.get_type , "No type, but no raise either"
end
end
end