equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 #ifndef __TEST20POOLCEILINGFULL_H__ |
|
18 #define __TEST20POOLCEILINGFULL_H__ |
|
19 |
|
20 #include <cflog.h> |
|
21 #include <es_mbuf.h> |
|
22 |
|
23 NONSHARABLE_CLASS(CTest20PoolCeilingFull) : public CTestStepCTMbufmgr |
|
24 { |
|
25 public: |
|
26 CTest20PoolCeilingFull(); |
|
27 ~CTest20PoolCeilingFull(); |
|
28 virtual enum TVerdict doTestStepL( void ); |
|
29 RCommsBufPond& BufPond(); |
|
30 |
|
31 RMBufChain iChain; |
|
32 }; |
|
33 |
|
34 NONSHARABLE_CLASS(CMBufAsyncPoolCeilingFull) : public CActive |
|
35 { |
|
36 public: |
|
37 CMBufAsyncPoolCeilingFull(CTest20PoolCeilingFull& aTestObject); |
|
38 |
|
39 ~CMBufAsyncPoolCeilingFull(); |
|
40 |
|
41 void RunL(); |
|
42 |
|
43 void DoCancel(); |
|
44 |
|
45 TInt DoStartTest(); |
|
46 |
|
47 private: |
|
48 void CompleteSelf(); |
|
49 static TInt fThread1(TAny*); //High priority thread in this test |
|
50 static TInt fThread2(TAny*); //High priority thread in this test |
|
51 static TInt fThread3(TAny*); //High priority thread in this test |
|
52 |
|
53 CTest20PoolCeilingFull& iTestObject; |
|
54 |
|
55 RThread iThread1; |
|
56 RThread iThread2; |
|
57 RThread iThread3; |
|
58 TInt iIteration; |
|
59 TInt iError; |
|
60 |
|
61 RMBufAsyncRequest iAsyncRequest; |
|
62 RMBufChain iAsyncChain; |
|
63 }; |
|
64 |
|
65 #endif // __TEST20POOLCEILINGFULL_H__ |