|
1 // Copyright (c) 2007-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 #ifndef TSMSMESSAGINGTSYTESTHELPER_H |
|
17 #define TSMSMESSAGINGTSYTESTHELPER_H |
|
18 |
|
19 |
|
20 #include "ttsytesthelperbase.h" |
|
21 |
|
22 class TSmsMessagingTsyTestHelper : public TTsyTestHelperBase |
|
23 { |
|
24 public: |
|
25 TSmsMessagingTsyTestHelper(CCTSYIntegrationTestSuiteStepBase& aTestStep); |
|
26 |
|
27 void WaitForMobileSmsMessagingNotifyMoSmsBearerChange( |
|
28 RMobileSmsMessaging& aMobileSmsMessaging, |
|
29 TEtelRequestBase& aRequestStatus, |
|
30 RMobileSmsMessaging::TMobileSmsBearer& aBearer, |
|
31 RMobileSmsMessaging::TMobileSmsBearer aExpectedBearer, |
|
32 TInt aWantedStatus ); |
|
33 |
|
34 void WaitForMobileSmsMessagingNotifyReceiveModeChange( |
|
35 RMobileSmsMessaging& aMobileSmsMessaging, |
|
36 TEtelRequestBase& aRequestStatus, |
|
37 RMobileSmsMessaging::TMobileSmsReceiveMode& aReceiveMode, |
|
38 RMobileSmsMessaging::TMobileSmsReceiveMode aExpectedReceiveMode, |
|
39 TInt aWantedStatus ); |
|
40 |
|
41 void WaitForMobileSmsMessagingNotifySmspListChange( |
|
42 TEtelRequestBase& aRequestStatus, |
|
43 TInt aWantedStatus ); |
|
44 |
|
45 void SendSmsMessage(TEtelRequestBase& aRequestStatus, TDesC &aMessage, |
|
46 RMobileSmsMessaging::TMobileSmsSendAttributesV1Pckg &aAttributesPckg); |
|
47 |
|
48 }; // class TSmsMessagingTsyTestHelper |
|
49 |
|
50 #endif |