1 |
|
unit Test6; |
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 6: Blob Handling} |
12 |
|
|
47 |
|
private |
48 |
|
procedure UpdateDatabase(Attachment: IAttachment); |
49 |
|
public |
50 |
< |
function TestTitle: string; override; |
51 |
< |
procedure RunTest(CharSet: string; SQLDialect: integer); override; |
50 |
> |
function TestTitle: AnsiString; override; |
51 |
> |
procedure RunTest(CharSet: AnsiString; SQLDialect: integer); override; |
52 |
|
end; |
53 |
|
|
54 |
|
implementation |
131 |
|
end; |
132 |
|
end; |
133 |
|
|
134 |
< |
function TTest6.TestTitle: string; |
134 |
> |
function TTest6.TestTitle: AnsiString; |
135 |
|
begin |
136 |
|
Result := 'Test 6: Blob Handling'; |
137 |
|
end; |
138 |
|
|
139 |
< |
procedure TTest6.RunTest(CharSet: string; SQLDialect: integer); |
139 |
> |
procedure TTest6.RunTest(CharSet: AnsiString; SQLDialect: integer); |
140 |
|
var DPB: IDPB; |
141 |
|
Attachment: IAttachment; |
142 |
|
begin |