mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 14:09:29 +02:00
43 lines
1.0 KiB
ObjectPascal
43 lines
1.0 KiB
ObjectPascal
{ %OPT=-S2 -Fcutf8 }
|
|
{
|
|
This file is part of the Free Component Library
|
|
|
|
XML tester program
|
|
Copyright (c) 2022 by Michael Van Canneyt michael@freepascal.org
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**********************************************************************}
|
|
{$mode objfpc}
|
|
{$h+}
|
|
program testxml;
|
|
|
|
uses
|
|
{$ifdef unix}
|
|
cwstring,
|
|
{$endif}
|
|
Classes, readertest, consoletestrunner;
|
|
|
|
type
|
|
{ TLazTestRunner }
|
|
TMyTestRunner = class(TTestRunner)
|
|
protected
|
|
// override the protected methods of TTestRunner to customize its behavior
|
|
end;
|
|
|
|
var
|
|
Application: TMyTestRunner;
|
|
begin
|
|
DefaultFormat := fPlain;
|
|
DefaultRunAllTests := True;
|
|
Application := TMyTestRunner.Create(nil);
|
|
Application.Initialize;
|
|
Application.Run;
|
|
Application.Free;
|
|
end.
|