author | ivan.fildichev@opencode.com |
Thu, 18 Nov 2010 15:42:16 +0200 | |
branch | opencode |
changeset 88 | 5e27cc612ac7 |
parent 32 | 58332560b319 |
permissions | -rw-r--r-- |
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 Dispatcher. |
|
15 |
// |
|
16 |
||
17 |
||
18 |
||
19 |
/** |
|
20 |
@file The TEFUnit header file which tests the CallControl |
|
21 |
*/ |
|
22 |
||
32
58332560b319
Bring opencode branch up-to-date with latest cellularsrv changes
Oscar Gonzalez <oscar.1.gonzalez@nokia.com>
parents:
24
diff
changeset
|
23 |
/** |
58332560b319
Bring opencode branch up-to-date with latest cellularsrv changes
Oscar Gonzalez <oscar.1.gonzalez@nokia.com>
parents:
24
diff
changeset
|
24 |
@file |
58332560b319
Bring opencode branch up-to-date with latest cellularsrv changes
Oscar Gonzalez <oscar.1.gonzalez@nokia.com>
parents:
24
diff
changeset
|
25 |
@internalAll |
58332560b319
Bring opencode branch up-to-date with latest cellularsrv changes
Oscar Gonzalez <oscar.1.gonzalez@nokia.com>
parents:
24
diff
changeset
|
26 |
*/ |
58332560b319
Bring opencode branch up-to-date with latest cellularsrv changes
Oscar Gonzalez <oscar.1.gonzalez@nokia.com>
parents:
24
diff
changeset
|
27 |
|
24 | 28 |
#ifndef CCTSYPACKETSERVICESFUNEGATIVE_H |
29 |
#define CCTSYPACKETSERVICESFUNEGATIVE_H |
|
30 |
||
31 |
#include <test/tefunit.h> |
|
32 |
||
33 |
#include <etelmm.h> |
|
34 |
#include <etelmmcs.h> |
|
35 |
||
36 |
#include "cctsycomponenttestbase.h" |
|
37 |
#include "cctsypacketservicesfu.h" |
|
38 |
||
39 |
class CCTsyPacketServicesFUNegative : public CCtsyComponentTestBase |
|
40 |
{ |
|
41 |
public: |
|
42 |
// Create a suite of all the tests |
|
43 |
static CTestSuite* CreateSuiteL(const TDesC& aName); |
|
44 |
||
45 |
public: |
|
46 |
//'negative' unit tests |
|
47 |
void TestUnit0001L(); |
|
48 |
void TestUnit0002L(); |
|
49 |
void TestUnit0003L(); |
|
50 |
void TestUnit0004L(); |
|
51 |
void TestUnit0005L(); |
|
52 |
void TestUnit0006L(); |
|
53 |
void TestUnit0007L(); |
|
54 |
void TestUnit0008L(); |
|
55 |
void TestUnit0009L(); |
|
56 |
void TestUnit0010L(); |
|
57 |
void TestUnit0011L(); |
|
58 |
void TestUnit0012L(); |
|
59 |
void TestUnit0013L(); |
|
60 |
void TestUnit0014L(); |
|
61 |
void TestUnit0015L(); |
|
62 |
void TestUnit0016L(); |
|
63 |
||
64 |
void TestUnit0018L(); |
|
65 |
void TestUnit0019L(); |
|
66 |
void TestUnit0020L(); |
|
67 |
void TestUnit0021L(); |
|
68 |
void TestUnit0022L(); |
|
69 |
void TestUnit0023L(); |
|
70 |
void TestUnit0024L(); |
|
71 |
void TestUnit0025L(); |
|
72 |
||
73 |
private: |
|
74 |
// void MyDriverSetConfigContextL(TInfoName aContextId, |
|
75 |
// RPacketContext::TGSNAddress aAccessPoint, RPacketContext::TProtocolType aPdpType, |
|
76 |
// RPacketContext::TProtocolAddress aPdpAddress, |
|
77 |
// RPacketContext::TMiscProtocolBuffer aPcoBuffer); |
|
78 |
// void MyDriverModifyActiveContextL(TInt8 aRejectionCode, TInt aError); |
|
79 |
// void MyPCOGeneratorL(RPacketContext::TProtocolConfigOptionV2& aPco, RPacketContext::TMiscProtocolBuffer& aPcoBuffer); |
|
80 |
// void MyConvertUsernameAndPasswordToPCOBuffer(const TDes8& aUsername, |
|
81 |
// const TDes8& aPassword, const TUint8 aRequestID, TDes8& aFormatedBuffer); |
|
82 |
// void ConvertDNSToPCOBuffer |
|
83 |
// (const TDes8& aPrimaryDNS, const TDes8& aSecondaryDNS, const TUint8 aRequestID, TDes8& aFormatPcoBufferAddr); |
|
84 |
||
85 |
// void MyDriverDeleteContextL(TInfoName aContextName); |
|
86 |
// void MyDriverInitialiseContextL(); |
|
87 |
// void MyDriverInitialiseContextL(const TInfoName& aPrimaryContextId, const TInfoName& aSecondaryContextId); |
|
88 |
||
89 |
void ConvertDNSToPCOBuffer (const TDes8& aPrimaryDNS, const TDes8& aSecondaryDNS, const TUint8 aRequestID, TDes8& aFormatPcoBufferAddr); |
|
90 |
void ConvertUsernameAndPasswordToPCOBuffer(const TDes8& aUsername, const TDes8& aPassword, const TUint8 aRequestID, TDes8& aFormatedBuffer); |
|
91 |
void PCOGeneratorL(RPacketContext::TProtocolConfigOptionV2& aPco, RPacketContext::TMiscProtocolBuffer& aPcoBuffer); |
|
92 |
void DriverDeleteContextL(TInfoName aContextName); |
|
93 |
void DriverAttachPacketServiceL(); |
|
94 |
void DriverDetachPacketServiceL(); |
|
95 |
void DriverInitialiseContextL(); |
|
96 |
void DriverInitialiseContextL(const TInfoName& aPrimaryContextId, const TInfoName& aSecondaryContextId); |
|
97 |
void DriverSetConfigContextL(TInfoName aContextId, RPacketContext::TGSNAddress aAccessPoint, RPacketContext::TProtocolType aPdpType, RPacketContext::TProtocolAddress aPdpAddress,RPacketContext::TMiscProtocolBuffer aPcoBuffer); |
|
98 |
void DriverModifyActiveContextL(TInt8 aRejectionCode, TInt aError); |
|
99 |
void OpenInitialiseMbmsContextLC(RPacketService& aPacketService, RPacketMbmsContext& aPacketContext, TDes& aContextName, const TDesC& aChannelId, TInt aCompError); |
|
100 |
||
101 |
||
102 |
}; // class CCTsyPacketServicesFUNegative |
|
103 |
||
104 |
#endif // CCTSYPACKETSERVICESFUNEGATIVE_H |
|
105 |