cbsref/telephonyrefplugins/atltsy/integrationtest/src/testltsypktclosepacket.cpp
branchRCL_3
changeset 65 630d2f34d719
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
       
     1 //  TestLtsyPktClosePacket.cpp
       
     2 //  Copyright (c) Symbian Software Ltd 2008. All rights reserved.
       
     3 //
       
     4 //  Implementation of the Class CTestLtsyPktClosePacket
       
     5 
       
     6 // user include
       
     7 
       
     8 #include "TestLtsyPktClosePacket.h"
       
     9 
       
    10 /**
       
    11 * Constructor
       
    12 * 
       
    13 */
       
    14 CTestLtsyPktClosePacket::CTestLtsyPktClosePacket( CTestLtsyModel& aTestModel) 
       
    15     :CTestLtsyPktTestStepBase(aTestModel)
       
    16 	{
       
    17 	}
       
    18 
       
    19 /**
       
    20 * Destructor
       
    21 *
       
    22 */	
       
    23 CTestLtsyPktClosePacket::~CTestLtsyPktClosePacket()
       
    24 	{
       
    25 	}
       
    26 
       
    27 /**
       
    28  * It implements the required functionality of the test step.
       
    29  * This step will open a shared phone
       
    30  * @return TVerdict - result of the test step
       
    31  * @leave - System wide error codes
       
    32  */
       
    33 TVerdict CTestLtsyPktClosePacket::doTestStepL()
       
    34 	{
       
    35 	if(TestStepResult() == EPass)
       
    36 		{
       
    37 //		if (iModel.SharedEnv().PhoneOpened())
       
    38 //			{
       
    39 //			iModel.SharedEnv().ClosePhone();	
       
    40 //			}
       
    41     	ClosePacketobject();
       
    42 		}
       
    43 	
       
    44 	return TestStepResult();
       
    45 	}
       
    46 
       
    47 	
       
    48 // end of file