tests/dde-calendar-client-test/src/test_shortcut.cpp
raw| 1 | // SPDX-FileCopyrightText: 2019 - 2026 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: LGPL-3.0-or-later |
| 4 | |
| 5 | #include "test_shortcut.h" |
| 6 | |
| 7 | #include "shortcut.h" |
| 8 | #include "gtest/gtest.h" |
| 9 | |
| 10 | test_Shortcut::test_Shortcut(QObject *parent) |
| 11 | : QObject(parent) |
| 12 | { |
| 13 | } |
| 14 | |
| 15 | TEST(shorcutTest, shorcut) |
| 16 | { |
| 17 | Shortcut shortcut; |
| 18 | QString str = shortcut.toStr(); |
| 19 | } |