start BranchListener

but on hold, since it needs positions before we have them
Must create them during collection phase
This commit is contained in:
Torsten Ruger
2018-06-14 21:29:34 +03:00
parent eaaf61c117
commit 3cc9175efa
7 changed files with 48 additions and 6 deletions

View File

@ -0,0 +1,14 @@
require_relative "helper"
module Risc
class TestBranchListener < MiniTest::Test
def setup
@machine = Risc.machine.boot
@machine.translate(:interpreter)
@machine.position_all
end
def test_has_init
end
end
end

View File

@ -1,8 +1,7 @@
require_relative "helper"
module Risc
# tests that require a boot and test propagation
class TestcodeListener < MiniTest::Test
class TestCodeListener < MiniTest::Test
def setup
Risc.machine.boot
@binary = Parfait::BinaryCode.new(1)

View File

@ -1,7 +1,6 @@
require_relative "helper"
module Risc
# tests that require a boot and test propagation
class TestCodeListenerFull < MiniTest::Test
def setup
@machine = Risc.machine.boot

View File

@ -1,7 +1,6 @@
require_relative "helper"
module Risc
# tests that require a boot and test propagation
class TestInstructionListener < MiniTest::Test
def setup
Risc.machine.boot