cbsref/telephonyrefplugins/atltsy/integrationtest/src/testltsypktsetcontextconfig.cpp
equal
deleted
inserted
replaced
1 // TestLtsyPktSetContextConfig.cpp |
|
2 // Copyright (c) Symbian Software Ltd 2008. All rights reserved. |
|
3 // |
|
4 // Implementation of the Class CTestLtsyPktSetContextConfig |
|
5 |
|
6 // user include |
|
7 #include "TestLtsyPktSetContextConfig.h" |
|
8 |
|
9 /** |
|
10 * Constructor |
|
11 */ |
|
12 CTestLtsyPktSetContextConfig::CTestLtsyPktSetContextConfig(CTestLtsyModel& aModel) |
|
13 :CTestLtsyPktTestStepBase(aModel) |
|
14 { |
|
15 SetTestStepName(KTestLtsyPktSetContextConfig); |
|
16 } |
|
17 |
|
18 /** |
|
19 * Destructor |
|
20 */ |
|
21 CTestLtsyPktSetContextConfig::~CTestLtsyPktSetContextConfig() |
|
22 { |
|
23 } |
|
24 |
|
25 /** |
|
26 * It implements the required functionality of the test step. |
|
27 * This step will open a shared phone |
|
28 * @return TVerdict - result of the test step |
|
29 * @leave - System wide error codes |
|
30 */ |
|
31 TVerdict CTestLtsyPktSetContextConfig::doTestStepL() |
|
32 { |
|
33 if(TestStepResult() == EPass) |
|
34 { |
|
35 TRAPD(err,GprsContextSetConfigTest()); |
|
36 if(err != KErrNone) |
|
37 { |
|
38 INFO_PRINTF2(_L("The error was returned %d!! when open Context"),err); |
|
39 SetTestStepResult(EFail); |
|
40 } |
|
41 } |
|
42 return TestStepResult(); |
|
43 } |
|
44 |
|
45 // end of file |
|