ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/testsuite/TestTemplate.pas
Revision: 315
Committed: Thu Feb 25 11:56:36 2021 UTC (3 years, 2 months ago) by tony
Content type: text/x-pascal
File size: 1018 byte(s)
Log Message:
Updated for IBX 4 release

File Contents

# Content
1 unit TestTemplate;
2
3 {$mode objfpc}{$H+}
4
5 {Test 1: Titlecursor}
6
7 { Description
8 }
9
10 interface
11
12 uses
13 Classes, SysUtils, TestApplication, IBXTestBase, IB;
14
15 const
16 aTestID = '1';
17 aTestTitle = 'Test 1';
18
19 type
20
21 { TTest1 }
22
23 TTest1 = class(TIBXTestBase)
24 protected
25 procedure CreateObjects(Application: TTestApplication); override;
26 function GetTestID: AnsiString; override;
27 function GetTestTitle: AnsiString; override;
28 procedure InitTest; override;
29 public
30 procedure RunTest(CharSet: AnsiString; SQLDialect: integer); override;
31 end;
32
33
34 implementation
35
36 { TTest1 }
37
38 procedure TTest1.CreateObjects(Application: TTestApplication);
39 begin
40 inherited CreateObjects(Application);
41 end;
42
43 function TTest1.GetTestID: AnsiString;
44 begin
45 Result := aTestID;
46 end;
47
48 function TTest1.GetTestTitle: AnsiString;
49 begin
50 Result := aTestTitle;
51 end;
52
53 procedure TTest1.InitTest;
54 begin
55 end;
56
57 procedure TTest1.RunTest(CharSet: AnsiString; SQLDialect: integer);
58 begin
59 end;
60
61 initialization
62 RegisterTest(TTest1);
63
64 end.
65