applayerprotocols/httptransportfw/Test/T_HttpPipeliningTest/CBatchingTestCase.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2003-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 #ifndef __CBATCHINGTESTCASE_H__
       
    17 #define __CBATCHINGTESTCASE_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <http.h>
       
    21 
       
    22 #include "CPipeliningTestCase.h"
       
    23 
       
    24 /*
       
    25 The CBatchingTestCase is a simple class to inherit from CPipeliningTestCase to provide
       
    26 default implementations from the pipelining test cases with the differences required for
       
    27 batching test cases. This only affects the EnableBatching() method. All other default 
       
    28 implementations are inherited from the CPipeliningTestCase class.
       
    29 */
       
    30 class CBatchingTestCase : public CPipeliningTestCase
       
    31 	{
       
    32 public:	
       
    33 	~CBatchingTestCase();
       
    34 	
       
    35 	/*
       
    36 	This method will indicate whether to enable batching (request buffering). The batching
       
    37 	test cases will probably require batching enables so the default implementation is to
       
    38 	return ETrue.
       
    39 	*/
       
    40 	virtual TBool EnableBatching() const;
       
    41 	
       
    42 protected:
       
    43 	CBatchingTestCase();
       
    44 
       
    45 	};
       
    46 	
       
    47 #endif // __CBATCHINGTESTCASE_H__