X-Git-Url: http://git.maemo.org/git/?p=mafwsubrenderer;a=blobdiff_plain;f=qmafw-gst-subtitles-renderer%2Funittests%2Fut_PlaylistFileUtility%2FUt_PlaylistFileUtility.h;fp=qmafw-gst-subtitles-renderer%2Funittests%2Fut_PlaylistFileUtility%2FUt_PlaylistFileUtility.h;h=eeaea9338206f28fe910e7344048006a80237c89;hp=0000000000000000000000000000000000000000;hb=226d35244df85a27c332d3a3ded1b25b3c7f4951;hpb=57ba96e291a055f69dbfd4ae9f1ae2390e36986e diff --git a/qmafw-gst-subtitles-renderer/unittests/ut_PlaylistFileUtility/Ut_PlaylistFileUtility.h b/qmafw-gst-subtitles-renderer/unittests/ut_PlaylistFileUtility/Ut_PlaylistFileUtility.h new file mode 100644 index 0000000..eeaea93 --- /dev/null +++ b/qmafw-gst-subtitles-renderer/unittests/ut_PlaylistFileUtility/Ut_PlaylistFileUtility.h @@ -0,0 +1,46 @@ +/* + * This file is part of QMAFW + * + * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights + * reserved. + * + * Contact: Visa Smolander + * + * This software, including documentation, is protected by copyright controlled + * by Nokia Corporation. All rights are reserved. Copying, including + * reproducing, storing, adapting or translating, any or all of this material + * requires the prior written consent of Nokia Corporation. This material also + * contains confidential information which may not be disclosed to others + * without the prior written consent of Nokia. + * + */ + +#ifndef UT_PLAYLISTFILEUTILITY_H +#define UT_PLAYLISTFILEUTILITY_H + +#include + +class MafwStubHelper; +class MafwGstRendererPlaylistFileUtility; + +class Ut_PlaylistFileUtility: public QObject +{ + Q_OBJECT + +private Q_SLOTS: // tests + + void initTestCase(); + void testParsing(); + void testParsingForNotExistingFile(); + void testParsingInvalidFileUri(); + void testParsingInvalidFile(); + void testParsingASFFile(); + void cleanupTestCase(); + +private: + MafwStubHelper* m_stubHelper; + MafwGstRendererPlaylistFileUtility* m_utility; + +}; + +#endif // UT_PLAYLISTFILEUTILITY_H