24
|
1 |
// Copyright (c) 2008-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 |
// functional unit of the Common TSY.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file The TEFUnit header file which tests the MBMS Context
|
|
20 |
*/
|
|
21 |
|
|
22 |
#ifndef CCTSYMBMSCONTEXTFU_H
|
|
23 |
#define CCTSYMBMSCONTEXTFU_H
|
|
24 |
|
|
25 |
#include <test/tefunit.h>
|
|
26 |
|
|
27 |
#include <etelmm.h>
|
|
28 |
#include <etelmmcs.h>
|
|
29 |
#include <pcktlist.h>
|
|
30 |
|
|
31 |
#include <pcktcs.h>
|
|
32 |
#include "pcktretrieve.h"
|
|
33 |
|
|
34 |
#include "cctsycomponenttestbase.h"
|
|
35 |
|
|
36 |
const TUint KMmConfigTMGI1 = 1;
|
|
37 |
const TInt KMmConfigTmgiMMC1 = 1;
|
|
38 |
const TInt KMmConfigTmgiMNC1 = 1;
|
|
39 |
const TUint KMmConfigTMGI2 = 2;
|
|
40 |
const TInt KMmConfigTmgiMMC2 = 2;
|
|
41 |
const TInt KMmConfigTmgiMNC2 = 2;
|
|
42 |
|
|
43 |
|
|
44 |
class CCTsyMbmsContextFU : public CCtsyComponentTestBase
|
|
45 |
{
|
|
46 |
public:
|
|
47 |
// Create a suite of all the tests
|
|
48 |
static CTestSuite* CreateSuiteL(const TDesC& aName);
|
|
49 |
|
|
50 |
public:
|
|
51 |
// Individual test steps
|
|
52 |
|
|
53 |
void TestOpenNewContext0001L();
|
|
54 |
void TestInitialiseContext0001L();
|
|
55 |
void TestInitialiseContext0002L();
|
|
56 |
void TestInitialiseContext0003L();
|
|
57 |
void TestInitialiseContext0004L();
|
|
58 |
void TestInitialiseContext0005L();
|
|
59 |
void TestSetConfig0001L();
|
|
60 |
void TestSetConfig0002L();
|
|
61 |
void TestSetConfig0003L();
|
|
62 |
void TestSetConfig0004L();
|
|
63 |
void TestSetConfig0005L();
|
|
64 |
void TestActivate0001L();
|
|
65 |
void TestActivate0002L();
|
|
66 |
void TestActivate0003L();
|
|
67 |
void TestActivate0004L();
|
|
68 |
void TestActivate0005L();
|
|
69 |
void TestDeactivate0001L();
|
|
70 |
void TestDeactivate0002L();
|
|
71 |
void TestDeactivate0004L();
|
|
72 |
void TestDeactivate0005L();
|
|
73 |
void TestDelete0001L();
|
|
74 |
void TestDelete0004L();
|
|
75 |
void TestDelete0005L();
|
|
76 |
void TestClose0001L();
|
|
77 |
void TestGetConfig0001L();
|
|
78 |
void TestGetConfig0002L();
|
|
79 |
void TestGetConfig0003L();
|
|
80 |
void TestGetStatus0001L();
|
|
81 |
void TestGetLastErrorCause0001L();
|
|
82 |
void TestNotifyConfigChanged0001L();
|
|
83 |
void TestNotifyConfigChanged0002L();
|
|
84 |
void TestNotifyConfigChanged0003L();
|
|
85 |
void TestNotifyConfigChanged0004L();
|
|
86 |
void TestNotifyStatusChange0001L();
|
|
87 |
void TestNotifyStatusChange0002L();
|
|
88 |
void TestNotifyStatusChange0003L();
|
|
89 |
|
|
90 |
|
|
91 |
private:
|
|
92 |
static void CleanupArrayPtrFlat(TAny* self);
|
|
93 |
|
|
94 |
}; // class CCTsyMbmsContextFU
|
|
95 |
|
|
96 |
|
|
97 |
#endif // CCTSYMBMSCONTEXTFU_H
|
|
98 |
|
|
99 |
|