1 |
|
unit Test8; |
2 |
+ |
{$IFDEF MSWINDOWS} |
3 |
+ |
{$DEFINE WINDOWS} |
4 |
+ |
{$ENDIF} |
5 |
|
|
6 |
< |
{$mode objfpc}{$H+} |
6 |
> |
{$IFDEF FPC} |
7 |
> |
{$mode delphi} |
8 |
|
{$codepage utf8} |
9 |
+ |
{$ENDIF} |
10 |
|
|
11 |
|
{Test 8: Create and read back an Array with 2 dimensions} |
12 |
|
|
36 |
|
private |
37 |
|
procedure UpdateDatabase(Attachment: IAttachment); |
38 |
|
public |
39 |
< |
function TestTitle: string; override; |
40 |
< |
procedure RunTest(CharSet: string; SQLDialect: integer); override; |
39 |
> |
function TestTitle: AnsiString; override; |
40 |
> |
procedure RunTest(CharSet: AnsiString; SQLDialect: integer); override; |
41 |
|
end; |
42 |
|
|
43 |
|
implementation |
96 |
|
ReportResults(Statement); |
97 |
|
end; |
98 |
|
|
99 |
< |
function TTest8.TestTitle: string; |
99 |
> |
function TTest8.TestTitle: AnsiString; |
100 |
|
begin |
101 |
|
Result := 'Test 8: Create and read back an Array with 2 dimensions'; |
102 |
|
end; |
103 |
|
|
104 |
< |
procedure TTest8.RunTest(CharSet: string; SQLDialect: integer); |
104 |
> |
procedure TTest8.RunTest(CharSet: AnsiString; SQLDialect: integer); |
105 |
|
var DPB: IDPB; |
106 |
|
Attachment: IAttachment; |
107 |
|
begin |