File indexing completed on 2024-05-19 03:59:31

0001 /*
0002     SPDX-FileCopyrightText: 2014 Marco Martin <mart@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #ifndef FRAMESVGTEST_H
0007 #define FRAMESVGTEST_H
0008 
0009 #include <QTest>
0010 
0011 #include "ksvg/framesvg.h"
0012 
0013 class FrameSvgTest : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 public Q_SLOTS:
0018     void initTestCase();
0019     void cleanupTestCase();
0020 
0021 private Q_SLOTS:
0022     void margins();
0023     void contentsRect();
0024     void setImageSet();
0025     void repaintBlocked();
0026     void resizeMask();
0027 
0028 private:
0029     KSvg::FrameSvg *m_frameSvg;
0030     QDir m_cacheDir;
0031 };
0032 
0033 #endif