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 "lowpower.h"
19f6603c60Sopenharmony_ci
20f6603c60Sopenharmony_ciunsigned int (*g_lpcInit)(void);
21f6603c60Sopenharmony_ciunsigned int (*g_lpcSetType)(LpcType type);
22f6603c60Sopenharmony_ci
23f6603c60Sopenharmony_ci/**
24f6603c60Sopenharmony_ci * @tc.desc      : register a test suite, this suite is used to test basic flow and interface dependency
25f6603c60Sopenharmony_ci * @param        : subsystem name is wifiiot
26f6603c60Sopenharmony_ci * @param        : module name is wifiiotlite
27f6603c60Sopenharmony_ci * @param        : test suit name is UtilsFileFuncTestSuite
28f6603c60Sopenharmony_ci */
29f6603c60Sopenharmony_ciLITE_TEST_SUIT(wifiiot, wifiiotlite, IotLowPowerTestSuite);
30f6603c60Sopenharmony_ci
31f6603c60Sopenharmony_ci/**
32f6603c60Sopenharmony_ci * @tc.setup     : setup for all testcases
33f6603c60Sopenharmony_ci * @return       : setup result, TRUE is success, FALSE is fail
34f6603c60Sopenharmony_ci */
35f6603c60Sopenharmony_cistatic BOOL IotLowPowerTestSuiteSetUp(void)
36f6603c60Sopenharmony_ci{
37f6603c60Sopenharmony_ci    return TRUE;
38f6603c60Sopenharmony_ci}
39f6603c60Sopenharmony_ci
40f6603c60Sopenharmony_ci/**
41f6603c60Sopenharmony_ci * @tc.teardown  : teardown for all testcases
42f6603c60Sopenharmony_ci * @return       : teardown result, TRUE is success, FALSE is fail
43f6603c60Sopenharmony_ci */
44f6603c60Sopenharmony_cistatic BOOL IotLowPowerTestSuiteTearDown(void)
45f6603c60Sopenharmony_ci{
46f6603c60Sopenharmony_ci    printf("+-------------------------------------------+\n");
47f6603c60Sopenharmony_ci    return TRUE;
48f6603c60Sopenharmony_ci}
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_ci/**
51f6603c60Sopenharmony_ci * @tc.number    : SUB_UTILS_WIFIIOT_API_7000
52f6603c60Sopenharmony_ci * @tc.name      : UART operation with LpcInit
53f6603c60Sopenharmony_ci * @tc.desc      : [C- SOFTWARE -0200]
54f6603c60Sopenharmony_ci */
55f6603c60Sopenharmony_ciLITE_TEST_CASE(IotLowPowerTestSuite, testIotLowPower001, Function | MediumTest | Level1)
56f6603c60Sopenharmony_ci{
57f6603c60Sopenharmony_ci    g_lpcInit =LpcInit;
58f6603c60Sopenharmony_ci};
59f6603c60Sopenharmony_ci
60f6603c60Sopenharmony_ci/**
61f6603c60Sopenharmony_ci * @tc.number    : SUB_UTILS_WIFIIOT_API_7100
62f6603c60Sopenharmony_ci * @tc.name      : UART operation with IoTWatchDogKick
63f6603c60Sopenharmony_ci * @tc.desc      : [C- SOFTWARE -0200]
64f6603c60Sopenharmony_ci */
65f6603c60Sopenharmony_ciLITE_TEST_CASE(IotLowPowerTestSuite, testIotLowPower002, Function | MediumTest | Level1)
66f6603c60Sopenharmony_ci{
67f6603c60Sopenharmony_ci    g_lpcSetType = LpcSetType;
68f6603c60Sopenharmony_ci};
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_ciRUN_TEST_SUITE(IotLowPowerTestSuite);
71f6603c60Sopenharmony_ci
72