equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-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 // |
|
15 |
|
16 #if (!defined __TE_EINTSOCKTESTSTEP_H__) |
|
17 #define __TE_EINTSOCKTESTSTEP_H__ |
|
18 //#include <in_sock.h> |
|
19 #include <test/testexecutestepbase.h> |
|
20 |
|
21 |
|
22 |
|
23 class CEIntSockTestStep : public CTestStep |
|
24 { |
|
25 public: |
|
26 CEIntSockTestStep(); |
|
27 ~CEIntSockTestStep(); |
|
28 |
|
29 enum TVerdict doTestStepPreambleL( void ); |
|
30 enum TVerdict doTestStepL( void ); |
|
31 enum TVerdict doTestStepPostambleL( void ); |
|
32 |
|
33 protected: |
|
34 enum TVerdict InternalDoTestStepL( void ); |
|
35 void doPanicStepTestPreambleL( void ); |
|
36 void doPanicStepTestPostambleL( TRequestStatus& aStat ); |
|
37 const TPtrC& EpocErrorToText(const TInt aErrCode); |
|
38 private: |
|
39 TPtrC iErrText; |
|
40 TBuf<16> iErrBuff; // size must at least satisfy the number of digits used to represent a TInt |
|
41 RThread iESockProxyThread; |
|
42 TRequestStatus iESockProxyThreadStatus; |
|
43 }; |
|
44 |
|
45 #endif /* __TE_EINTSOCKTESTSTEP_H__*/ |
|
46 |