60 |
|
TTest1 = class(TFBTestBase) |
61 |
|
private |
62 |
|
procedure DoQuery(Attachment: IAttachment); |
63 |
– |
procedure WriteAttachmentInfo(Attachment: IAttachment); |
63 |
|
procedure GetFBVersion(Attachment: IAttachment); |
64 |
|
public |
65 |
|
function TestTitle: AnsiString; override; |
92 |
|
end; |
93 |
|
end; |
94 |
|
|
96 |
– |
procedure TTest1.WriteAttachmentInfo(Attachment: IAttachment); |
97 |
– |
begin |
98 |
– |
writeln(outfile,'DB Connect String = ',Attachment.GetConnectString); |
99 |
– |
writeln(outfile,'DB Charset ID = ',Attachment.GetDefaultCharSetID); |
100 |
– |
writeln(outfile,'DB SQL Dialect = ',Attachment.GetSQLDialect); |
101 |
– |
writeln(outfile,'DB Remote Protocol = ', Attachment.GetRemoteProtocol); |
102 |
– |
writeln(outfile,'DB ODS Major Version = ',Attachment.GetODSMajorVersion); |
103 |
– |
writeln(outfile,'DB ODS Minor Version = ',Attachment.GetODSMinorVersion); |
104 |
– |
writeln(outfile,'User Authentication Method = ',Attachment.GetAuthenticationMethod); |
105 |
– |
writeln(outfile,'Firebird Library Path = ',Attachment.getFirebirdAPI.GetFBLibrary.GetLibraryFilePath); |
106 |
– |
writeln(outfile,'DB Client Implementation Version = ',Attachment.getFirebirdAPI.GetImplementationVersion); |
107 |
– |
end; |
108 |
– |
|
95 |
|
procedure TTest1.GetFBVersion(Attachment: IAttachment); |
96 |
|
var Version: TStrings; |
97 |
|
i: integer; |