| 1 | // SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-only |
| 4 | |
| 5 | #include "utilstest.h" |
| 6 | |
| 7 | void UtilsTest::SetUp() |
| 8 | { |
| 9 | // qInfo() << "Test SetUp"; |
| 10 | } |
| 11 | |
| 12 | void UtilsTest::TearDown() |
| 13 | { |
| 14 | // qInfo() << "Test TearDown"; |
| 15 | } |
| 16 | |
| 17 | TEST_F(UtilsTest, utils) |
| 18 | { |
| 19 | Utils::initResource(); |
| 20 | Utils::loadTranslate(); |
| 21 | Utils::ClearTargetDev("xxxkjh"); |
| 22 | Utils::CheckInstallDisk("xxxkjh"); |
| 23 | Utils::CommandDfParse(); |
| 24 | Utils::CommandLsblkParse(); |
| 25 | Utils::ListUsbDrives(); |
| 26 | Utils::UsbShowText("xxxkjh"); |
| 27 | } |