diff -r 000000000000 -r e686773b3f54 pimprotocols/phonebooksync/Test/TE_PhBkSync/TestGetSyncModeSteps.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pimprotocols/phonebooksync/Test/TE_PhBkSync/TestGetSyncModeSteps.cpp Tue Feb 02 10:12:17 2010 +0200 @@ -0,0 +1,51 @@ +// Copyright (c) 2001-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: +// This contains PhbkSync API GetSyncMode() related Unit Test Steps +// +// + + +#include "TE_PhBkSyncBase.h" +#include "TestGetSyncModeSteps.h" + +/** + * Test getting the synchronisation mode and print this information + * to screen. Repeat this for all supported phonebooks. + */ +// +// Test step1 -- Test#80 in Unit Test Spec. Doc. // +// +CPhbkSyncGetSyncModeTest_01::CPhbkSyncGetSyncModeTest_01() + { + // store the name of this test step + SetTestStepName(_L("PhbkSyncGetSyncModeTest_01")); + } + +CPhbkSyncGetSyncModeTest_01::~CPhbkSyncGetSyncModeTest_01() + { + } + +TVerdict CPhbkSyncGetSyncModeTest_01::doTestStepL( ) + { + TInt result; + RPhoneBookSession::TPhonebookSyncMode syncMode; + for (int i=0; i