Test suite results for test file test/testv2.pp

Test run data :

Run ID:
Operating system: aix
Processor: powerpc64
Version: 3.2.3
Fails/OK/Total: 83/7826/7909
Version: 3.2.3
Full version: 3.2.3-1373-gae0fe8a6a0
Comment: -Fl/opt/freeware/lib -Fd
Machine: power-aix
Category: 1
SVN revisions: fdf93c5b29:c17a0e20f5:ae0fe8a6a0:d1c29e6cb9
Submitter: pierre
Date: 2024/04/19 10:44:00 <> 2024/04/09
Previous run: 934298
Next run: 935634

Hide skipped tests

Hide successful tests

Test file "test/testv2.pp" information:

t_id 26
t_version 1.1
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
443592281934956TrueFalseSuccessfully run

Record count: 1

No log of 934956.

Source:

{ %version=1.1 }
program testv2;

uses variants,varutils;

Procedure TestLongInt;

Var
  V : Variant;
  I : LongInt;

begin
  Writeln('Longint assignment');
  I:=1;
  V:=I;
  DumpVariant(TVarData(V));
end;

Procedure TestSmallInt;

Var
  V : Variant;
  I : SmallInt;

begin
  Writeln('Smallint assignment');
  I:=2;
  V:=I;
  DumpVariant(TVarData(V));
end;

Procedure TestShortInt;

Var
  V : Variant;
  I : ShortInt;

begin
  Writeln('ShortInt assignment');
  I:=3;
  V:=I;
  DumpVariant(TVarData(V));
end;

Procedure TestCardinal;

Var
  V : Variant;
  C : Cardinal;

begin
  Writeln('Cardinal assignment');
  C:=4;
  V:=C;
  DumpVariant(TVarData(V));
end;

Procedure TestWord;


Var
  V : Variant;
  W : Word;

begin
  Writeln('Word assignment');
  W:=5;
  V:=W;
  DumpVariant(TVarData(V));
end;

Procedure TestByte;


Var
  V : Variant;
  B : Byte;

begin
  Writeln('Byte assignment');
  B:=6;
  V:=B;
  DumpVariant(TVarData(V));
end;

// 64 bit values

Procedure TestInt64;

Var
  V : Variant;
  I : int64;

begin
  Writeln('Int64 assignment');
  I:=7;
  V:=I;
  DumpVariant(TVarData(V));
end;


Procedure TestQWord;

Var
  V : Variant;
  Q : QWord;

begin
  Writeln('QWord assignment');
  Q:=8;
  V:=Q;
  DumpVariant(TVarData(V));
end;

begin
  TestLongint;
  TestSmallInt;
  TestShortInt;
  TestCardinal;
  TestWord;
  TestByte;
  TestInt64;
  TestQWord;
end.

Link to SVN view of test/testv2.pp source.