videocollection/videocollectionwrapper/tsrc/testvideothumbnaildata/inc/testvideothumbnaildata.h
author hgs
Fri, 15 Oct 2010 16:29:10 +0300
changeset 67 72c709219fcd
parent 50 21fe8338c6bf
permissions -rw-r--r--
201041

/**
* 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 methods in VideoThumbnailData
*
*/

#ifndef __TESTVIDEOTHUMBNAILDATA_H__
#define __TESTVIDEOTHUMBNAILDATA_H__

// INCLUDES
#include <QtTest/QtTest>

// FORWARD DECLARATIONS

class TestVideoThumbnailData : public QObject
{
    Q_OBJECT

    void init();

    void cleanup();
    
    bool checkThumbnailReadyCount(QSignalSpy *spy, int count);

    // test functions for the test framework
private slots:
    void testInstance();
    void testRemoveThumbnail();
    void testGetThumbnail();
    void testEnableBackgroundFetching();
    void testFreeThumbnailData();
    void testStartBackgroundFetching();
    void testEnableThumbnailCreation();
    void testBackgroundFetchingEnabled();

signals:

private:

};

#endif  // __TESTVIDEOTHUMBNAILDATA_H__

// End of file