Test suite results for test file tbs/tb0300.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "tbs/tb0300.pp" information:

t_id 1049
t_adddate 2003/10/14
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=0 Percentage= 0.00

Skipped=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Skipping test run because it is a unit 50 100.0 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0
i386 7 14.0 2024/05/08 03:25:00 27 2024/05/08 03:58:00 25
sparc 2 4.0 2024/05/08 03:54:00 52 2024/05/08 04:02:00 39
x86_64 35 70.0 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0
powerpc64 3 6.0 2024/05/08 03:37:00 60 2024/05/08 04:10:00 0
aarch64 3 6.0 2024/05/08 03:27:00 38 2024/05/08 03:58:00 39
linux 46 92.0 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0
go32v2 1 2.0 2024/05/08 03:49:00 59 2024/05/08 03:49:00 59
solaris 2 4.0 2024/05/08 03:54:00 52 2024/05/08 04:02:00 39
win64 1 2.0 2024/05/08 03:29:00 39 2024/05/08 03:29:00 39
3.3.1 20 40.0 2024/05/08 03:28:00 28 2024/05/08 04:10:00 0
3.2.3 30 60.0 2024/05/08 03:23:00 35 2024/05/08 04:10:00 0

Source:

{$Mode objfpc}

{
  This unit introduces some basic classes as they are defined in Delphi.
  These classes should be source compatible to their Delphi counterparts:
    TPersistent
    TComponent
}

Unit tb0300;

{$M+}

Interface

Type

{ ---------------------------------------------------------------------
    Forward Declarations.
  ---------------------------------------------------------------------}

  TComponent = Class;
  TFiler = Class;
  TPersistent = Class;

{ ---------------------------------------------------------------------
    TFiler
  ---------------------------------------------------------------------}

  TFiler = Class (TObject)
    Protected
      FAncestor : TComponent;
      FIgnoreChildren : Boolean;
      FRoot : TComponent;
    Private
    Public
    Published
      { Methods }
      Constructor Create {(Stream : TStream; BufSize : Longint) };
      Destructor Destroy; override;
      Procedure FlushBuffer; virtual; abstract;
      { Properties }
      Property Root : TComponent Read FRoot Write FRoot;
      Property Ancestor : TComponent Read FAncestor Write FAncestor;
      Property IgnoreChildren : Boolean Read FIgnoreChildren Write FIgnoreChildren;
    end;

{ ---------------------------------------------------------------------
    TPersistent
  ---------------------------------------------------------------------}

  TPersistent = Class (TObject)
    Private
      Procedure AssignError (Source : TPersistent);
    Protected
      Procedure AssignTo (Dest : TPersistent);
      Procedure DefineProperties (Filer : TFiler); Virtual;
    Public
      { Methods }
      Destructor Destroy; Override;
      Procedure Assign (Source : TPersistent); virtual;
    Published
    end;

{ ---------------------------------------------------------------------
    TComponent
  ---------------------------------------------------------------------}

  TComponentState = Set of ( csLoading, csReading, CsWriting, csDestroying,
                             csDesigning, csAncestor, csUpdating, csFixups );
  TComponentStyle = set of ( csInheritable,csCheckPropAvail );
  TComponentName = String;

  TComponent = Class (TPersistent)
    Protected
      FComponentState : TComponentState;
      FComponentStyle : TComponentStyle;
      FName : TComponentName;

      FOwner : TComponent;
      Function GetComponent (Index : Longint) : TComponent;
      Function GetComponentCount : Longint;
      Function GetComponentIndex : Longint;
      Procedure SetComponentIndex (Value : Longint);
      Procedure Setname (Value : TComponentName);
    Private
    Public
      { Methods }
      { Properties }
      Property ComponentCount : Longint Read GetComponentCount; { RO  }
      Property ComponentIndex : Longint Read GetComponentIndex write SetComponentIndex; { R/W }
      // Property Components [Index : LongInt] : TComponent Read GetComponent; { R0 }
      Property ComponentState : TComponentState Read FComponentState; { RO }
      Property ComponentStyle : TcomponentStyle Read FComponentStyle; { RO }
      Property Owner : TComponent Read Fowner; { RO }
    Published
      Property Name : TComponentName Read FName Write Setname;
    end;




Implementation

{ ---------------------------------------------------------------------
    TComponent
  ---------------------------------------------------------------------}

Function TComponent.GetComponent (Index : Longint) : TComponent;

begin
end;



Function TComponent.GetComponentCount : Longint;

begin
end;



Function TComponent.GetComponentIndex : Longint;

begin
end;



Procedure TComponent.SetComponentIndex (Value : Longint);

begin
end;




Procedure TComponent.Setname (Value : TComponentName);

begin
end;



{ ---------------------------------------------------------------------
    TFiler
  ---------------------------------------------------------------------}

Constructor TFiler.Create {(Stream : TStream; BufSize : Longint) };

begin
end;




Destructor TFiler.Destroy;

begin
end;




{ ---------------------------------------------------------------------
    TPersistent
  ---------------------------------------------------------------------}

Procedure TPersistent.AssignError (Source : TPersistent);

begin
end;



Procedure TPersistent.AssignTo (Dest : TPersistent);

begin
end;



Procedure TPersistent.DefineProperties (Filer : TFiler);

begin
end;



Destructor TPersistent.Destroy;

begin
end;



Procedure TPersistent.Assign (Source : TPersistent);

begin
end;



end.

Link to SVN view of tbs/tb0300.pp source.