File indexing completed on 2024-05-12 04:49:42

0001 /****************************************************************************************
0002  * Copyright (c) 2012 Jasneet Singh Bhatti <jazneetbhatti@gmail.com>                    *
0003  * This program is free software; you can redistribute it and/or modify it under        *
0004  * the terms of the GNU General Public License as published by the Free Software        *
0005  * Foundation; either version 2 of the License, or (at your option) any later           *
0006  * version.                                                                             *
0007  *                                                                                      *
0008  * This program is distributed in the hope that it will be useful, but WITHOUT ANY      *
0009  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A      *
0010  * PARTICULAR PURPOSE. See the GNU General Public License for more details.             *
0011  *                                                                                      *
0012  * You should have received a copy of the GNU General Public License along with         *
0013  * this program.  If not, see <http://www.gnu.org/licenses/>.                           *
0014  ****************************************************************************************/
0015 
0016 #ifndef TESTPLAYLISTFORMAT_H
0017 #define TESTPLAYLISTFORMAT_H
0018 
0019 #include <QtTest>
0020 
0021 class TestPlaylistFormat : public QObject
0022 {
0023     Q_OBJECT
0024 
0025     public:
0026         TestPlaylistFormat();
0027 
0028     private Q_SLOTS:
0029         void testGetFormat_data();
0030         /**
0031          * Check if the correct extension format for the playlist file is returned
0032          */
0033         void testGetFormat();
0034 
0035         void testIsPlaylist_data();
0036         /**
0037          * Check if the extension format of the playlist file is supported or not
0038          */
0039         void testIsPlaylist();
0040 };
0041 
0042 #endif // TESTPLAYLISTFORMAT_H