24
|
1 |
// Copyright (c) 2002-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 |
// EtelPacketTestMultipleClients.h
|
|
15 |
// This is the header file for testing Multiple Clients using the Packet API
|
|
16 |
// simultaneously. This is used primarily to exercise the mutex in the methods
|
|
17 |
// RPacketContext::OpenNewContext() and RPacketContext::OpenNewSecondaryContext().
|
|
18 |
//
|
|
19 |
//
|
|
20 |
|
|
21 |
/**
|
|
22 |
@file
|
|
23 |
@internalComponent
|
|
24 |
*/
|
|
25 |
|
|
26 |
#if (!defined __ETELPACKETTESTMULTIPLECLIENT_H__)
|
|
27 |
#define __ETELPACKETTESTMULTIPLECLIENT_H__
|
|
28 |
|
|
29 |
#include "Te_EtelPacketTestStepBase.h"
|
|
30 |
|
|
31 |
class CEtelPacketTestMultipleClients : public CTestStepEtelPacket
|
|
32 |
{
|
|
33 |
public:
|
|
34 |
CEtelPacketTestMultipleClients();
|
|
35 |
~CEtelPacketTestMultipleClients();
|
|
36 |
|
|
37 |
virtual enum TVerdict doTestStepL( void );
|
|
38 |
static TInt ContextCreationFunction(TAny* aThreadData);
|
|
39 |
};
|
|
40 |
|
|
41 |
#endif //(__ETELPACKETTESTMULTIPLECLIENT_H__)
|