Added DUI control panel applet
[mafwsubrenderer] / qmafw-gst-subtitles-renderer / unittests / ut_PlaylistFileUtility / Ut_PlaylistFileUtility.h
1 /* 
2  * This file is part of QMAFW 
3  *
4  * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
5  * reserved.
6  *
7  * Contact: Visa Smolander <visa.smolander@nokia.com>
8  *
9  * This software, including documentation, is protected by copyright controlled
10  * by Nokia Corporation. All rights are reserved. Copying, including
11  * reproducing, storing, adapting or translating, any or all of this material
12  * requires the prior written consent of Nokia Corporation. This material also
13  * contains confidential information which may not be disclosed to others
14  * without the prior written consent of Nokia.
15  *
16  */
17
18 #ifndef UT_PLAYLISTFILEUTILITY_H
19 #define UT_PLAYLISTFILEUTILITY_H
20
21 #include <QObject>
22
23 class MafwStubHelper;
24 class MafwGstRendererPlaylistFileUtility;
25
26 class Ut_PlaylistFileUtility: public QObject
27 {
28     Q_OBJECT
29     
30 private Q_SLOTS: // tests
31
32     void initTestCase();
33     void testParsing();
34     void testParsingForNotExistingFile();
35     void testParsingInvalidFileUri();
36     void testParsingInvalidFile();
37     void testParsingASFFile();
38     void cleanupTestCase();
39
40 private:
41     MafwStubHelper* m_stubHelper;
42     MafwGstRendererPlaylistFileUtility* m_utility;
43
44 };
45
46 #endif // UT_PLAYLISTFILEUTILITY_H