|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 * @file TE_EncrptStep.cpp.h |
|
20 * |
|
21 * This defines the CTE_EncrptStep class which is the base class for all |
|
22 * the EncrptStep test step classes |
|
23 * |
|
24 */ |
|
25 |
|
26 #if (!defined __TE_ENCRPTSTEP_H__) |
|
27 #define __TE_ENCRPTSTEP_H__ |
|
28 |
|
29 #include <e32std.h> |
|
30 #include <e32svr.h> |
|
31 #include <cdbstore.h> |
|
32 |
|
33 #include "TE_EncrptServer.h" |
|
34 |
|
35 // Connection Configuration Lits |
|
36 _LIT(KNameDefault, "default"); |
|
37 |
|
38 // Test step names |
|
39 _LIT(KCreateEntries, "CreateEntries"); |
|
40 _LIT(KCheckPasswords , "CheckPasswords"); |
|
41 _LIT(KDeleteEntries , "DeleteEntries"); |
|
42 |
|
43 //Error strings |
|
44 _LIT(KEGeneric, "Test left!"); |
|
45 |
|
46 class TGlobalDbIds; |
|
47 class CTS_EncrptServer; |
|
48 |
|
49 /* CTS_ConnPrefStep class declaration |
|
50 * Provides the base class for all ConnPref test steps |
|
51 * |
|
52 */ |
|
53 class CTE_EncrptStep : public CTestStep |
|
54 { |
|
55 public: |
|
56 CTE_EncrptStep(); |
|
57 virtual ~CTE_EncrptStep(); |
|
58 enum TVerdict Test(TInt aResult); |
|
59 |
|
60 void ExpLogExtra(const TText8* aFile, TInt aLine, TInt aSeverity, |
|
61 TRefByValue<const TDesC> aFmt,...); |
|
62 |
|
63 TGlobalDbIds* Get(); |
|
64 void Set(TGlobalDbIds* aGlobals); |
|
65 |
|
66 //TGlobalDbIds* iGlobals; |
|
67 |
|
68 CTE_EncrptServer* iOwnerSuite; ///< Pointer to suite which owns this test step |
|
69 |
|
70 }; |
|
71 |
|
72 |
|
73 class TGlobalDbIds |
|
74 { |
|
75 public: |
|
76 TUint32 id1; |
|
77 TUint32 id2; |
|
78 }; |
|
79 |
|
80 #endif /* __TE_ENCRPTSTEP_H__ */ |