applayerprotocols/httptransportfw/Test/T_HttpPipeliningTest/CPipeliningTestCase.cpp
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 #include "CPipeliningTestCase.h"
       
    17 
       
    18 
       
    19 CPipeliningTestCase::CPipeliningTestCase()
       
    20 	{
       
    21 	}
       
    22 
       
    23 CPipeliningTestCase::~CPipeliningTestCase()
       
    24 	{
       
    25 	}
       
    26 
       
    27 TInt CPipeliningTestCase::TransactionCount(TInt /*aConnectionIndex*/) const
       
    28 	{
       
    29 	return TotalTransactionCount();
       
    30 	}
       
    31 
       
    32 TInt CPipeliningTestCase::ConnectionCount() const
       
    33 	{
       
    34 	return 0;
       
    35 	}
       
    36 
       
    37 TInt CPipeliningTestCase::RealExpectedConnectionCount() const
       
    38 	{
       
    39 	return ConnectionCount();
       
    40 	}
       
    41 
       
    42 TBool CPipeliningTestCase::BatchTransactions() const
       
    43 	{
       
    44 	return ETrue;
       
    45 	}	
       
    46 
       
    47 TInt CPipeliningTestCase::ExpectedError(RHTTPTransaction /*aTrans*/)
       
    48 	{
       
    49 	return KErrNone;
       
    50 	}
       
    51 
       
    52 TBool CPipeliningTestCase::EnableBatching() const
       
    53 	{
       
    54 	return EFalse;
       
    55 	}
       
    56 	
       
    57 void CPipeliningTestCase::ProcessHeadersL(RHTTPTransaction /*aTrans*/)
       
    58 	{
       
    59 	}
       
    60 
       
    61 TBool CPipeliningTestCase::TransportHandlerPriority() const
       
    62 	{
       
    63 	return EFalse;
       
    64 	}
       
    65 	
       
    66