Mark van Renswoude
cad2054373
Added RegisterFunctions method which takes an object and registers all compatible methods either globally or in a table
20 lines
363 B
ObjectPascal
20 lines
363 B
ObjectPascal
program DelphiLuaUnitTests;
|
|
|
|
uses
|
|
Forms,
|
|
DUnitTestRunner,
|
|
TestAPI in 'source\TestAPI.pas',
|
|
Lua.API in '..\Lua.API.pas',
|
|
Lua in '..\Lua.pas',
|
|
TestWrapper in 'source\TestWrapper.pas';
|
|
|
|
{$R *.RES}
|
|
|
|
begin
|
|
ReportMemoryLeaksOnShutdown := True;
|
|
|
|
Application.Title := 'DelphiLua Unit Tests';
|
|
DUnitTestRunner.RunRegisteredTests;
|
|
end.
|
|
|