diff -r cfea66083b62 -r baacf668fe89 phoneapp/phoneringingtoneplayer/tsrc/ut_cphoneringingtonecontroller/src/ut_cphoneringingtonecontroller.h --- a/phoneapp/phoneringingtoneplayer/tsrc/ut_cphoneringingtonecontroller/src/ut_cphoneringingtonecontroller.h Mon Oct 04 16:06:10 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ -/* -* Copyright (c) 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: -* -*/ - -#ifndef __UT_CPHONERINGINGTONEPLAYER_H__ -#define __UT_CPHONERINGINGTONEPLAYER_H__ - -// INCLUDES -#include -#include - - -// FORWARD DECLARATIONS - -class CPhoneRingingToneController; -class CSmcMockContext; -class CPhoneRingingTone; -class CPhoneCenRepProxy; - - -// custom comparison method for matching expected and actual SData items -TBool operator==( const CPhoneRingingTone& aData1, const CPhoneRingingTone& aData2 ); -// CLASS DEFINITION -/** - * Generated EUnit test suite class. - */ -NONSHARABLE_CLASS( ut_cphoneringingtonecontroller ) - : public CEUnitTestSuiteClass - { - public: // Constructors and destructor - - static ut_cphoneringingtonecontroller* NewL(); - static ut_cphoneringingtonecontroller* NewLC(); - ~ut_cphoneringingtonecontroller(); - - private: // Constructors - - ut_cphoneringingtonecontroller(); - void ConstructL(); - - private: // New methods - - void SetupL(); - - void Teardown(); - - void T_PlayRingingtoneRinging(); - - void T_PlayRingingtoneSilence(); - - void T_PlayRingingtoneBeepOnce(); - - void T_PlayRingingtoneAscending(); - - void T_PlayRingingtoneRingingOnce(); - - void T_PlayRingingtoneTTS(); - - void T_StopRingingtone(); - - - private: // Data - - CPhoneRingingToneController* iRingingtoneplayer; - CPhoneCenRepProxy* iPhoneCenRepProxy; - CSmcMockContext* iMockContext; - - EUNIT_DECLARE_TEST_TABLE; - - }; - -#endif // __UT_CPHONERINGINGTONEPLAYER_H__