utilities/mpsettingsmanager/tsrc/unittest_mpsettingsmanager/inc/unittest_mpsettingsmanager.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 23 Jun 2010 18:10:13 +0300
changeset 41 ea59c434026a
parent 20 82baf59ce8dd
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

/*
* 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: Unit test for MpSettingsManager
*
*/

#ifndef TESTMPSETTINGSMANAGER_H
#define TESTMPSETTINGSMANAGER_H

#include <QtTest/QtTest>

class TestMpSettingsManager : public QObject
{
    Q_OBJECT

public:

    TestMpSettingsManager();
    virtual ~TestMpSettingsManager();

signals:


public slots:
    void initTestCase();
    void cleanupTestCase();
    void init();
    void cleanup();

private slots:
    void testConstructor(); //don't change the order, this should be the first test.
    void testInstanceConstruction();
    void testFirstStartupGet();
    void testShuffleGetAndSet();
    void testRepeatGetAndSet();
    void testPresetGetAndSet();
    void testInspireMeGetAndSet();
    void testSongDetailsGbGetAndSet();
    void testShowMtpInfoGetAndStop();
    void testMtpInfoUrlGet();
    void testValueChangedShuffleCase();
    void testValueChangedRepeatCase();
    void testValueChangedPresetCase();
    void testValueChangedInspireMe();
    void testValueChangedSongDetailsGb();
    void testValueChangedShowMtpInfo();

};

#endif  // TESTMPSETTINGSMANAGER_H