author | Tom Pritchard <tomp@symbian.org> |
Fri, 16 Jul 2010 17:42:23 +0100 | |
branch | AT_Test_LTSY |
changeset 51 | 6012a0dcf61c |
parent 1 | 4047d69ee0e4 |
permissions | -rw-r--r-- |
1
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
7 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
10 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
12 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
13 |
// Description: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
14 |
// Implementation of the Class CTestLtsySmsBase |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
15 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
16 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
17 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
18 |
#ifndef TESTLTSYSMSBASE_H_ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
19 |
#define TESTLTSYSMSBASE_H_ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
20 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
21 |
// user include |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
22 |
class CTestLtsyModel; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
23 |
#include "te_integration_stltsysuitestepbase.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
24 |
#include "testltsymodel.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
25 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
26 |
//constant defination |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
27 |
const TInt16 KMessageLen(165); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
28 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
29 |
// class declaration |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
30 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
31 |
* This class provide the common functionalities related to the sms. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
32 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
33 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
34 |
class CTestLtsySmsBase : public CTe_integration_stltsySuiteStepBase |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
35 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
36 |
* @internalAll |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
37 |
* @test |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
38 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
39 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
40 |
public: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
41 |
virtual ~CTestLtsySmsBase(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
42 |
CTestLtsySmsBase(CTestLtsyModel& aTestModel); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
43 |
protected: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
44 |
virtual TVerdict doTestStepPreambleL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
45 |
virtual TVerdict doTestStepPostambleL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
46 |
RMobileSmsMessaging& Sms(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
47 |
RMobileSmsStore& SmsStore(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
48 |
void OpenPhoneL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
49 |
void OpenSmsL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
50 |
void OpenSmsStoreL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
51 |
void CloseSmsL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
52 |
void CloseSmsStoreL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
53 |
void GetIndex(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
54 |
protected: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
55 |
CTestLtsyModel& iModel; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
56 |
TInt iIndexNum; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
57 |
TInt iStoreIndex; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
58 |
}; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
59 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
60 |
#endif /*TESTLTSYSMSBASE_H_*/ |