codetools: tests: use lazutils instead of lcl

git-svn-id: trunk@54681 -
This commit is contained in:
mattias 2017-04-22 11:09:35 +00:00
parent 6f84d36cbf
commit da25c136d5
4 changed files with 27 additions and 53 deletions

View File

@ -37,7 +37,7 @@
<PackageName Value="fpcunitconsolerunner"/> <PackageName Value="fpcunitconsolerunner"/>
</Item2> </Item2>
</RequiredPackages> </RequiredPackages>
<Units Count="16"> <Units Count="10">
<Unit0> <Unit0>
<Filename Value="runtestscodetools.lpr"/> <Filename Value="runtestscodetools.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
@ -48,64 +48,43 @@
<UnitName Value="TestFindDeclaration"/> <UnitName Value="TestFindDeclaration"/>
</Unit1> </Unit1>
<Unit2> <Unit2>
<Filename Value="fdt_typehelper.pas"/>
<IsPartOfProject Value="True"/>
</Unit2>
<Unit3>
<Filename Value="fdt_nestedclasses.pas"/>
<IsPartOfProject Value="True"/>
</Unit3>
<Unit4>
<Filename Value="fdt_classof.pas"/>
<IsPartOfProject Value="True"/>
</Unit4>
<Unit5>
<Filename Value="fdt_objccategory.pas"/>
<IsPartOfProject Value="True"/>
</Unit5>
<Unit6>
<Filename Value="fdt_classhelper.pas"/>
<IsPartOfProject Value="True"/>
</Unit6>
<Unit7>
<Filename Value="fdt_objcclass.pas"/>
<IsPartOfProject Value="True"/>
</Unit7>
<Unit8>
<Filename Value="fdt_with.pas"/>
<IsPartOfProject Value="True"/>
</Unit8>
<Unit9>
<Filename Value="testrefactoring.pas"/> <Filename Value="testrefactoring.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="TestRefactoring"/> <UnitName Value="TestRefactoring"/>
</Unit9> </Unit2>
<Unit10> <Unit3>
<Filename Value="rt_explodewith.pas"/>
<IsPartOfProject Value="True"/>
</Unit10>
<Unit11>
<Filename Value="fdt_generics.pas"/>
<IsPartOfProject Value="True"/>
</Unit11>
<Unit12>
<Filename Value="testglobals.pas"/> <Filename Value="testglobals.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="TestGlobals"/> <UnitName Value="TestGlobals"/>
</Unit12> </Unit3>
<Unit13> <Unit4>
<Filename Value="testpascalparser.pas"/> <Filename Value="testpascalparser.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="TestPascalParser"/> <UnitName Value="TestPascalParser"/>
</Unit13> </Unit4>
<Unit14> <Unit5>
<Filename Value="moduletests/fdt_proc_basetypes.pas"/> <Filename Value="moduletests/fdt_proc_basetypes.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
</Unit14> </Unit5>
<Unit15> <Unit6>
<Filename Value="moduletests/fdt_for_in.pas"/> <Filename Value="moduletests/fdt_for_in.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
</Unit15> </Unit6>
<Unit7>
<Filename Value="testmethodjumptool.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="TestMethodJumpTool"/>
</Unit7>
<Unit8>
<Filename Value="teststdcodetools.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="TestStdCodetools"/>
</Unit8>
<Unit9>
<Filename Value="testcth2pas.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="TestCTH2Pas"/>
</Unit9>
</Units> </Units>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>

View File

@ -31,16 +31,11 @@ uses
TestGlobals, TestGlobals,
// non Pascal // non Pascal
TestCfgScript, TestCTH2Pas, TestCTXMLFixFragments, TestCfgScript, TestCTH2Pas, TestCTXMLFixFragments,
// compile test files to make sure they are valid Pascal
fdt_classhelper,
{$IF FPC_FULLVERSION >= 30101} {$IF FPC_FULLVERSION >= 30101}
fdt_typehelper,
{$ENDIF} {$ENDIF}
fdt_nestedclasses,
{$IFDEF Darwin} {$IFDEF Darwin}
fdt_objccategory, fdt_objcclass, fdt_objccategory, fdt_objcclass,
{$ENDIF} {$ENDIF}
fdt_classof, fdt_with, rt_explodewith, fdt_generics,
TestBasicCodetools, TestBasicCodetools,
TestCTRangeScan, TestPascalParser, TestMethodJumpTool, TestStdCodetools, TestCTRangeScan, TestPascalParser, TestMethodJumpTool, TestStdCodetools,
TestFindDeclaration, TestCompleteBlock, TestRefactoring; TestFindDeclaration, TestCompleteBlock, TestRefactoring;

View File

@ -10,7 +10,7 @@ unit TestMethodJumpTool;
interface interface
uses uses
Classes, SysUtils, LCLProc, fpcunit, testregistry, Classes, SysUtils, fpcunit, testregistry, LazLoggerBase,
CodeToolManager, StdCodeTools, CodeCache, LinkScanner; CodeToolManager, StdCodeTools, CodeCache, LinkScanner;
type type

View File

@ -11,7 +11,7 @@ unit TestStdCodetools;
interface interface
uses uses
Classes, SysUtils, LCLProc, fpcunit, testregistry, Classes, SysUtils, LazLoggerBase, fpcunit, testregistry,
CodeToolManager, StdCodeTools, CodeCache, LinkScanner; CodeToolManager, StdCodeTools, CodeCache, LinkScanner;
type type