Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / packages / fcl-fpcunit / src / tests / frameworktest.pp
Size: Mime:
{$mode objfpc}
{$h+}
{
    This file is part of the Free Component Library (FCL)
    Copyright (c) 2004 by Dean Zobec, Michael Van Canneyt

    an example of a console test runner of FPCUnit tests.

    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.

 **********************************************************************}
program frameworktest;

uses
  consoletestrunner, classes, SysUtils, fpcunit, testreport, asserttest,
  suitetest;


Type
  TFPCUnitRunner = Class(TTestRunner);

Var
  App : TFPCUnitRunner;

begin
  DefaultFormat:=fPlain;
  DefaultRunAllTests:=True;
  App:=TFPCUnitRunner.Create(Nil);
  App.Initialize;
  App.Title := 'FPCUnit Test Suite';
  App.Run;
  App.Free;
end.