rename frame to named_list to be shared soon

This commit is contained in:
Torsten Ruger
2016-12-21 18:45:18 +02:00
parent b242f9e223
commit 0040baae28
12 changed files with 26 additions and 25 deletions

View File

@ -1,7 +1,7 @@
require_relative "test_attributes"
require_relative "test_class"
require_relative "test_dictionary"
require_relative "test_frame"
require_relative "test_named_list"
require_relative "test_list"
require_relative "test_message"
require_relative "test_meta_class"

View File

@ -1,6 +1,6 @@
require_relative "../helper"
class TestFrames < MiniTest::Test
class TestNamedLists < MiniTest::Test
def setup
@frame = Register.machine.boot.space.first_message.frame
@ -12,8 +12,8 @@ class TestFrames < MiniTest::Test
end
def test_frame_next_set
@frame.next_frame = :next_frame
assert_equal :next_frame , @frame.next_frame
@frame.next_list = :next_list
assert_equal :next_list , @frame.next_list
end
end

View File

@ -6,7 +6,7 @@ class TestSpace < MiniTest::Test
@machine = Register.machine.boot
end
def classes
[:Kernel,:Word,:List,:Message,:Frame,:Type,:Object,:Class,:Dictionary,:TypedMethod , :Integer]
[:Kernel,:Word,:List,:Message,:NamedList,:Type,:Object,:Class,:Dictionary,:TypedMethod , :Integer]
end
def test_booted
assert_equal true , @machine.booted