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