mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 00:49:09 +02:00
* some small improvements for stored properties test
This commit is contained in:
parent
a9d8bfa1f7
commit
df2b62c551
@ -78,7 +78,7 @@ Type
|
|||||||
Procedure SetVirtualAnsiString ( Value : AnsiString ); virtual;
|
Procedure SetVirtualAnsiString ( Value : AnsiString ); virtual;
|
||||||
Procedure SetVirtualMyEnum ( Value : TMyEnum ); virtual;
|
Procedure SetVirtualMyEnum ( Value : TMyEnum ); virtual;
|
||||||
Function GetStaticStored : Boolean;
|
Function GetStaticStored : Boolean;
|
||||||
Function GetVirtualStored : Boolean;
|
Function GetVirtualStored : Boolean;virtual;
|
||||||
Public
|
Public
|
||||||
Constructor Create;
|
Constructor Create;
|
||||||
Destructor Destroy;override;
|
Destructor Destroy;override;
|
||||||
@ -120,7 +120,7 @@ Type
|
|||||||
Property StoredIntegerConstTrue : Longint Read FLongint Stored True;
|
Property StoredIntegerConstTrue : Longint Read FLongint Stored True;
|
||||||
Property StoredIntegerField : Longint Read FLongint Stored FStored;
|
Property StoredIntegerField : Longint Read FLongint Stored FStored;
|
||||||
Property StoredIntegerMethod : Longint Read Flongint Stored GetStaticStored;
|
Property StoredIntegerMethod : Longint Read Flongint Stored GetStaticStored;
|
||||||
Property StoredIntegerVirtualMethod : Longint Read Flongint Stored GetStaticStored;
|
Property StoredIntegerVirtualMethod : Longint Read Flongint Stored GetVirtualStored;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Constructor TMyTestObject.Create;
|
Constructor TMyTestObject.Create;
|
||||||
@ -453,7 +453,7 @@ begin
|
|||||||
Writeln (' Storedproc available');
|
Writeln (' Storedproc available');
|
||||||
Writeln (' Get property ',proctype(Propprocs));
|
Writeln (' Get property ',proctype(Propprocs));
|
||||||
Writeln (' Set Property ',proctype(propprocs shr 2));
|
Writeln (' Set Property ',proctype(propprocs shr 2));
|
||||||
Writeln (' Stored Property ',proctype(propprocs shr 2));
|
Writeln (' Stored Property ',proctype(propprocs shr 4));
|
||||||
Writeln (' Default : ',Default,' Index : ',Index);
|
Writeln (' Default : ',Default,' Index : ',Index);
|
||||||
Writeln (' NameIndex : ',NameIndex);
|
Writeln (' NameIndex : ',NameIndex);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user