libqtxdg-packaging/test/qtxdg_test.h
Andrew Lee (李健秋) 8762635176
Adding upstream version 1.2.0.
Signed-off-by: Andrew Lee (李健秋) <ajqlee@debian.org>
2015-08-13 03:54:32 +08:00

29 lines
567 B
C++

#ifndef QTXDG_TEST_H
#define QTXDG_TEST_H
#include <QObject>
#include <QString>
#include <QDebug>
class QtXdgTest : public QObject
{
Q_OBJECT
private slots:
void testCustomFormat();
private:
// Test that XdgDesktopFile and xdg-mime script agree on
// default application for each mime-type.
void testDefaultApp();
void testTextHtml();
void testMeldComparison();
void compare(QString mimetype);
QString xdgDesktopFileDefaultApp(QString mimetype);
QString xdgUtilDefaultApp(QString mimetype);
};
#endif /* QTXDG_TEST_H */