tests: Add tst_frame
This commit is contained in:
24
tests/controllers/tst_frame.cpp
Normal file
24
tests/controllers/tst_frame.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
This file is part of KDDockWidgets.
|
||||
|
||||
SPDX-FileCopyrightText: 2019-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
||||
Author: Sérgio Martins <sergio.martins@kdab.com>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
Contact KDAB at <info@kdab.com> for commercial licensing options.
|
||||
*/
|
||||
|
||||
#include "../main.h"
|
||||
#include "controllers/Frame.h"
|
||||
|
||||
#include "qtquick/Platform_qtquick.h"
|
||||
|
||||
#include <QQmlContext>
|
||||
#include <QQmlEngine>
|
||||
|
||||
TEST_CASE("Frame ctor")
|
||||
{
|
||||
auto frame = new Controllers::Frame(nullptr, {});
|
||||
delete frame;
|
||||
}
|
||||
Reference in New Issue
Block a user