ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/testsuite/Test6.pas
(Generate patch)

Comparing ibx/trunk/fbintf/testsuite/Test6.pas (file contents):
Revision 110 by tony, Thu Jan 18 14:37:51 2018 UTC vs.
Revision 380 by tony, Mon Jan 10 10:13:17 2022 UTC

# Line 1 | Line 1
1 + (*
2 + *  Firebird Interface (fbintf) Test suite. This program is used to
3 + *  test the Firebird Pascal Interface and provide a semi-automated
4 + *  pass/fail check for each test.
5 + *
6 + *  The contents of this file are subject to the Initial Developer's
7 + *  Public License Version 1.0 (the "License"); you may not use this
8 + *  file except in compliance with the License. You may obtain a copy
9 + *  of the License here:
10 + *
11 + *    http://www.firebirdsql.org/index.php?op=doc&id=idpl
12 + *
13 + *  Software distributed under the License is distributed on an "AS
14 + *  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
15 + *  implied. See the License for the specific language governing rights
16 + *  and limitations under the License.
17 + *
18 + *  The Initial Developer of the Original Code is Tony Whyman.
19 + *
20 + *  The Original Code is (C) 2016 Tony Whyman, MWA Software
21 + *  (http://www.mwasoftware.co.uk).
22 + *
23 + *  All Rights Reserved.
24 + *
25 + *  Contributor(s): ______________________________________.
26 + *
27 + *)
28 +
29   unit Test6;
30   {$IFDEF MSWINDOWS}
31   {$DEFINE WINDOWS}
# Line 32 | Line 60 | unit Test6;
60  
61    10. Select all from new table.
62  
63 <  11. Drop Database and repeat above but with no default connection character set.
63 >  11. Execute Stored proc and display results
64 >
65 >  12. Drop Database and repeat above but with WIN1252 and  no default connection character set.
66   }
67  
68   interface
69  
70   uses
71 <  Classes, SysUtils, TestManager, IB;
71 >  Classes, SysUtils, TestApplication, FBTestApp, IB;
72  
73   type
74  
75    { TTest6 }
76  
77 <  TTest6 = class(TTestBase)
77 >  TTest6 = class(TFBTestBase)
78    private
79      procedure UpdateDatabase(Attachment: IAttachment);
80      procedure ExecProc(Attachment: IAttachment);
# Line 91 | Line 121 | var Transaction: ITransaction;
121      Statement,
122      Statement2: IStatement;
123      ResultSet: IResultSet;
94    i: integer;
124   begin
125    Transaction := Attachment.StartTransaction([isc_tpb_write,isc_tpb_nowait,isc_tpb_concurrency],taCommit);
126  
# Line 151 | Line 180 | var Transaction: ITransaction;
180      Statement: IStatement;
181      Results: IResults;
182   begin
183 <  writeln('Testing Blob as stored proc parameter');
183 >  writeln(OutFile,'Testing Blob as stored proc parameter');
184    Transaction := Attachment.StartTransaction([isc_tpb_write,isc_tpb_nowait,isc_tpb_concurrency],taCommit);
185  
186    Statement := Attachment.Prepare(Transaction,sqlExecProc);

Comparing ibx/trunk/fbintf/testsuite/Test6.pas (property svn:eol-style):
Revision 110 by tony, Thu Jan 18 14:37:51 2018 UTC vs.
Revision 380 by tony, Mon Jan 10 10:13:17 2022 UTC

# Line 0 | Line 1
1 + native

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines