videocollection/videocollectionview/tsrc/testvideocollectionviewutils/inc/testvideocollectionviewutils.h
author hgs
Fri, 28 May 2010 09:45:19 +0300
changeset 39 f6d44a0cd476
parent 36 8aed59de29f9
child 41 229f037ce963
permissions -rw-r--r--
201021

/**
* 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:   tester for methods in VideoCollectionViewUtils
* 
*/

#ifndef __TESTVIDEOCOLLECTIONVIEWUTILS_H__
#define __TESTVIDEOCOLLECTIONVIEWUTILS_H__


// INCLUDES
#include <QtTest/QtTest>
#include "hbmessagebox.h"


class VideoCollectionWrapper;

class TestVideoVideoCollectionViewUtils : public QObject
{
    Q_OBJECT

    // test functions for the test framework
private slots:
   
    /**
     * will be called before each testfunction is executed.
     *
     */
    void init(); 
   
    /**
     * will be called after every testfunction.
     *
     */
    void cleanup();

    /**
     * verifies showStatusMsgSlot
     */
    void testShowStatusMsgSlot();
    
    /**
     * verifies saveSortingValues
     */
    void testSaveSortingValues();

    /**
     * verifies loadSortingValues
     */
    void testLoadSortingValues();
    
    /**
     * verifies getServiceIconStrings
     */
    void testGetServiceIconStrings();
    
    /**
     * verifies getServiceUriString
     */
    void testGetServiceUriString();
    
    /**
     * Verifies initListView
     */
    void testInitListView();
    
    /**
     * verifies sortModel
     */
    void testSortModel();
    
    /**
     * verifies saveWidgetLevel & loadWidgetLevel
     */
    void testSaveAndLoadWidgetLevel();
};


#endif  // __TESTVIDEOCOLLECTIONVIEWUTILS_H__

// End of file