|
1 /* |
|
2 * Copyright (c) 2004 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 |
|
20 |
|
21 #ifndef __UT_TMCCCRYPTOCONTEXT_H__ |
|
22 #define __UT_TMCCCRYPTOCONTEXT_H__ |
|
23 |
|
24 // EXTERNAL INCLUDES |
|
25 #include <digia/eunit/ceunittestsuiteclass.h> |
|
26 |
|
27 // INTERNAL INCLUDES |
|
28 |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class TMccCryptoContext; |
|
32 |
|
33 #include <e32def.h> |
|
34 #ifndef NONSHARABLE_CLASS |
|
35 #define NONSHARABLE_CLASS(x) class x |
|
36 #endif |
|
37 |
|
38 // CLASS DEFINITION |
|
39 /** |
|
40 * |
|
41 * EUnitWizard generated test class. |
|
42 * |
|
43 */ |
|
44 NONSHARABLE_CLASS( UT_TMccCryptoContext ) |
|
45 : public CEUnitTestSuiteClass |
|
46 { |
|
47 public: // Constructors and destructors |
|
48 |
|
49 /** |
|
50 * Two phase construction |
|
51 */ |
|
52 static UT_TMccCryptoContext* NewL(); |
|
53 static UT_TMccCryptoContext* NewLC(); |
|
54 /** |
|
55 * Destructor |
|
56 */ |
|
57 ~UT_TMccCryptoContext(); |
|
58 |
|
59 private: // Constructors and destructors |
|
60 |
|
61 UT_TMccCryptoContext(); |
|
62 void ConstructL(); |
|
63 |
|
64 public: // From observer interface |
|
65 |
|
66 |
|
67 |
|
68 private: // New methods |
|
69 |
|
70 void SetupL(); |
|
71 |
|
72 void Teardown(); |
|
73 |
|
74 |
|
75 void UT_TMccCryptoContext_ValidateContextL(); |
|
76 |
|
77 |
|
78 void UT_TMccCryptoContext_UpdateContextL(); |
|
79 |
|
80 |
|
81 void UT_TMccCryptoContext_GetDestinationInfoL(); |
|
82 |
|
83 |
|
84 void UT_TMccCryptoContext_SetDestinationInfoL(); |
|
85 |
|
86 |
|
87 void UT_TMccCryptoContext_SetMasterKeyL(); |
|
88 |
|
89 |
|
90 void UT_TMccCryptoContext_SetMasterSaltL(); |
|
91 |
|
92 |
|
93 void UT_TMccCryptoContext_SetCryptoParamsL(); |
|
94 |
|
95 |
|
96 void UT_TMccCryptoContext_MasterKeyL(); |
|
97 |
|
98 |
|
99 void UT_TMccCryptoContext_MasterSaltL(); |
|
100 |
|
101 |
|
102 void UT_TMccCryptoContext_CryptoParamsL(); |
|
103 |
|
104 |
|
105 void UT_TMccCryptoContext_ContextIdL(); |
|
106 |
|
107 |
|
108 private: // Data |
|
109 |
|
110 EUNIT_DECLARE_TEST_TABLE; |
|
111 |
|
112 }; |
|
113 |
|
114 #endif // __UT_TMCCCRYPTOCONTEXT_H__ |
|
115 |
|
116 // End of file |