equal
deleted
inserted
replaced
|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include "smstestbase.h" |
|
17 |
|
18 //#define NO_SIM_PARAMS_TEST |
|
19 _LIT(KSmsScTestName, "Read and Write Service Centre"); |
|
20 |
|
21 |
|
22 class CSmsScTest : public CSmsTestBase |
|
23 { |
|
24 public: |
|
25 static CSmsScTest* NewLC(CSmsTestUtils& aSmsTest, const TDesC& aScriptFile, TInt& aNextTest); |
|
26 ~CSmsScTest(); |
|
27 |
|
28 private: |
|
29 CSmsScTest(CSmsTestUtils& aSmsTest, const TDesC& aScriptFile, TInt& aNextTest); |
|
30 |
|
31 #ifndef NO_SIM_PARAMS_TEST |
|
32 void TestReadSimParamsL(); |
|
33 void DoRunReadSimParamsL(); |
|
34 #endif |
|
35 |
|
36 void ConstructL(); |
|
37 |
|
38 void RunL(); |
|
39 void DoCancel(); |
|
40 |
|
41 void ShowMenuL(); |
|
42 void RunAutoL(); |
|
43 |
|
44 private: |
|
45 enum TSmsSendTestState |
|
46 { |
|
47 EStateWaiting, |
|
48 #ifndef NO_SIM_PARAMS_TEST |
|
49 EStateReadingSimParams |
|
50 #endif |
|
51 } iState; |
|
52 }; |