cbsref/telephonyrefplugins/atltsy/integrationtest/src/testltsyphonegetcellinfo.cpp
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:45:24 +0100
branchGCC_SURGE
changeset 54 7f274f99c152
parent 49 f50f4094acd7
permissions -rw-r--r--
Catchup to latest Symbian^4

//  TestLtsyPhoneGetCellInfo.cpp
//  Copyright (c) Symbian Software Ltd 2008. All rights reserved.
//
//  Implementation of the Class CTestLtsyPhoneGetCellInfo

// user include
#include "TestLtsyPhoneGetCellInfo.h"


/**
* Constructor
* 
*/
CTestLtsyPhoneGetCellInfo::CTestLtsyPhoneGetCellInfo( CTestLtsyModel& aTestModel) 
    :CTestLtsyPhoneStepBase(aTestModel)
	{
	}

/**
* Destructor
*
*/	
CTestLtsyPhoneGetCellInfo::~CTestLtsyPhoneGetCellInfo()
	{
	}

/**
 * It implements the required functionality of the test step.
 * This step will open a shared phone
 * @return TVerdict - result of the test step
 * @leave - System wide error codes
 */
TVerdict CTestLtsyPhoneGetCellInfo::doTestStepL()
	{
	if(TestStepResult() == EPass)
		{
    	TRAPD(err,GetCellInfo());
    	if(err != KErrNone)
    		{
    		ERR_PRINTF2(_L("The error was returned %d!! when open Phone"),err);
    	    SetTestStepResult(EFail);
    		}
		}
	
	return TestStepResult();
	}

	
// end of file