|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __T_SQLITEWSD__H__ |
|
17 #define __T_SQLITEWSD__H__ |
|
18 |
|
19 const TInt KTestRecordCnt = 500; |
|
20 |
|
21 const TInt KWsdProc1Id = 1; |
|
22 const TInt KWsdProc1RecId1 = 1; |
|
23 const TInt KWsdProc1RecId2 = 2; |
|
24 |
|
25 const TInt KWsdProc2Id = 2; |
|
26 const TInt KWsdProc2RecId1 = 11; |
|
27 const TInt KWsdProc2RecId2 = 22; |
|
28 |
|
29 extern sqlite3* TheDb; |
|
30 |
|
31 extern void DoInserts(TInt aProcId, TInt aRecId1, TInt aRecId2); |
|
32 |
|
33 extern void Check(TInt aValue, TInt aLine); |
|
34 extern void Check(TInt aValue, TInt aExpected, TInt aLine); |
|
35 |
|
36 #define TEST(arg) Check((arg), __LINE__) |
|
37 #define TEST2(aValue, aExpected) Check(aValue, aExpected, __LINE__) |
|
38 |
|
39 #endif//__T_SQLITEWSD__H__ |