Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dde-osd/tests/ut_audioprovider.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -17,6 +17,7 @@ class UT_AudioProvider : public testing::Test

};

namespace {
class PaintWidget : public QWidget
{

Expand All @@ -39,6 +40,7 @@ class PaintWidget : public QWidget
public:
AudioProvider *m_provider;
};
} // namespace


TEST_F(UT_AudioProvider, coverageTest)
Expand Down
4 changes: 3 additions & 1 deletion dde-osd/tests/ut_brightnessprovider.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -17,6 +17,7 @@ class UT_BrightnessProvider : public testing::Test

};

namespace {
class PaintWidget : public QWidget
{

Expand All @@ -39,6 +40,7 @@ class PaintWidget : public QWidget
public:
BrightnessProvider *m_provider;
};
} // namespace


TEST_F(UT_BrightnessProvider, coverageTest)
Expand Down
4 changes: 3 additions & 1 deletion dde-osd/tests/ut_common.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -17,6 +17,7 @@ class UT_Common : public testing::Test

};

namespace {
class PaintWidget : public QWidget
{

Expand All @@ -36,6 +37,7 @@ class PaintWidget : public QWidget
DrawHelper::DrawBackground(&painter, option);
}
};
} // namespace

TEST_F(UT_Common, coverageTest)
{
Expand Down
4 changes: 3 additions & 1 deletion dde-osd/tests/ut_displaymodeprovider.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -18,6 +18,7 @@ class UT_DisplayModeProvider : public testing::Test

};

namespace {
class PaintWidget : public QWidget
{

Expand All @@ -40,6 +41,7 @@ class PaintWidget : public QWidget
public:
DisplayModeProvider *m_provider;
};
} // namespace

TEST_F(UT_DisplayModeProvider, coverageTest)
{
Expand Down
4 changes: 3 additions & 1 deletion dde-osd/tests/ut_kblayoutprovider.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -16,6 +16,7 @@ class UT_KBLayoutProvider : public testing::Test

};

namespace {
class PaintWidget : public QWidget
{

Expand All @@ -38,6 +39,7 @@ class PaintWidget : public QWidget
public:
KBLayoutProvider *m_provider;
};
} // namespace

TEST_F(UT_KBLayoutProvider, coverageTest)
{
Expand Down
4 changes: 3 additions & 1 deletion dde-osd/tests/ut_osdprovider.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -16,6 +16,7 @@ class UT_OSDProvider : public testing::Test

};

namespace {
class PaintWidget : public QWidget
{

Expand All @@ -38,6 +39,7 @@ class PaintWidget : public QWidget
public:
OSDProvider *m_provider;
};
} // namespace

TEST_F(UT_OSDProvider, coverageTest)
{
Expand Down
Loading