24
|
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 |
// The TEFUnit header file which tests the SmsMessaging
|
|
15 |
// functional unit of the Common TSY.
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
#ifndef CCTSYSMSMESSAGINGFU_H
|
|
20 |
#define CCTSYSMSMESSAGINGFU_H
|
|
21 |
|
|
22 |
#include <test/tefunit.h>
|
|
23 |
|
|
24 |
#include <etelmm.h>
|
|
25 |
#include <etelmmcs.h>
|
|
26 |
|
|
27 |
#include "cctsycomponenttestbase.h"
|
|
28 |
|
|
29 |
class CCTsySmsMessagingFU : public CCtsyComponentTestBase
|
|
30 |
{
|
|
31 |
public:
|
|
32 |
// Create a suite of all the tests
|
|
33 |
static CTestSuite* CreateSuiteL(const TDesC& aName);
|
|
34 |
|
|
35 |
public:
|
|
36 |
// Individual test steps
|
|
37 |
|
|
38 |
void TestNotifyMoSmsBearerChange0001L();
|
|
39 |
void TestNotifyReceiveModeChange0001L();
|
|
40 |
void TestNotifyReceiveModeChange0002L();
|
|
41 |
void TestNotifyReceiveModeChange0004L();
|
|
42 |
void TestSendMessage0001L();
|
|
43 |
void TestSendMessage0002L();
|
|
44 |
void TestSendMessage0003L();
|
|
45 |
void TestSendMessage0004L();
|
|
46 |
void TestSendMessage0005L();
|
|
47 |
void TestAckSmsStored0001L();
|
|
48 |
void TestAckSmsStored0002L();
|
|
49 |
void TestAckSmsStored0004L();
|
|
50 |
void TestAckSmsStored0005L();
|
|
51 |
void TestNackSmsStored0001L();
|
|
52 |
void TestNackSmsStored0002L();
|
|
53 |
void TestNackSmsStored0004L();
|
|
54 |
void TestNackSmsStored0005L();
|
|
55 |
void TestGetMoSmsBearer0001L();
|
|
56 |
void TestGetReceiveMode0001L();
|
|
57 |
void TestReceiveMessage0001L();
|
|
58 |
void TestReceiveMessage0001AL();
|
|
59 |
void TestReceiveMessage0002L();
|
|
60 |
void TestReceiveMessage0003L();
|
|
61 |
void TestReceiveMessage0004L();
|
|
62 |
void TestSetMoSmsBearer0001L();
|
|
63 |
void TestSetMoSmsBearer0002L();
|
|
64 |
void TestSetMoSmsBearer0004L();
|
|
65 |
void TestSetReceiveMode0001L();
|
|
66 |
void TestSetReceiveMode0002L();
|
|
67 |
void TestSetReceiveMode0004L();
|
|
68 |
void TestStoreSmspListL0001L();
|
|
69 |
void TestStoreSmspListL0002L();
|
|
70 |
void TestStoreSmspListL0004L();
|
|
71 |
void TestStoreSmspListL0005L();
|
|
72 |
void TestResumeSmsReception0001L();
|
|
73 |
void TestResumeSmsReception0002L();
|
|
74 |
void TestResumeSmsReception0004L();
|
|
75 |
void TestResumeSmsReception0005L();
|
|
76 |
void TestGetMessageStoreInfo0001L();
|
|
77 |
void TestGetMessageStoreInfo0002L();
|
|
78 |
void TestGetMessageStoreInfo0003L();
|
|
79 |
void TestGetMessageStoreInfo0004L();
|
|
80 |
void TestGetMessageStoreInfo0005L();
|
|
81 |
void TestNotifySmspListChange0001L();
|
|
82 |
void TestNotifySmspListChange0002L();
|
|
83 |
void TestNotifySmspListChange0004L();
|
|
84 |
void TestSendMessageNoFdnCheck0001L();
|
|
85 |
void TestSendMessageNoFdnCheck0002L();
|
|
86 |
void TestSendMessageNoFdnCheck0003L();
|
|
87 |
void TestSendMessageNoFdnCheck0004L();
|
|
88 |
void TestSendMessageNoFdnCheck0005L();
|
|
89 |
void TestEnumerateMessageStores0001L();
|
|
90 |
void TestGetCaps0001L();
|
|
91 |
void TestGetCaps0003L();
|
|
92 |
|
|
93 |
private:
|
|
94 |
|
|
95 |
|
|
96 |
}; // class CCTsySmsMessagingFU
|
|
97 |
|
|
98 |
#endif // CCTSYSMSMESSAGINGFU_H
|
|
99 |
|