equal
deleted
inserted
replaced
|
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 * This contains CTE_UseCasesStep class which is |
|
20 * the base class for all the Encrpt test steps |
|
21 * |
|
22 */ |
|
23 #include "TE_UseCasesStep.h" |
|
24 |
|
25 |
|
26 CTE_UseCasesStep::CTE_UseCasesStep() |
|
27 { |
|
28 } |
|
29 |
|
30 CTE_UseCasesStep::~CTE_UseCasesStep() |
|
31 { |
|
32 } |
|
33 |
|
34 enum TVerdict CTE_UseCasesStep::Test(TInt aResult) |
|
35 { |
|
36 if (!aResult) |
|
37 { |
|
38 INFO_PRINTF1(KEGeneric); |
|
39 SetTestStepResult(EFail); |
|
40 |
|
41 return TestStepResult(); |
|
42 } |
|
43 SetTestStepResult(EPass); |
|
44 |
|
45 return TestStepResult(); |
|
46 } |
|
47 |
|
48 void CTE_UseCasesStep::Set(TGlobalData * aGlobals) |
|
49 { |
|
50 UserSvr::DllSetTls(67338722,aGlobals); |
|
51 } |
|
52 |
|
53 TGlobalData* CTE_UseCasesStep::Get() |
|
54 { |
|
55 TGlobalData * d=(TGlobalData *)UserSvr::DllTls(67338722); |
|
56 return d; |
|
57 } |
|
58 |
|
59 |
|
60 |
|
61 |