24
|
1 |
// Copyright (c) 2000-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 |
/**
|
|
17 |
@file
|
|
18 |
@internalComponent
|
|
19 |
*/
|
|
20 |
|
|
21 |
#ifndef _TE_MMMEMSMS_H_
|
|
22 |
#define _TE_MMMEMSMS_H_
|
|
23 |
|
|
24 |
#include <etelmm.h>
|
|
25 |
#include <e32base.h>
|
|
26 |
#include <mmretrieve.h>
|
|
27 |
#include "TE_mmcanceller.h"
|
|
28 |
#include "TE_mmsms.h"
|
|
29 |
|
|
30 |
class CTestMemSmsMessaging : public CTestSmsMessaging
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
TInt iTestCount;
|
|
34 |
CTestMemSmsMessaging() ;
|
|
35 |
~CTestMemSmsMessaging(){} ;
|
|
36 |
virtual enum TVerdict doTestStepL();
|
|
37 |
CTestSmsMessaging* iTestSmsMessaging;
|
|
38 |
|
|
39 |
|
|
40 |
private:
|
|
41 |
class CMemTestGetSmspList : public CTestSmsMessaging::CTestGetSmspList
|
|
42 |
{
|
|
43 |
public:
|
|
44 |
static CMemTestGetSmspList* NewLC(RMobileSmsMessaging& aMessaging, CTestMemSmsMessaging* aTestMemSmsMessaging);
|
|
45 |
void Start();
|
|
46 |
CTestMemSmsMessaging* iTestMemSmsMessaging;
|
|
47 |
protected:
|
|
48 |
CMemTestGetSmspList(RMobileSmsMessaging& aMessaging, CTestMemSmsMessaging* aTestMemSmsMessaging);
|
|
49 |
TInt RunError(TInt aError);
|
|
50 |
void StartMemTest();
|
|
51 |
virtual void RunL();
|
|
52 |
protected:
|
|
53 |
TInt iFailEvery;
|
|
54 |
};
|
|
55 |
|
|
56 |
friend class CMemTestGetSmspList;
|
|
57 |
|
|
58 |
};
|
|
59 |
|
|
60 |
#endif
|