1 |
|
unit Test14; |
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 14: Non select procedures} |
12 |
|
|
30 |
|
procedure UpdateDatabase(Attachment: IAttachment); |
31 |
|
procedure QueryDatabase(Attachment: IAttachment); |
32 |
|
public |
33 |
< |
function TestTitle: string; override; |
34 |
< |
procedure RunTest(CharSet: string; SQLDialect: integer); override; |
33 |
> |
function TestTitle: AnsiString; override; |
34 |
> |
procedure RunTest(CharSet: AnsiString; SQLDialect: integer); override; |
35 |
|
end; |
36 |
|
|
37 |
|
implementation |
74 |
|
ReportResult(Statement.Execute); |
75 |
|
end; |
76 |
|
|
77 |
< |
function TTest14.TestTitle: string; |
77 |
> |
function TTest14.TestTitle: AnsiString; |
78 |
|
begin |
79 |
|
Result := 'Test 14: Non select procedures'; |
80 |
|
end; |
101 |
|
|
102 |
|
|
103 |
|
|
104 |
< |
procedure TTest14.RunTest(CharSet: string; SQLDialect: integer); |
104 |
> |
procedure TTest14.RunTest(CharSet: AnsiString; SQLDialect: integer); |
105 |
|
var DPB: IDPB; |
106 |
|
Attachment: IAttachment; |
107 |
|
begin |