tests: added test for codetools FindBlockStart

git-svn-id: trunk@33913 -
This commit is contained in:
mattias 2011-12-02 19:50:08 +00:00
parent bfdacf99d4
commit 51ce9975e3
3 changed files with 10 additions and 12 deletions

View File

@ -39,7 +39,7 @@
<PackageName Value="LCL"/> <PackageName Value="LCL"/>
</Item4> </Item4>
</RequiredPackages> </RequiredPackages>
<Units Count="12"> <Units Count="13">
<Unit0> <Unit0>
<Filename Value="runtests.lpr"/> <Filename Value="runtests.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
@ -100,10 +100,15 @@
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="TestCTH2Pas"/> <UnitName Value="TestCTH2Pas"/>
</Unit11> </Unit11>
<Unit12>
<Filename Value="codetoolstests\teststdcodetools.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="TestStdCodetools"/>
</Unit12>
</Units> </Units>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
<Version Value="10"/> <Version Value="11"/>
<PathDelim Value="\"/> <PathDelim Value="\"/>
<SearchPaths> <SearchPaths>
<OtherUnitFiles Value="bugs;lcltests;codetoolstests"/> <OtherUnitFiles Value="bugs;lcltests;codetoolstests"/>
@ -129,12 +134,6 @@
<StackChecks Value="True"/> <StackChecks Value="True"/>
</Checks> </Checks>
</CodeGeneration> </CodeGeneration>
<Linking>
<Debugging>
<GenerateDebugInfo Value="True"/>
<DebugInfoType Value="dsAuto"/>
</Debugging>
</Linking>
<Other> <Other>
<CompilerMessages> <CompilerMessages>
<UseMsgFile Value="True"/> <UseMsgFile Value="True"/>

View File

@ -24,9 +24,7 @@ uses
Classes, consoletestrunner, Classes, consoletestrunner,
testglobals, testunits, dom, testglobals, testunits, dom,
{Unit needed to set the LCL version and widget set name} {Unit needed to set the LCL version and widget set name}
LCLVersion, InterfaceBase, Interfaces, LCLVersion, InterfaceBase, Interfaces;
// testing codetools
TestCTXMLFixFragments, TestCTRangeScan, TestCTH2Pas, TestCompleteBlock;
type type

View File

@ -30,7 +30,8 @@ uses
TestLpi, BugTestCase, TestLpi, BugTestCase,
bug8432, testfileutil, testfileproc, bug8432, testfileutil, testfileproc,
// codetools // codetools
TestBasicCodetools, TestBasicCodetools, TestCTXMLFixFragments, TestCTRangeScan, TestCTH2Pas,
TestCompleteBlock, TestStdCodetools,
// lcltests // lcltests
testunicode, testpen, TestPreferredSize testunicode, testpen, TestPreferredSize
{$IFNDEF NoSemiAutomatedTests} {$IFNDEF NoSemiAutomatedTests}