This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
LuisLeon_FactuGES/Source/Modulos/Tienda web/Test/TiendaWeb_Tests.dpr
2007-06-11 15:29:06 +00:00

42 lines
1021 B
ObjectPascal

program TiendaWeb_Tests;
{
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
Forms,
TestFramework,
GUITestRunner,
TextTestRunner,
uTiendaWebViewRegister,
uDataModuleUsuarios,
uHostMainForm in 'uHostMainForm.pas' {HostMainForm},
uOscCustomersController_test in 'uOscCustomersController_test.pas',
uTiendaWebController_test in 'uTiendaWebController_test.pas';
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(THostMainForm, HostMainForm);
uTiendaWebViewRegister.RegisterViews;
if dmUsuarios.Login then
begin
dmUsuarios.IDEmpresaActual := 1;
Application.Run;
end;
Application.Terminate;
end.