Skip to content

Commit 3472d34

Browse files
committed
Create updated project files for Delphi XE
The original project files work with Delphi 2006-2010. Rather than overwrite them, new versions were created for Delphi XE.
1 parent 7302b43 commit 3472d34

22 files changed

+1007
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
program TestArraysCatXE;
2+
{
3+
4+
Delphi DUnit Test Project
5+
-------------------------
6+
This project contains the DUnit test framework and the GUI/Console test runners.
7+
Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options
8+
to use the console test runner. Otherwise the GUI test runner will be used by
9+
default.
10+
11+
}
12+
13+
{$IFDEF CONSOLE_TESTRUNNER}
14+
{$APPTYPE CONSOLE}
15+
{$ENDIF}
16+
17+
uses
18+
Forms,
19+
TestFramework,
20+
GUITestRunner,
21+
TextTestRunner,
22+
UArraysCatSnippets in 'UArraysCatSnippets.pas',
23+
TestUArraysCatSnippets in 'TestUArraysCatSnippets.pas';
24+
25+
{$R *.RES}
26+
27+
begin
28+
Application.Initialize;
29+
if IsConsole then
30+
with TextTestRunner.RunRegisteredTests do
31+
Free
32+
else
33+
GUITestRunner.RunRegisteredTests;
34+
end.
35+
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<ProjectGuid>{6FB9EE44-A094-4BB5-94FF-FECE97F6CD13}</ProjectGuid>
4+
<ProjectVersion>12.3</ProjectVersion>
5+
<Config Condition="'$(Config)'==''">Debug</Config>
6+
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
7+
<MainSource>TestArraysCatXE.dpr</MainSource>
8+
<Base>True</Base>
9+
<Platform>Win32</Platform>
10+
<AppType>Application</AppType>
11+
<FrameworkType>VCL</FrameworkType>
12+
</PropertyGroup>
13+
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14+
<Base>true</Base>
15+
</PropertyGroup>
16+
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
17+
<Cfg_1>true</Cfg_1>
18+
<CfgParent>Base</CfgParent>
19+
<Base>true</Base>
20+
</PropertyGroup>
21+
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
22+
<Cfg_2>true</Cfg_2>
23+
<CfgParent>Base</CfgParent>
24+
<Base>true</Base>
25+
</PropertyGroup>
26+
<PropertyGroup Condition="'$(Base)'!=''">
27+
<DCC_ExeOutput>..\..\Exe</DCC_ExeOutput>
28+
<DCC_UnitSearchPath>$(BDS)\Source\DUnit\src;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
29+
<DCC_Define>_CONSOLE_TESTRUNNER;$(DCC_Define)</DCC_Define>
30+
<DCC_UnitAlias>WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;$(DCC_UnitAlias)</DCC_UnitAlias>
31+
<DCC_DcuOutput>..\..\Bin\Cat-Arrays</DCC_DcuOutput>
32+
<DCC_DependencyCheckOutputName>..\..\Exe\TestArraysCat.exe</DCC_DependencyCheckOutputName>
33+
<DCC_ImageBase>00400000</DCC_ImageBase>
34+
<DCC_Platform>x86</DCC_Platform>
35+
</PropertyGroup>
36+
<PropertyGroup Condition="'$(Cfg_1)'!=''">
37+
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
38+
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
39+
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
40+
<DCC_DebugInformation>false</DCC_DebugInformation>
41+
</PropertyGroup>
42+
<PropertyGroup Condition="'$(Cfg_2)'!=''">
43+
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
44+
</PropertyGroup>
45+
<ItemGroup>
46+
<DelphiCompile Include="TestArraysCatXE.dpr">
47+
<MainSource>MainSource</MainSource>
48+
</DelphiCompile>
49+
<DCCReference Include="UArraysCatSnippets.pas"/>
50+
<DCCReference Include="TestUArraysCatSnippets.pas"/>
51+
<BuildConfiguration Include="Debug">
52+
<Key>Cfg_2</Key>
53+
<CfgParent>Base</CfgParent>
54+
</BuildConfiguration>
55+
<BuildConfiguration Include="Base">
56+
<Key>Base</Key>
57+
</BuildConfiguration>
58+
<BuildConfiguration Include="Release">
59+
<Key>Cfg_1</Key>
60+
<CfgParent>Base</CfgParent>
61+
</BuildConfiguration>
62+
</ItemGroup>
63+
<Import Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')" Project="$(BDS)\Bin\CodeGear.Delphi.Targets"/>
64+
<Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"/>
65+
<ProjectExtensions>
66+
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
67+
<Borland.ProjectType/>
68+
<BorlandProject>
69+
<Delphi.Personality>
70+
<Parameters/>
71+
<VersionInfo>
72+
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
73+
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
74+
<VersionInfo Name="MajorVer">1</VersionInfo>
75+
<VersionInfo Name="MinorVer">0</VersionInfo>
76+
<VersionInfo Name="Release">0</VersionInfo>
77+
<VersionInfo Name="Build">0</VersionInfo>
78+
<VersionInfo Name="Debug">False</VersionInfo>
79+
<VersionInfo Name="PreRelease">False</VersionInfo>
80+
<VersionInfo Name="Special">False</VersionInfo>
81+
<VersionInfo Name="Private">False</VersionInfo>
82+
<VersionInfo Name="DLL">False</VersionInfo>
83+
<VersionInfo Name="Locale">2057</VersionInfo>
84+
<VersionInfo Name="CodePage">1252</VersionInfo>
85+
</VersionInfo>
86+
<VersionInfoKeys>
87+
<VersionInfoKeys Name="CompanyName"/>
88+
<VersionInfoKeys Name="FileDescription"/>
89+
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
90+
<VersionInfoKeys Name="InternalName"/>
91+
<VersionInfoKeys Name="LegalCopyright"/>
92+
<VersionInfoKeys Name="LegalTrademarks"/>
93+
<VersionInfoKeys Name="OriginalFilename"/>
94+
<VersionInfoKeys Name="ProductName"/>
95+
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
96+
<VersionInfoKeys Name="Comments"/>
97+
</VersionInfoKeys>
98+
<Source>
99+
<Source Name="MainSource">TestArraysCatXE.dpr</Source>
100+
</Source>
101+
</Delphi.Personality>
102+
<UnitTesting>
103+
<TestFramework>DUnit / Delphi Win32</TestFramework>
104+
<TestRunner>GUI</TestRunner>
105+
<TestProjectName/>
106+
<SourceProjectName/>
107+
</UnitTesting>
108+
<Platforms>
109+
<Platform value="Win32">True</Platform>
110+
</Platforms>
111+
</BorlandProject>
112+
<ProjectFileVersion>12</ProjectFileVersion>
113+
</ProjectExtensions>
114+
</Project>
89.2 KB
Binary file not shown.

csdb/tests/Cat-Date/TestDateCatXE.dpr

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
program TestDateCatXE;
2+
{
3+
4+
Delphi DUnit Test Project
5+
-------------------------
6+
This project contains the DUnit test framework and the GUI/Console test runners.
7+
Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options
8+
to use the console test runner. Otherwise the GUI test runner will be used by
9+
default.
10+
11+
}
12+
13+
{$IFDEF CONSOLE_TESTRUNNER}
14+
{$APPTYPE CONSOLE}
15+
{$ENDIF}
16+
17+
uses
18+
Forms,
19+
TestFramework,
20+
GUITestRunner,
21+
TextTestRunner,
22+
UDateCatSnippets in 'UDateCatSnippets.pas',
23+
TestUDateCatSnippets in 'TestUDateCatSnippets.pas';
24+
25+
{$R *.RES}
26+
27+
begin
28+
Application.Initialize;
29+
if IsConsole then
30+
with TextTestRunner.RunRegisteredTests do
31+
Free
32+
else
33+
GUITestRunner.RunRegisteredTests;
34+
end.
35+
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<ProjectGuid>{51C7446E-BE0B-4B4A-8822-4025CB1E2EA0}</ProjectGuid>
4+
<ProjectVersion>12.3</ProjectVersion>
5+
<Config Condition="'$(Config)'==''">Base</Config>
6+
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
7+
<MainSource>TestDateCatXE.dpr</MainSource>
8+
<Base>True</Base>
9+
<Platform>Win32</Platform>
10+
<AppType>Application</AppType>
11+
<FrameworkType>VCL</FrameworkType>
12+
</PropertyGroup>
13+
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14+
<Base>true</Base>
15+
</PropertyGroup>
16+
<PropertyGroup Condition="'$(Base)'!=''">
17+
<DCC_UnitSearchPath>$(BDS)\Source\DUnit\src;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
18+
<DCC_DependencyCheckOutputName>..\..\Exe\TestDateCat.exe</DCC_DependencyCheckOutputName>
19+
<DCC_UnitAlias>WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;$(DCC_UnitAlias)</DCC_UnitAlias>
20+
<DCC_Define>_CONSOLE_TESTRUNNER;$(DCC_Define)</DCC_Define>
21+
<DCC_ExeOutput>..\..\Exe</DCC_ExeOutput>
22+
<DCC_ImageBase>00400000</DCC_ImageBase>
23+
<DCC_CVT_WIDENING_STRING_LOST>true</DCC_CVT_WIDENING_STRING_LOST>
24+
<DCC_CVT_ACHAR_TO_WCHAR>true</DCC_CVT_ACHAR_TO_WCHAR>
25+
<DCC_EXPLICIT_STRING_CAST_LOSS>true</DCC_EXPLICIT_STRING_CAST_LOSS>
26+
<DCC_Platform>x86</DCC_Platform>
27+
<DCC_DcuOutput>..\..\Bin\Cat-Date</DCC_DcuOutput>
28+
<DCC_SymbolReferenceInfo>1</DCC_SymbolReferenceInfo>
29+
</PropertyGroup>
30+
<ItemGroup>
31+
<DelphiCompile Include="TestDateCatXE.dpr">
32+
<MainSource>MainSource</MainSource>
33+
</DelphiCompile>
34+
<DCCReference Include="UDateCatSnippets.pas"/>
35+
<DCCReference Include="TestUDateCatSnippets.pas"/>
36+
<BuildConfiguration Include="Base">
37+
<Key>Base</Key>
38+
</BuildConfiguration>
39+
</ItemGroup>
40+
<Import Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')" Project="$(BDS)\Bin\CodeGear.Delphi.Targets"/>
41+
<Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"/>
42+
<ProjectExtensions>
43+
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
44+
<Borland.ProjectType/>
45+
<BorlandProject>
46+
<Delphi.Personality>
47+
<Parameters>
48+
<Parameters Name="RunParams">-localhost</Parameters>
49+
</Parameters>
50+
<VersionInfo>
51+
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
52+
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
53+
<VersionInfo Name="MajorVer">1</VersionInfo>
54+
<VersionInfo Name="MinorVer">0</VersionInfo>
55+
<VersionInfo Name="Release">0</VersionInfo>
56+
<VersionInfo Name="Build">0</VersionInfo>
57+
<VersionInfo Name="Debug">False</VersionInfo>
58+
<VersionInfo Name="PreRelease">False</VersionInfo>
59+
<VersionInfo Name="Special">False</VersionInfo>
60+
<VersionInfo Name="Private">False</VersionInfo>
61+
<VersionInfo Name="DLL">False</VersionInfo>
62+
<VersionInfo Name="Locale">2057</VersionInfo>
63+
<VersionInfo Name="CodePage">1252</VersionInfo>
64+
</VersionInfo>
65+
<VersionInfoKeys>
66+
<VersionInfoKeys Name="CompanyName"/>
67+
<VersionInfoKeys Name="FileDescription"/>
68+
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
69+
<VersionInfoKeys Name="InternalName"/>
70+
<VersionInfoKeys Name="LegalCopyright"/>
71+
<VersionInfoKeys Name="LegalTrademarks"/>
72+
<VersionInfoKeys Name="OriginalFilename"/>
73+
<VersionInfoKeys Name="ProductName"/>
74+
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
75+
<VersionInfoKeys Name="Comments"/>
76+
</VersionInfoKeys>
77+
<Excluded_Packages>
78+
<Excluded_Packages Name="$(BDSBIN)\dclib140.bpl">Embarcadero InterBase Express Components</Excluded_Packages>
79+
<Excluded_Packages Name="$(BDSBIN)\dclado140.bpl">Embarcadero ADO DB Components</Excluded_Packages>
80+
<Excluded_Packages Name="$(BDSBIN)\dclwebsnap140.bpl">Embarcadero WebSnap Components</Excluded_Packages>
81+
<Excluded_Packages Name="$(BDSBIN)\dclwbm140.bpl">Embarcadero InternetExpress Components</Excluded_Packages>
82+
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k140.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
83+
<Excluded_Packages Name="$(BDSBIN)\dclofficexp140.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
84+
</Excluded_Packages>
85+
<Source>
86+
<Source Name="MainSource">TestDateCatXE.dpr</Source>
87+
</Source>
88+
</Delphi.Personality>
89+
<UnitTesting>
90+
<TestFramework>DUnit / Delphi Win32</TestFramework>
91+
<TestRunner>GUI</TestRunner>
92+
<TestProjectName/>
93+
<SourceProjectName/>
94+
</UnitTesting>
95+
<Platforms>
96+
<Platform value="Win32">True</Platform>
97+
</Platforms>
98+
</BorlandProject>
99+
<ProjectFileVersion>12</ProjectFileVersion>
100+
</ProjectExtensions>
101+
</Project>

csdb/tests/Cat-Date/TestDateCatXE.res

5.16 KB
Binary file not shown.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
program TestDriveCatXE;
2+
3+
uses
4+
Forms,
5+
FmDriveCatDemo in 'FmDriveCatDemo.pas' {DriveCatDemoForm},
6+
UDriveCatSnippets in 'UDriveCatSnippets.pas';
7+
8+
{$R *.res}
9+
10+
begin
11+
Application.Initialize;
12+
{$IFDEF CONDITIONALEXPRESSIONS}
13+
{$IF CompilerVersion >= 18.5} // Delphi 2007 and later
14+
Application.MainFormOnTaskbar := True;
15+
{$IFEND}
16+
{$ENDIF}
17+
Application.CreateForm(TDriveCatDemoForm, DriveCatDemoForm);
18+
Application.Run;
19+
end.
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<ProjectGuid>{6FC76C80-C8A1-408A-B0F8-2FC366E187D2}</ProjectGuid>
4+
<MainSource>TestDriveCatXE.dpr</MainSource>
5+
<Config Condition="'$(Config)'==''">Base</Config>
6+
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
7+
<ProjectVersion>12.3</ProjectVersion>
8+
<Base>True</Base>
9+
<Platform>Win32</Platform>
10+
<AppType>Application</AppType>
11+
<FrameworkType>VCL</FrameworkType>
12+
</PropertyGroup>
13+
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14+
<Base>true</Base>
15+
</PropertyGroup>
16+
<PropertyGroup Condition="'$(Base)'!=''">
17+
<DCC_DependencyCheckOutputName>..\..\Exe\TestDriveCat.exe</DCC_DependencyCheckOutputName>
18+
<DCC_ImageBase>00400000</DCC_ImageBase>
19+
<DCC_SymbolReferenceInfo>1</DCC_SymbolReferenceInfo>
20+
<DCC_UnitAlias>WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;$(DCC_UnitAlias)</DCC_UnitAlias>
21+
<DCC_Platform>x86</DCC_Platform>
22+
<DCC_ExeOutput>..\..\Exe</DCC_ExeOutput>
23+
<DCC_K>false</DCC_K>
24+
<DCC_N>true</DCC_N>
25+
<DCC_S>false</DCC_S>
26+
<DCC_DcuOutput>..\..\Bin\Cat-Drive</DCC_DcuOutput>
27+
<DCC_E>false</DCC_E>
28+
<DCC_F>false</DCC_F>
29+
</PropertyGroup>
30+
<ItemGroup>
31+
<DelphiCompile Include="TestDriveCatXE.dpr">
32+
<MainSource>MainSource</MainSource>
33+
</DelphiCompile>
34+
<DCCReference Include="FmDriveCatDemo.pas">
35+
<Form>DriveCatDemoForm</Form>
36+
</DCCReference>
37+
<DCCReference Include="UDriveCatSnippets.pas"/>
38+
<BuildConfiguration Include="Base">
39+
<Key>Base</Key>
40+
</BuildConfiguration>
41+
</ItemGroup>
42+
<Import Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')" Project="$(BDS)\Bin\CodeGear.Delphi.Targets"/>
43+
<Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"/>
44+
<ProjectExtensions>
45+
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
46+
<Borland.ProjectType>VCLApplication</Borland.ProjectType>
47+
<BorlandProject>
48+
<Delphi.Personality>
49+
<Source>
50+
<Source Name="MainSource">TestDriveCatXE.dpr</Source>
51+
</Source>
52+
<Parameters/>
53+
<VersionInfo>
54+
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
55+
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
56+
<VersionInfo Name="MajorVer">1</VersionInfo>
57+
<VersionInfo Name="MinorVer">0</VersionInfo>
58+
<VersionInfo Name="Release">0</VersionInfo>
59+
<VersionInfo Name="Build">0</VersionInfo>
60+
<VersionInfo Name="Debug">False</VersionInfo>
61+
<VersionInfo Name="PreRelease">False</VersionInfo>
62+
<VersionInfo Name="Special">False</VersionInfo>
63+
<VersionInfo Name="Private">False</VersionInfo>
64+
<VersionInfo Name="DLL">False</VersionInfo>
65+
<VersionInfo Name="Locale">2057</VersionInfo>
66+
<VersionInfo Name="CodePage">1252</VersionInfo>
67+
</VersionInfo>
68+
<VersionInfoKeys>
69+
<VersionInfoKeys Name="CompanyName"/>
70+
<VersionInfoKeys Name="FileDescription"/>
71+
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
72+
<VersionInfoKeys Name="InternalName"/>
73+
<VersionInfoKeys Name="LegalCopyright"/>
74+
<VersionInfoKeys Name="LegalTrademarks"/>
75+
<VersionInfoKeys Name="OriginalFilename"/>
76+
<VersionInfoKeys Name="ProductName"/>
77+
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
78+
<VersionInfoKeys Name="Comments"/>
79+
</VersionInfoKeys>
80+
</Delphi.Personality>
81+
<Platforms>
82+
<Platform value="Win32">True</Platform>
83+
</Platforms>
84+
</BorlandProject>
85+
<ProjectFileVersion>12</ProjectFileVersion>
86+
</ProjectExtensions>
87+
</Project>
5.16 KB
Binary file not shown.

0 commit comments

Comments
 (0)