wapstack/wapmessageapi/te_wapstack/src/WapBoundWDPSteps.h
branchRCL_3
changeset 18 50bae5c5c85f
equal deleted inserted replaced
17:3f227a47ad75 18:50bae5c5c85f
       
     1 /**
       
     2 * Copyright (c) 2002-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 
       
    18 
       
    19 
       
    20 /**
       
    21  @file WapBoundWDPSteps.h
       
    22 */
       
    23 #if (!defined __BOUNDWDP_STEP_H__)
       
    24 #define __BOUNDWDP_STEP_H__
       
    25 #include <test/testexecutestepbase.h>
       
    26 #include <in_sock.h>
       
    27 #include <es_sock.h>
       
    28 #include <wapmessage.h>
       
    29 #include "WapStackSuiteStepBase.h"
       
    30 
       
    31 _LIT(KBoundWDPStep_1,"BoundWDP_1");
       
    32 _LIT(KBoundWDPStep_2,"BoundWDP_2");
       
    33 _LIT(KBoundWDPStep_3,"BoundWDP_3");
       
    34 _LIT(KBoundWDPStep_4,"BoundWDP_4");
       
    35 _LIT(KBoundWDPStep_5,"BoundWDP_5");
       
    36 _LIT(KBoundWDPStep_6,"BoundWDP_6");
       
    37 _LIT(KBoundWDPStep_7,"BoundWDP_7");
       
    38 _LIT(KBoundWDPStep_8,"BoundWDP_8");
       
    39 _LIT(KBoundWDPStep_9,"BoundWDP_9");
       
    40 _LIT(KBoundWDPStep_OutOfMemory,"BoundWDP_OutOfMemory");
       
    41 
       
    42 class CBoundWDPStepBase : public CWapStackSuiteStepBase
       
    43 {
       
    44 public:
       
    45 	CBoundWDPStepBase();
       
    46 	~CBoundWDPStepBase();
       
    47 	CWapBoundDatagramService* LoadInterface();
       
    48 	void UnloadInterface();
       
    49 protected:
       
    50 	CWapBoundDatagramService* iImp;
       
    51 };
       
    52 
       
    53 
       
    54 class CBoundWDPStep_1 : public CBoundWDPStepBase
       
    55 	{
       
    56 public:
       
    57 	CBoundWDPStep_1();
       
    58 	~CBoundWDPStep_1();
       
    59 	virtual TVerdict doTestStepL();
       
    60 private:
       
    61 	};
       
    62 
       
    63 class CBoundWDPStep_2 : public CBoundWDPStepBase
       
    64 	{
       
    65 public:
       
    66 	CBoundWDPStep_2();
       
    67 	~CBoundWDPStep_2();
       
    68 	virtual TVerdict doTestStepL();
       
    69 	virtual TInt CallStateMachine();
       
    70 	};
       
    71 
       
    72 class CBoundWDPStep_3 : public CBoundWDPStepBase
       
    73 	{
       
    74 public:
       
    75 	CBoundWDPStep_3();
       
    76 	~CBoundWDPStep_3();
       
    77 	virtual TVerdict doTestStepL();
       
    78 	virtual TInt CallStateMachine();
       
    79 public:
       
    80 	};
       
    81 
       
    82 class CBoundWDPStep_4 : public CBoundWDPStepBase
       
    83 	{
       
    84 public:
       
    85 	CBoundWDPStep_4();
       
    86 	~CBoundWDPStep_4();
       
    87 	virtual TVerdict doTestStepL();
       
    88 	virtual TInt CallStateMachine();
       
    89 protected:
       
    90 private:
       
    91 	};
       
    92 
       
    93 class CBoundWDPStep_5 : public CBoundWDPStepBase
       
    94 	{
       
    95 public:
       
    96 	CBoundWDPStep_5();
       
    97 	~CBoundWDPStep_5();
       
    98 	virtual TVerdict doTestStepL();
       
    99 	virtual TInt CallStateMachine();
       
   100 private:
       
   101 	};
       
   102 
       
   103 class CBoundWDPStep_6 : public CBoundWDPStepBase
       
   104 	{
       
   105 public:
       
   106 	CBoundWDPStep_6();
       
   107 	~CBoundWDPStep_6();
       
   108 	virtual TVerdict doTestStepL();
       
   109 	virtual TInt CallStateMachine();
       
   110 private:
       
   111 	};
       
   112 class CBoundWDPStep_7 : public CBoundWDPStepBase
       
   113 	{
       
   114 public:
       
   115 	CBoundWDPStep_7();
       
   116 	~CBoundWDPStep_7();
       
   117 	virtual TVerdict doTestStepL();
       
   118 	virtual TInt CallStateMachine();
       
   119 private:
       
   120 	};
       
   121 class CBoundWDPStep_8 : public CBoundWDPStepBase
       
   122 	{
       
   123 public:
       
   124 	CBoundWDPStep_8();
       
   125 	~CBoundWDPStep_8();
       
   126 	virtual TVerdict doTestStepL();
       
   127 	virtual TInt CallStateMachine();
       
   128 private:
       
   129 	};
       
   130 class CBoundWDPStep_9 : public CBoundWDPStepBase
       
   131 	{
       
   132 public:
       
   133 	CBoundWDPStep_9();
       
   134 	~CBoundWDPStep_9();
       
   135 	virtual TVerdict doTestStepL();
       
   136 	virtual TInt CallStateMachine();
       
   137 private:
       
   138 	};
       
   139 class CBoundWDPStep_OutOfMemory : public CBoundWDPStepBase
       
   140 	{
       
   141 public:
       
   142 	CBoundWDPStep_OutOfMemory();
       
   143 	~CBoundWDPStep_OutOfMemory();
       
   144 	virtual TVerdict doTestStepL();
       
   145 	virtual TInt CallStateMachine();
       
   146 private:
       
   147 	};	
       
   148 
       
   149 
       
   150 #endif