27 lines
702 B
C++
27 lines
702 B
C++
/*
|
|
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 "kddockwidgets/controllers/Separator.h"
|
|
|
|
TEST_CASE("Separator Ctor")
|
|
{
|
|
auto hostView = Platform::instance()->createView(nullptr);
|
|
|
|
{
|
|
Controllers::Separator separator(hostView);
|
|
CHECK(separator.view()->is(Type::Separator));
|
|
CHECK(separator.view()->asWrapper()->is(Type::Separator));
|
|
}
|
|
|
|
delete hostView;
|
|
}
|