2013-10-30 01:09:09 +01:00
|
|
|
program DMVCFrameworkTests;
|
|
|
|
{
|
|
|
|
|
|
|
|
Delphi DUnit Test Project
|
|
|
|
-------------------------
|
|
|
|
This project contains the DUnit test framework and the GUI/Console test runners.
|
|
|
|
Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options
|
|
|
|
to use the console test runner. Otherwise the GUI test runner will be used by
|
|
|
|
default.
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
{$IFDEF CONSOLE_TESTRUNNER}
|
|
|
|
{$APPTYPE CONSOLE}
|
|
|
|
{$ENDIF}
|
|
|
|
|
|
|
|
uses
|
|
|
|
DUnitTestRunner,
|
|
|
|
FrameworkTestsU in 'FrameworkTestsU.pas',
|
|
|
|
LiveServerTestU in 'LiveServerTestU.pas',
|
|
|
|
MessagingExtensionsTestU in 'MessagingExtensionsTestU.pas',
|
2013-11-11 12:23:49 +01:00
|
|
|
TestControllersU in 'TestControllersU.pas',
|
2013-11-18 00:44:40 +01:00
|
|
|
MVCFramework.RESTClient in '..\..\sources\MVCFramework.RESTClient.pas',
|
2013-11-19 18:17:06 +01:00
|
|
|
BusinessObjectsU in '..\..\samples\commons\BusinessObjectsU.pas',
|
|
|
|
ObjectsMappers in '..\..\sources\ObjectsMappers.pas',
|
2013-12-04 12:08:32 +01:00
|
|
|
BOs in 'BOs.pas',
|
2014-04-02 20:28:53 +02:00
|
|
|
RTTIUtilsU in '..\..\sources\RTTIUtilsU.pas',
|
2015-01-14 11:39:44 +01:00
|
|
|
TestServerControllerU in '..\TestServer\TestServerControllerU.pas',
|
2015-01-14 14:13:48 +01:00
|
|
|
RESTAdapterTestsU in 'RESTAdapterTestsU.pas',
|
2015-06-15 18:57:46 +02:00
|
|
|
MVCFramework.RESTAdapter in '..\..\sources\MVCFramework.RESTAdapter.pas',
|
|
|
|
MVCFramework.Server in '..\..\sources\MVCFramework.Server.pas',
|
|
|
|
MVCFrameworkServerTestsU in 'MVCFrameworkServerTestsU.pas',
|
|
|
|
TestWebModuleU in 'TestWebModuleU.pas' {TestWebModule: TWebModule};
|
2013-10-30 01:09:09 +01:00
|
|
|
|
|
|
|
{$R *.RES}
|
|
|
|
|
|
|
|
begin
|
2015-01-14 11:39:44 +01:00
|
|
|
ReportMemoryLeaksOnShutdown := true;
|
2013-10-30 01:09:09 +01:00
|
|
|
DUnitTestRunner.RunRegisteredTests;
|
|
|
|
|
|
|
|
end.
|