179a732c7Sopenharmony_ci/*
279a732c7Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd.
379a732c7Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
479a732c7Sopenharmony_ci * you may not use this file except in compliance with the License.
579a732c7Sopenharmony_ci * You may obtain a copy of the License at
679a732c7Sopenharmony_ci *
779a732c7Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0
879a732c7Sopenharmony_ci *
979a732c7Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1079a732c7Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1179a732c7Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1279a732c7Sopenharmony_ci * See the License for the specific language governing permissions and
1379a732c7Sopenharmony_ci * limitations under the License.
1479a732c7Sopenharmony_ci */
1579a732c7Sopenharmony_ci#ifndef OHOS_UTTest_DM_SOFTBUS_CONNECTOR_H
1679a732c7Sopenharmony_ci#define OHOS_UTTest_DM_SOFTBUS_CONNECTOR_H
1779a732c7Sopenharmony_ci
1879a732c7Sopenharmony_ci#include <gtest/gtest.h>
1979a732c7Sopenharmony_ci#include <refbase.h>
2079a732c7Sopenharmony_ci#include <map>
2179a732c7Sopenharmony_ci#include <memory>
2279a732c7Sopenharmony_ci#include <mutex>
2379a732c7Sopenharmony_ci#include <string>
2479a732c7Sopenharmony_ci#include <vector>
2579a732c7Sopenharmony_ci
2679a732c7Sopenharmony_ci#include "device_manager_service_listener.h"
2779a732c7Sopenharmony_ci#include "dm_device_info.h"
2879a732c7Sopenharmony_ci#include "dm_device_state_manager.h"
2979a732c7Sopenharmony_ci#include "dm_discovery_manager.h"
3079a732c7Sopenharmony_ci#include "dm_publish_manager.h"
3179a732c7Sopenharmony_ci#include "dm_subscribe_info.h"
3279a732c7Sopenharmony_ci#include "softbus_bus_center.h"
3379a732c7Sopenharmony_ci#include "softbus_connector.h"
3479a732c7Sopenharmony_ci#include "softbus_listener.h"
3579a732c7Sopenharmony_ci#include "softbus_discovery_callback.h"
3679a732c7Sopenharmony_ci#include "softbus_publish_callback.h"
3779a732c7Sopenharmony_ci#include "softbus_session.h"
3879a732c7Sopenharmony_ci
3979a732c7Sopenharmony_cinamespace OHOS {
4079a732c7Sopenharmony_cinamespace DistributedHardware {
4179a732c7Sopenharmony_ciclass SoftbusConnectorTest : public testing::Test {
4279a732c7Sopenharmony_cipublic:
4379a732c7Sopenharmony_ci    static void SetUpTestCase();
4479a732c7Sopenharmony_ci    static void TearDownTestCase();
4579a732c7Sopenharmony_ci    void SetUp() override;
4679a732c7Sopenharmony_ci    void TearDown() override;
4779a732c7Sopenharmony_ci    bool CheckReturnResult(int ret);
4879a732c7Sopenharmony_ci};
4979a732c7Sopenharmony_ci} // namespace DistributedHardware
5079a732c7Sopenharmony_ci} // namespace OHOS
5179a732c7Sopenharmony_ci#endif
52