2015-09-27 19:28:34 +02:00
|
|
|
require_relative 'helper'
|
|
|
|
|
|
|
|
class TestBasicClass < MiniTest::Test
|
|
|
|
include Fragments
|
|
|
|
|
|
|
|
def test_class_basic
|
|
|
|
@string_input = <<HERE
|
2015-10-09 17:06:00 +02:00
|
|
|
class Bar
|
|
|
|
int buh()
|
|
|
|
return 1
|
2015-09-27 19:28:34 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
HERE
|
2015-10-18 16:32:32 +02:00
|
|
|
@expect = [ [Virtual::MethodEnter] ,[RegisterTransfer,GetSlot,FunctionReturn]]
|
2015-09-27 19:28:34 +02:00
|
|
|
check
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
end
|