1f6603c60Sopenharmony_ci/*
2f6603c60Sopenharmony_ci * Copyright (c) 2021 Huawei Device Co., Ltd.
3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License.
5f6603c60Sopenharmony_ci * You may obtain a copy of the License at
6f6603c60Sopenharmony_ci *
7f6603c60Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8f6603c60Sopenharmony_ci *
9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and
13f6603c60Sopenharmony_ci * limitations under the License.
14f6603c60Sopenharmony_ci */
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ci#include "hctest.h"
17f6603c60Sopenharmony_ci#include "iot_errno.h"
18f6603c60Sopenharmony_ci#include "reset.h"
19f6603c60Sopenharmony_ci
20f6603c60Sopenharmony_civoid (*g_rebootDevice)(unsigned int);
21f6603c60Sopenharmony_ci
22f6603c60Sopenharmony_ci/**
23f6603c60Sopenharmony_ci * @tc.desc      : register a test suite, this suite is used to test basic flow and interface dependency
24f6603c60Sopenharmony_ci * @param        : subsystem name is wifiiot
25f6603c60Sopenharmony_ci * @param        : module name is wifiiotlite
26f6603c60Sopenharmony_ci * @param        : test suit name is UtilsFileFuncTestSuite
27f6603c60Sopenharmony_ci */
28f6603c60Sopenharmony_ciLITE_TEST_SUIT(wifiiot, wifiiotlite, IotResetTestSuite);
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_ci/**
31f6603c60Sopenharmony_ci * @tc.setup     : setup for all testcases
32f6603c60Sopenharmony_ci * @return       : setup result, TRUE is success, FALSE is fail
33f6603c60Sopenharmony_ci */
34f6603c60Sopenharmony_cistatic BOOL IotResetTestSuiteSetUp(void)
35f6603c60Sopenharmony_ci{
36f6603c60Sopenharmony_ci    return TRUE;
37f6603c60Sopenharmony_ci}
38f6603c60Sopenharmony_ci
39f6603c60Sopenharmony_ci/**
40f6603c60Sopenharmony_ci * @tc.teardown  : teardown for all testcases
41f6603c60Sopenharmony_ci * @return       : teardown result, TRUE is success, FALSE is fail
42f6603c60Sopenharmony_ci */
43f6603c60Sopenharmony_cistatic BOOL IotResetTestSuiteTearDown(void)
44f6603c60Sopenharmony_ci{
45f6603c60Sopenharmony_ci    printf("+-------------------------------------------+\n");
46f6603c60Sopenharmony_ci    return TRUE;
47f6603c60Sopenharmony_ci}
48f6603c60Sopenharmony_ci
49f6603c60Sopenharmony_ci/**
50f6603c60Sopenharmony_ci * @tc.number    : SUB_UTILS_WIFIIOT_API_8000
51f6603c60Sopenharmony_ci * @tc.name      : UART operation with RebootDevice
52f6603c60Sopenharmony_ci * @tc.desc      : [C- SOFTWARE -0200]
53f6603c60Sopenharmony_ci */
54f6603c60Sopenharmony_ciLITE_TEST_CASE(IotResetTestSuite, testIotReset001, Function | MediumTest | Level1)
55f6603c60Sopenharmony_ci{
56f6603c60Sopenharmony_ci    g_rebootDevice = RebootDevice;
57f6603c60Sopenharmony_ci};
58f6603c60Sopenharmony_ci
59f6603c60Sopenharmony_ciRUN_TEST_SUITE(IotResetTestSuite);
60