os/security/crypto/weakcryptospi/test/tcryptospi/src/te_cryptospistepbase.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2007-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 "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  @file
    21  @internalTechnology
    22 */
    23 
    24 #include "te_cryptospistepbase.h"
    25 #include "te_cryptospidefs.h"
    26 
    27 // Device driver constants
    28 
    29 TVerdict CTe_CryptoSpiStepBase::doTestStepPreambleL()
    30 /**
    31  * @return - TVerdict
    32  * Implementation of CTestStep base class virtual
    33  * It is used for doing all initialisation common to derived classes in here.
    34  * Make it being able to leave if there are any errors here as there's no point in
    35  * trying to run a test step if anything fails.
    36  * The leave will be picked up by the framework.
    37  */
    38 	{
    39 
    40 	// process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
    41 	INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPreambleL() of the class CTe_CryptoSpiStepBase!"));
    42 	SetTestStepResult(EPass);
    43 	return TestStepResult();
    44 	}
    45 
    46 TVerdict CTe_CryptoSpiStepBase::doTestStepPostambleL()
    47 /**
    48  * @return - TVerdict
    49  * Implementation of CTestStep base class virtual
    50  * It is used for doing all after test treatment common to derived classes in here.
    51  * Make it being able to leave
    52  * The leave will be picked up by the framework.
    53  */
    54 	{
    55 
    56 	// process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
    57 	INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPostambleL() of the class CTe_CryptoSpiStepBase!"));
    58 	//SetTestStepResult(EPass);  // or EFail
    59 	return TestStepResult();
    60 	}
    61 
    62 CTe_CryptoSpiStepBase::~CTe_CryptoSpiStepBase()
    63 	{
    64 	}
    65 
    66 CTe_CryptoSpiStepBase::CTe_CryptoSpiStepBase()
    67 	{
    68 	}
    69