epoc32/include/test/tefresult.h
branchSymbian3
changeset 4 837f303aceeb
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
       
     1 /*
       
     2 * Copyright (c) 2005-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * @file
       
    16 * This contains TEFResult.h
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __TEF_RESULT_H__
       
    22 #define __TEF_RESULT_H__
       
    23 
       
    24 class MTEFResult
       
    25 /**
       
    26  * @internalComponent
       
    27  * @test
       
    28  *
       
    29  * Test error handling
       
    30  */
       
    31 	{
       
    32 public:
       
    33 	/*
       
    34 	 * Set the error
       
    35 	 *
       
    36 	 * @param	- aError the error to set
       
    37 	 */
       
    38 	virtual void		SetError(const TInt aError) =0;
       
    39 
       
    40 	/*
       
    41 	 * Set the asynchronus error
       
    42 	 *
       
    43 	 * @param	aIndex - block index that the error belongs to
       
    44 	 * @param	aError - the error to set
       
    45 	 */
       
    46 	virtual void		SetAsyncError(const TInt aIndex, const TInt aError) =0;
       
    47 
       
    48 	/*
       
    49 	 * Set the block result
       
    50 	 *
       
    51 	 * @param	aResult - the result to set
       
    52 	 *
       
    53 	 * @see		TVerdict
       
    54 	 */
       
    55 	virtual void		SetBlockResult(const TVerdict aResult) =0;
       
    56 
       
    57 	/*
       
    58 	 * Get the block result
       
    59 	 *
       
    60 	 * @return	the result
       
    61 	 *
       
    62 	 * @see		TVerdict
       
    63 	 */
       
    64 	virtual TVerdict	BlockResult() =0;
       
    65 	};
       
    66 
       
    67 #endif // __TEF_RESULT_H__