--- ibx/trunk/fbintf/testsuite/Test12.pas 2021/02/25 11:27:14 314 +++ ibx/trunk/fbintf/testsuite/Test12.pas 2021/02/25 11:56:36 315 @@ -1,4 +1,32 @@ -unit Test12; +(* + * Firebird Interface (fbintf) Test suite. This program is used to + * test the Firebird Pascal Interface and provide a semi-automated + * pass/fail check for each test. + * + * The contents of this file are subject to the Initial Developer's + * Public License Version 1.0 (the "License"); you may not use this + * file except in compliance with the License. You may obtain a copy + * of the License here: + * + * http://www.firebirdsql.org/index.php?op=doc&id=idpl + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing rights + * and limitations under the License. + * + * The Initial Developer of the Original Code is Tony Whyman. + * + * The Original Code is (C) 2016 Tony Whyman, MWA Software + * (http://www.mwasoftware.co.uk). + * + * All Rights Reserved. + * + * Contributor(s): ______________________________________. + * +*) + +unit Test12; {$IFDEF MSWINDOWS} {$DEFINE WINDOWS} {$ENDIF} @@ -20,13 +48,13 @@ interface } uses - Classes, SysUtils, TestManager, IB; + Classes, SysUtils, TestApplication, FBTestApp, IB; type { TTest12 } - TTest12 = class(TTestBase) + TTest12 = class(TFBTestBase) private procedure UpdateDatabase(Attachment: IAttachment); procedure QueryDatabase(Attachment: IAttachment); @@ -72,9 +100,11 @@ begin {$IFDEF DCC} ByName('title').AsString := UTF8Encode('Blob Test ©€'); ByName('Notes').AsString := UTF8Encode('Écoute moi'); + ByName('FixedWidth').AsString := UTF8Encode('É'); {$ELSE} ByName('title').AsString := 'Blob Test ©€'; ByName('Notes').AsString := 'Écoute moi'; + ByName('FixedWidth').AsString := 'É'; {$ENDIF} ByName('BlobData').AsString := 'Some German Special Characters like ÖÄÜöäüß'; ByName('BlobData2').AsBlob := Attachment.CreateBlob(Transaction,'TestData','BlobData').SetString('Some German Special Characters like ÖÄÜöäüß');