1
0
Files
applications
bindings
components
Comba_Animation
aboutcomponent
acs
beepfp
callite
captcha
chelper
chemtext
cmdline
cmdlinecfg
colorpalette
cryptini
csvdocument
epiktimer
everettrandom
examplecomponent
exctrls
extrasyn
fpexif
fpsound
fpspreadsheet
docs
examples
images
languages
reference
resource
source
unit-tests
common
celltypetests.pas
colortests.pas
colrowtests.pas
commenttests.pas
conditionalformattests.pas
copytests.pas
datetests.pas
dbexporttests.pas
emptycelltests.pas
enumeratortests.pas
errortests.pas
exceltests.pas
fileformattests.pas
fonttests.pas
formattests.pas
formulatests.pas
hyperlinktests.pas
internaltests.pas
lazarus32x32.png
manualtests.pas
mathtests.pas
movetests.pas
numberstests.pas
numformatparsertests.pas
optiontests.pas
pagelayouttests.pas
protectiontests.pas
readme.txt
rpnformulaunit.pas
singleformulatests.pas
sortingtests.pas
spreadtestcli.lpi
spreadtestcli.lpr
spreadtestgui.lpi
spreadtestgui.lpr
spreadtestgui.res
ssttests.pas
stringtests.pas
testbiff8_1899.xls
testbiff8_1904.xls
testcases_calc3dformula.inc
testcases_calcrpnformula.inc
testdbwriter.ini
testdbwriter.pas
testdbwriter.rc
testdbwriter.res
testdbwriter_firebird.sql
testdbwriter_postgresql.sql
testodf_1899.ods
testodf_1904.ods
testooxml_1899.xlsx
testooxml_1904.xlsx
testsutility.pas
testxml_1899.xml
testxml_1904.xml
virtualmodetests.pas
dataset
README.txt
install.txt
laz_fpspreadsheet.lpk
laz_fpspreadsheet_crypto.lpk
laz_fpspreadsheet_dataset.lpk
laz_fpspreadsheet_visual.lpk
laz_fpspreadsheet_visual_dsgn.lpk
laz_fpspreadsheetexport_visual.lpk
fractions
freetypepascal
geckoport
gradcontrols
grid_semaphor
gridprinter
industrialstuff
iosdesigner
iphonelazext
jujiboutils
jvcllaz
kcontrols
lazautoupdate
lazbarcodes
lazmapviewer
lclextensions
longtimer
manualdock
mbColorLib
mplayer
multithreadprocs
nvidia-widgets
onguard
orpheus
playsoundpackage
poweredby
powerpdf
rgbgraphics
richmemo
richview
rtfview
rx
scrolltext
smnetgradient
spktoolbar
splashabout
svn
systools
tdi
thtmlport
tparadoxdataset
tvplanit
xdev_toolkit
zlibar
zmsql
examples
image_sources
lclbindings
wst
lazarus-ccr/components/fpspreadsheet/unit-tests/common/spreadtestgui.lpr

34 lines
1.1 KiB
ObjectPascal
Raw Normal View History

program spreadtestgui;
{$mode objfpc}{$H+}
{.$DEFINE HEAPTRC} // Instead of using -gh activate this to write the heap trace to file
uses
{$IFDEF HEAPTRC}
SysUtils,
{$ENDIF}
Interfaces, Forms, GuiTestRunner, testsutility, datetests, stringtests,
numberstests, manualtests, internaltests, mathtests, fileformattests,
formattests, colortests, fonttests, optiontests, conditionalformattests,
numformatparsertests, formulatests, rpnFormulaUnit, singleformulatests,
exceltests, emptycelltests, errortests, virtualmodetests, colrowtests,
ssttests, celltypetests, sortingtests, copytests, movetests, enumeratortests,
commenttests, hyperlinktests, pagelayouttests, protectiontests;
begin
{$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}
Application.Initialize;
Application.CreateForm(TGuiTestRunner, TestRunner);
Application.Run;
end.