Test suite results for test file webtbs/tw0868.pp

Test run data :

Run ID:
Operating system: solaris
Processor: sparc
Version: 3.2.3
Fails/OK/Total: 41/7877/7918
Version: 3.2.3
Full version: 3.2.3-1373-gae0fe8a
Comment: -Agas -Fd
Machine: unstable10s
Category: 1
SVN revisions: fdf93c5:c17a0e2:ae0fe8a:d1c29e6
Submitter: pierre
Date: 2024/04/28 02:47:00
Previous run: 940103
Next run: 941721

Hide skipped tests

Hide successful tests

Test file "webtbs/tw0868.pp" information:

t_id 713
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
480025597940829TrueFalseSuccessfully run

Record count: 1

No log of 940829.

Source:

{$mode objfpc}
{$H+}
type
  TTreeData = record
    Key: String;
    Data: Integer;
  end;

  TNode = class
    data: TTreeData;
  end;

  TStrIntDic = class
    FNode: TNode;
    destructor Destroy; override;
    procedure Add(const Key: String; Data: Integer);
  end;

destructor TStrIntDic.Destroy;
begin
  FNode.Free;
  inherited Destroy;
end;

procedure TStrIntDic.Add(const Key: String; Data: Integer);
var
  T: TTreeData;
begin
  T.Key:=Key;
  T.Data:=Data;
  FNode:=TNode.Create;
  FNode.data:=T;
end;

procedure Test;
var
  SD: TStrIntDic;
begin
  SD:=TStrIntDic.Create;
  try
    SD.Add('asdf', 2);
  finally
    SD.Free;
  end;
end;

begin
  Test;
  write('Test for bug 868 completed.');
  {readln;}
end.

Link to SVN view of webtbs/tw0868.pp source.