|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MULTIPLEXERUDPTESTS_H |
|
22 #define MULTIPLEXERUDPTESTS_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 #include <e32cons.h> |
|
27 #include <mmccnetworksettings.h> |
|
28 |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class CNcmConnectionMultiplexer; |
|
32 class CMuxTestConsoleStubs; |
|
33 class CMccInterface; |
|
34 |
|
35 |
|
36 // CLASS |
|
37 class CMultiplexerUdpTests : public CBase |
|
38 { |
|
39 |
|
40 public: |
|
41 static CMultiplexerUdpTests* NewL( CConsoleBase& aConsole, |
|
42 CNcmConnectionMultiplexer& aMux, CMuxTestConsoleStubs& aIFStub ); |
|
43 |
|
44 virtual ~CMultiplexerUdpTests(); |
|
45 |
|
46 public: |
|
47 |
|
48 void DoRunUdpMuxtTests(); |
|
49 |
|
50 void DoRunTcpMuxTestsL(); |
|
51 |
|
52 |
|
53 |
|
54 void TestUdpAudioStreamingL(); |
|
55 |
|
56 private: |
|
57 |
|
58 // UDP |
|
59 void TestCreateSessionL(); |
|
60 |
|
61 void TestCreateStreamL(); |
|
62 |
|
63 void TestCreateConnectionL(); |
|
64 |
|
65 void TestActivateUdpConnectionsL(); |
|
66 |
|
67 void TestActivateStunUdpMediaConnectionsL(); |
|
68 |
|
69 private: |
|
70 |
|
71 CMultiplexerUdpTests( CConsoleBase& aConsole, |
|
72 CNcmConnectionMultiplexer& aMux, |
|
73 CMuxTestConsoleStubs& aIFStub ); |
|
74 |
|
75 void ConstructL(); |
|
76 |
|
77 private: |
|
78 |
|
79 CConsoleBase& iConsole; |
|
80 |
|
81 CNcmConnectionMultiplexer& iMux; |
|
82 CMuxTestConsoleStubs& iIfStub; |
|
83 |
|
84 TUint iConnection; |
|
85 |
|
86 CMccInterface* iMccInterface; |
|
87 |
|
88 TMccNetSettings iNetsettings; |
|
89 TUint iSessionId; |
|
90 }; |
|
91 |
|
92 #endif //MULTIPLEXERUDPTESTS_H |
|
93 |
|
94 // End of File |