mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-14 12:13:51 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
22
IDE/Tests/Test1/scripts/Virtuals.txt
Normal file
22
IDE/Tests/Test1/scripts/Virtuals.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
# This checks that virtual method calls work in the debugger,
|
||||
# and also ensures that the virtual indicies properly remap
|
||||
# after the interface slot count increases between compiles
|
||||
|
||||
ShowFile("src/Virtuals.bf")
|
||||
GotoText("//Test_Start")
|
||||
ToggleBreakpoint()
|
||||
|
||||
RunWithCompiling()
|
||||
AssertEvalEquals("ca.GetA(9)", "2009")
|
||||
AssertEvalEquals("cb.GetA(11)", "2011")
|
||||
AssertEvalEquals("ca.Korf", "234")
|
||||
AssertEvalEquals("cb.Korf", "234")
|
||||
StopRunning()
|
||||
|
||||
ToggleCommentAt("ClassA_IFaces")
|
||||
ToggleCommentAt("Test_IFaces")
|
||||
RunWithCompiling()
|
||||
AssertEvalEquals("ca.GetA(9)", "2009")
|
||||
AssertEvalEquals("cb.GetA(11)", "2011")
|
||||
AssertEvalEquals("ca.Korf", "234")
|
||||
AssertEvalEquals("cb.Korf", "234")
|
Loading…
Add table
Add a link
Reference in a new issue