2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2017-06-24 19:05:49 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org>
|
2017-06-24 19:05:49 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2017-06-24 19:05:49 +00:00
|
|
|
#pragma once
|
|
|
|
#include "kwin_wayland_test.h"
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
class GenericSceneOpenGLTest : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
~GenericSceneOpenGLTest() override;
|
|
|
|
protected:
|
|
|
|
GenericSceneOpenGLTest(const QByteArray &envVariable);
|
|
|
|
private Q_SLOTS:
|
|
|
|
void initTestCase();
|
|
|
|
void cleanup();
|
2017-06-25 07:48:46 +00:00
|
|
|
void testRestart_data();
|
2017-06-24 19:05:49 +00:00
|
|
|
void testRestart();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QByteArray m_envVariable;
|
|
|
|
};
|