cbsref/telephonyrefplugins/atltsy/integrationtest/src/testltsypktgetcontextqosprifile.cpp
equal
deleted
inserted
replaced
|
1 // TestLtsyPktGetContextQoSProfile.cpp |
|
2 // Copyright (c) Symbian Software Ltd 2008. All rights reserved. |
|
3 // |
|
4 // Implementation of the Class CTestLtsyPktGetContextQoSProfile |
|
5 |
|
6 // user include |
|
7 #include "TestLtsyPktGetContextQoSProfile.h" |
|
8 |
|
9 /** |
|
10 * Constructor |
|
11 */ |
|
12 CTestLtsyPktGetContextQoSProfile::CTestLtsyPktGetContextQoSProfile(CTestLtsyModel& aModel) |
|
13 :CTestLtsyPktTestStepBase(aModel) |
|
14 { |
|
15 SetTestStepName(KTestLtsyPktGetContextQoSProfile); |
|
16 } |
|
17 |
|
18 /** |
|
19 * Destructor |
|
20 */ |
|
21 CTestLtsyPktGetContextQoSProfile::~CTestLtsyPktGetContextQoSProfile() |
|
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 CTestLtsyPktGetContextQoSProfile::doTestStepL() |
|
32 { |
|
33 if(TestStepResult() == EPass) |
|
34 { |
|
35 TRAPD(err,GprsGetQoSProfileTest()); |
|
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 |