telephonyserverplugins/simtsy/test/Te_Sim/Te_SimNoConfigFileTest.cpp
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2005-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 "Te_SimNoConfigFileTest.h"
       
    17 
       
    18 CSimNoConfigFileTest::CSimNoConfigFileTest() 
       
    19 	{ 
       
    20 	SetTestStepName(_L("NoConfigFileTest"));
       
    21 	}
       
    22 
       
    23 TVerdict CSimNoConfigFileTest::doTestStepL()
       
    24 	{
       
    25 	INFO_PRINTF1(_L("Testing Phone open without Config File present"));
       
    26 	DeleteConfigFileL();
       
    27 	TESTL(iPhone.Open(iTelServer,KPhoneName)==KErrNotFound);
       
    28 	iPhone.Close();
       
    29 	ASSERT(RThread().RequestCount()==0);
       
    30 	return TestStepResult();
       
    31 	}