1 /** |
|
2 * Copyright (c) 2002-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 * This defines the CTS_EncrptStep class which is the base class for all |
|
16 * the EncrptStep test step classes |
|
17 * |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 /** |
|
24 @file TS_EncrptStep.cpp.h |
|
25 */ |
|
26 |
|
27 #if (!defined __TS_ENCRPTSTEP_H__) |
|
28 #define __TS_ENCRPTSTEP_H__ |
|
29 |
|
30 #include <e32std.h> |
|
31 #include <cdbstore.h> |
|
32 |
|
33 #include <networking/teststep.h> |
|
34 #include "TS_EncrptSuite.h" |
|
35 |
|
36 // Connection Configuration Lits |
|
37 _LIT(KNameDefault, "default"); |
|
38 |
|
39 // Test step names |
|
40 _LIT(KCreateEntries, "CreateEntries"); |
|
41 _LIT(KCheckPasswords , "CheckPasswords"); |
|
42 _LIT(KDeleteEntries , "DeleteEntries"); |
|
43 |
|
44 //Error strings |
|
45 _LIT(KEGeneric, "Test left!"); |
|
46 |
|
47 class TGlobalDbIds; |
|
48 class CTS_EncrptSuite; |
|
49 |
|
50 /* CTS_ConnPrefStep class declaration |
|
51 * Provides the base class for all ConnPref test steps |
|
52 * |
|
53 */ |
|
54 class CTS_EncrptStep : public CTestStep |
|
55 { |
|
56 public: |
|
57 CTS_EncrptStep(); |
|
58 virtual ~CTS_EncrptStep(); |
|
59 enum TVerdict Test(TInt aResult); |
|
60 |
|
61 void ExpLogExtra(const TText8* aFile, TInt aLine, TInt aSeverity, |
|
62 TRefByValue<const TDesC> aFmt,...); |
|
63 |
|
64 TGlobalDbIds* Get(); |
|
65 void Set(TGlobalDbIds * aGlobals); |
|
66 |
|
67 CTS_EncrptSuite* iOwnerSuite; ///< Pointer to suite which owns this test step |
|
68 |
|
69 }; |
|
70 |
|
71 |
|
72 class TGlobalDbIds |
|
73 { |
|
74 public: |
|
75 TUint32 id1; |
|
76 TUint32 id2; |
|
77 }; |
|
78 |
|
79 #endif /* __TS_ENCRPTSTEP_H__ */ |
|