Skip to content

Commit

Permalink
Tests don't log to the console.
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Jan 29, 2024
1 parent b42fedd commit d4c7e44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unittests/general/Several/DMVCFrameworkTests.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ program DMVCFrameworkTests;
uses
System.SysUtils,
System.IOUtils,
MVCFramework.Logger,
DUnitX.TestFramework,
DUnitX.Loggers.XML.NUnit,
{$IFDEF CONSOLE_TESTRUNNER}
Expand Down Expand Up @@ -144,6 +145,7 @@ end;

begin
ReportMemoryLeaksOnShutdown := True;
UseConsoleLogger := False;
{$IF Defined(CONSOLE_TESTRUNNER)}
MainConsole();
{$ELSE}
Expand Down
2 changes: 2 additions & 0 deletions unittests/general/TestServer/TestServer.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

uses
System.SysUtils,
MVCFramework.Logger,
IdHTTPWebBrokerBridge,
Web.WebReq,
{$IFNDEF LINUX}
Expand Down Expand Up @@ -79,6 +80,7 @@ end;

begin
ReportMemoryLeaksOnShutdown := True;
UseConsoleLogger := False;
try
if WebRequestHandler <> nil then
WebRequestHandler.WebModuleClass := WebModuleClass;
Expand Down

0 comments on commit d4c7e44

Please sign in to comment.