mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-23 21:46:13 +02:00
33 lines
632 B
ObjectPascal
33 lines
632 B
ObjectPascal
program clienttest;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
Classes, jsonparser, consoletestrunner, tcTests, fpcunittestinsight, testinsightclient,
|
|
testinsightprotocol;
|
|
|
|
type
|
|
|
|
{ TMyTestRunner }
|
|
|
|
TMyTestRunner = class(TTestRunner)
|
|
protected
|
|
// override the protected methods of TTestRunner to customize its behavior
|
|
end;
|
|
|
|
var
|
|
Application: TMyTestRunner;
|
|
|
|
begin
|
|
if IsTestinsightListening() then
|
|
RunRegisteredTests('','')
|
|
else
|
|
begin
|
|
Application := TMyTestRunner.Create(nil);
|
|
Application.Initialize;
|
|
Application.Title := 'FPCUnit Console test runner';
|
|
Application.Run;
|
|
Application.Free;
|
|
end;
|
|
end.
|