2013-12-07 13:42:22 +00:00
|
|
|
program spreadtestgui;
|
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
2014-08-05 21:42:34 +00:00
|
|
|
{.$DEFINE HEAPTRC} // Instead of using -gh activate this to write the heap trace to file
|
|
|
|
|
2013-12-07 13:42:22 +00:00
|
|
|
uses
|
2014-08-05 21:42:34 +00:00
|
|
|
{$IFDEF HEAPTRC}
|
|
|
|
HeapTrc, SysUtils,
|
|
|
|
{$ENDIF}
|
2014-04-23 22:29:32 +00:00
|
|
|
Interfaces, Forms, GuiTestRunner, datetests, stringtests, numberstests,
|
2014-05-04 19:08:17 +00:00
|
|
|
manualtests, testsutility, internaltests, formattests, colortests, fonttests,
|
2016-03-08 13:38:04 +00:00
|
|
|
optiontests, numformatparsertests, formulatests, rpnFormulaUnit, exceltests,
|
2017-11-03 13:39:12 +00:00
|
|
|
emptycelltests, errortests, virtualmodetests, insertdeletetests, ssttests,
|
2015-03-08 17:04:25 +00:00
|
|
|
celltypetests, sortingtests, copytests, enumeratortests, commenttests,
|
2017-03-04 21:29:12 +00:00
|
|
|
hyperlinktests, pagelayouttests, protectiontests;
|
2013-12-07 13:42:22 +00:00
|
|
|
|
|
|
|
begin
|
2014-08-05 21:42:34 +00:00
|
|
|
{$IFDEF HEAPTRC}
|
|
|
|
// Assuming your build mode sets -dDEBUG in Project Options/Other when defining -gh
|
|
|
|
// This avoids interference when running a production/default build without -gh
|
|
|
|
|
|
|
|
if FileExists('heap.trc') then
|
|
|
|
DeleteFile('heap.trc');
|
|
|
|
SetHeapTraceOutput('heap.trc');
|
|
|
|
{$ENDIF HEAPTRC}
|
|
|
|
|
2013-12-07 13:42:22 +00:00
|
|
|
Application.Initialize;
|
|
|
|
Application.CreateForm(TGuiTestRunner, TestRunner);
|
|
|
|
Application.Run;
|
|
|
|
end.
|
|
|
|
|