equal
deleted
inserted
replaced
|
1 // TestTelephonyClosePhone.cpp |
|
2 // Copyright (c) Symbian Software Ltd 2008. All rights reserved. |
|
3 // |
|
4 // Implementation of the Class CTestTelephonyClosePhone |
|
5 |
|
6 // user include |
|
7 #include "TestLtsyClosePhone.h" |
|
8 |
|
9 // member functions |
|
10 |
|
11 /** |
|
12 * Constructor |
|
13 * |
|
14 */ |
|
15 CTestLtsyClosePhone::CTestLtsyClosePhone( CTestLtsyModel& aTestModel) |
|
16 :CTestLtsyPhoneStepBase(aTestModel) |
|
17 { |
|
18 } |
|
19 |
|
20 /** |
|
21 * Destructor |
|
22 * |
|
23 */ |
|
24 CTestLtsyClosePhone::~CTestLtsyClosePhone() |
|
25 { |
|
26 |
|
27 } |
|
28 |
|
29 /** |
|
30 * It implements the required functionality of the test step. |
|
31 * This step will close the shared phone |
|
32 * @return TVerdict - result of the test step |
|
33 * @leave - System wide error codes |
|
34 */ |
|
35 TVerdict CTestLtsyClosePhone::doTestStepL() |
|
36 { |
|
37 if(TestStepResult() == EPass) |
|
38 { |
|
39 TestClosePhone(); |
|
40 } |
|
41 |
|
42 return TestStepResult(); |
|
43 } |
|
44 |
|
45 // end of file |