d0b87a900f
Adds an autotest that makes sure a screencasting stream works as expected. Adds an optional dependency to KPipeWire only effective to run the test.
29 lines
573 B
C++
29 lines
573 B
C++
/*
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
#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();
|
|
|
|
private:
|
|
void testRestart();
|
|
QByteArray m_envVariable;
|
|
};
|