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-09 20:53:22 +02:00
|
|
|
@expect = [ [Virtual::MethodEnter] ,[Virtual::MethodReturn]]
|
2015-09-27 19:28:34 +02:00
|
|
|
check
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
end
|