| 1 |
// SPDX-License-Identifier: GPL-3.0-or-later |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "tests/testinterface.h" |
| 5 |
|
| 6 |
#include <QObject> |
| 7 |
|
| 8 |
class ItemImageTests final : public QObject |
| 9 |
{ |
| 10 |
Q_OBJECT |
| 11 |
public: |
| 12 |
explicit ItemImageTests(const TestInterfacePtr &test, QObject *parent = nullptr); |
| 13 |
|
| 14 |
private slots: |
| 15 |
void initTestCase(); |
| 16 |
void cleanupTestCase(); |
| 17 |
void init(); |
| 18 |
void cleanup(); |
| 19 |
|
| 20 |
void savePng(); |
| 21 |
void saveBmp(); |
| 22 |
void saveGif(); |
| 23 |
void saveWebp(); |
| 24 |
|
| 25 |
private: |
| 26 |
TestInterfacePtr m_test; |
| 27 |
}; |