Skip to content

Commit

Permalink
Fixed test project and added it to group.
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmarder committed Sep 22, 2024
1 parent 85324c0 commit 0a8934e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions Tests/Tests.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ begin
exit;
{$ENDIF}
try
TDUnitX.Options.ExitBehavior := TDUnitXExitBehavior.Pause;
//Check command line options, will exit if invalid
TDUnitX.CheckCommandLine;
//Create the test runner
Expand Down
2 changes: 1 addition & 1 deletion Tests/VTWorkerThreadIssue1001Tests.pas
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface
VirtualTrees;

type
TTestBaseVirtualTree = class(TBaseVirtualTree)
TTestBaseVirtualTree = class(TVTAncestor)
public
property OnCompareNodes;
end;
Expand Down
18 changes: 15 additions & 3 deletions VirtualTreesDevelopment.groupproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<Projects Include="Demos\OLE\OLE.dproj">
<Dependencies/>
</Projects>
<Projects Include="Tests\Tests.dproj">
<Dependencies/>
</Projects>
</ItemGroup>
<ProjectExtensions>
<Borland.Personality>Default.Personality.12</Borland.Personality>
Expand Down Expand Up @@ -95,14 +98,23 @@
<Target Name="OLE:Make">
<MSBuild Projects="Demos\OLE\OLE.dproj" Targets="Make"/>
</Target>
<Target Name="Tests">
<MSBuild Projects="Tests\Tests.dproj"/>
</Target>
<Target Name="Tests:Clean">
<MSBuild Projects="Tests\Tests.dproj" Targets="Clean"/>
</Target>
<Target Name="Tests:Make">
<MSBuild Projects="Tests\Tests.dproj" Targets="Make"/>
</Target>
<Target Name="Build">
<CallTarget Targets="Advanced;VirtualTreesR;VirtualTreesD;charityevents;Minimal;MVCDemo;OLE"/>
<CallTarget Targets="Advanced;VirtualTreesR;VirtualTreesD;charityevents;Minimal;MVCDemo;OLE;Tests"/>
</Target>
<Target Name="Clean">
<CallTarget Targets="Advanced:Clean;VirtualTreesR:Clean;VirtualTreesD:Clean;charityevents:Clean;Minimal:Clean;MVCDemo:Clean;OLE:Clean"/>
<CallTarget Targets="Advanced:Clean;VirtualTreesR:Clean;VirtualTreesD:Clean;charityevents:Clean;Minimal:Clean;MVCDemo:Clean;OLE:Clean;Tests:Clean"/>
</Target>
<Target Name="Make">
<CallTarget Targets="Advanced:Make;VirtualTreesR:Make;VirtualTreesD:Make;charityevents:Make;Minimal:Make;MVCDemo:Make;OLE:Make"/>
<CallTarget Targets="Advanced:Make;VirtualTreesR:Make;VirtualTreesD:Make;charityevents:Make;Minimal:Make;MVCDemo:Make;OLE:Make;Tests:Make"/>
</Target>
<Import Project="$(BDS)\Bin\CodeGear.Group.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Group.Targets')"/>
</Project>

0 comments on commit 0a8934e

Please sign in to comment.