Skip to content

Commit de2a8fd

Browse files
Fixed issue with test project getting 105 error - needs to be a console application.
1 parent 4419094 commit de2a8fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Delphi.Mocks.Tests.dproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
<Base>true</Base>
5454
</PropertyGroup>
5555
<PropertyGroup Condition="'$(Base)'!=''">
56+
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
5657
<SanitizedProjectName>Delphi_Mocks_Tests</SanitizedProjectName>
5758
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
5859
<BRCC_Defines>_ISCONSOLE;_XMLOUTPUT;$(BRCC_Defines)</BRCC_Defines>
5960
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
6061
<VerInfo_Locale>3081</VerInfo_Locale>
61-
<DCC_UnitSearchPath>$(BDS)\Source\DUnit\src;$(DUNITX);$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
62+
<DCC_UnitSearchPath>$(DUNITX);$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
6263
<DCC_UsePackage>bindcompfmx;dsnap;fmx;rtl;IndySystem;IndyCore;dbrtl;bindcomp;inetdb;fmxase;inet;fmxobj;xmlrtl;inetdbxpress;IndyProtocols;fmxdae;bindengine;soaprtl;$(DCC_UsePackage)</DCC_UsePackage>
6364
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace)</DCC_Namespace>
64-
<DCC_Define>_CONSOLE_TESTRUNNER;$(DCC_Define)</DCC_Define>
6565
<DCC_DcuOutput>.</DCC_DcuOutput>
6666
<DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
6767
<DCC_E>false</DCC_E>
@@ -102,7 +102,6 @@
102102
</PropertyGroup>
103103
<PropertyGroup Condition="'$(Cfg_3_Win32)'!=''">
104104
<VerInfo_Locale>1033</VerInfo_Locale>
105-
<DCC_Define>TESTINSIGHT;$(DCC_Define)</DCC_Define>
106105
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
107106
</PropertyGroup>
108107
<PropertyGroup Condition="'$(Cfg_2)'!=''">
@@ -149,6 +148,7 @@
149148
<DCCReference Include="Delphi.Mocks.Tests.TValue.pas"/>
150149
<DCCReference Include="Delphi.Mocks.Tests.Utils.pas"/>
151150
<DCCReference Include="Delphi.Mocks.Utils.Tests.pas"/>
151+
<DCCReference Include="Delphi.Mocks.Examples.Matchers.pas"/>
152152
<BuildConfiguration Include="Release">
153153
<Key>Cfg_2</Key>
154154
<CfgParent>Base</CfgParent>

0 commit comments

Comments
 (0)