diff -r 6b1d113cdff3 -r 6638e7f4bd8f telephonyserverplugins/common_tsy/test/component/src/cctsyeapauthenticationfu.cpp --- a/telephonyserverplugins/common_tsy/test/component/src/cctsyeapauthenticationfu.cpp Mon May 03 13:37:20 2010 +0300 +++ b/telephonyserverplugins/common_tsy/test/component/src/cctsyeapauthenticationfu.cpp Thu May 06 15:10:38 2010 +0100 @@ -1,72 +1,72 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of "Eclipse Public License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// The TEFUnit test suite for EAPAuthentication in the Common TSY. -// -// - -/** - @file -*/ - -#include "cctsyeapauthenticationfu.h" -#include -#include -#include -#include -#include -#include "tmockltsydata.h" -#include - -CTestSuite* CCTsyEAPAuthenticationFU::CreateSuiteL(const TDesC& aName) - { - SUB_SUITE; - - ADD_TEST_STEP_ISO_CPP(CCTsyEAPAuthenticationFU, TestOpen0001L); - - END_SUITE; - } - - -// -// Actual test cases -// - - -/** -@SYMTestCaseID BA-CTSY-EAP-EO-0001 -@SYMComponent telephony_ctsy -@SYMTestCaseDesc Test support in CTSY for RMobileSmartCardEap::Open -@SYMTestPriority High -@SYMTestActions Invokes RMobileSmartCardEap::Open -@SYMTestExpectedResults Pass -@SYMTestType CT -*/ -void CCTsyEAPAuthenticationFU::TestOpen0001L() - { - - OpenEtelServerL(EUseExtendedError); - CleanupStack::PushL(TCleanupItem(Cleanup,this)); - OpenPhoneL(); - - RMobileSmartCardEap smartCardEap; - RMobilePhone::TAID AID; - RMobileSmartCardEap::TEapType eapType; - TInt err = smartCardEap.Open(iPhone, AID, eapType); - ASSERT_EQUALS(KErrNotSupported, err); - - AssertMockLtsyStatusL(); - CleanupStack::PopAndDestroy(this); - - } - +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// The TEFUnit test suite for EAPAuthentication in the Common TSY. +// +// + +/** + @file +*/ + +#include "cctsyeapauthenticationfu.h" +#include +#include +#include +#include +#include +#include "tmockltsydata.h" +#include + +CTestSuite* CCTsyEAPAuthenticationFU::CreateSuiteL(const TDesC& aName) + { + SUB_SUITE; + + ADD_TEST_STEP_ISO_CPP(CCTsyEAPAuthenticationFU, TestOpen0001L); + + END_SUITE; + } + + +// +// Actual test cases +// + + +/** +@SYMTestCaseID BA-CTSY-EAP-EO-0001 +@SYMComponent telephony_ctsy +@SYMTestCaseDesc Test support in CTSY for RMobileSmartCardEap::Open +@SYMTestPriority High +@SYMTestActions Invokes RMobileSmartCardEap::Open +@SYMTestExpectedResults Pass +@SYMTestType CT +*/ +void CCTsyEAPAuthenticationFU::TestOpen0001L() + { + + OpenEtelServerL(EUseExtendedError); + CleanupStack::PushL(TCleanupItem(Cleanup,this)); + OpenPhoneL(); + + RMobileSmartCardEap smartCardEap; + RMobilePhone::TAID AID; + RMobileSmartCardEap::TEapType eapType; + TInt err = smartCardEap.Open(iPhone, AID, eapType); + ASSERT_EQUALS(KErrNotSupported, err); + + AssertMockLtsyStatusL(); + CleanupStack::PopAndDestroy(this); + + } +