LCOV - code coverage report
Current view: top level - stub - bqs_server.cpp (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 13 13
Test Date: 2026-08-12 11:05:07 Functions: 100.0 % 5 5

            Line data    Source code
       1              : /**
       2              :  * Copyright (c) 2025 Huawei Technologies Co., Ltd.
       3              :  * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
       4              :  * CANN Open Software License Agreement Version 2.0 (the "License").
       5              :  * Please refer to the License for details. You may not use this file except in compliance with the License.
       6              :  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
       7              :  * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
       8              :  * See LICENSE in the root of the software repository for the full text of the License.
       9              :  */
      10              : 
      11              : #include "server/bqs_server.h"
      12              : 
      13              : namespace bqs {
      14              : 
      15            1 : BqsServer::BqsServer() {}
      16              : 
      17            1 : BqsServer::~BqsServer() {}
      18              : 
      19            2 : BqsServer& BqsServer::GetInstance()
      20              : {
      21            2 :     static BqsServer instance;
      22            2 :     return instance;
      23              : }
      24              : 
      25              : /**
      26              :  * Bqs server enqueue bind msg request process
      27              :  * @return NA
      28              :  */
      29            1 : void BqsServer::BindMsgProc()
      30              : {
      31            1 :     BQS_LOG_INFO("BqsServer BindMsgProc begin");
      32            1 :     BQS_LOG_INFO("BqsServer BindMsgProc end");
      33            1 :     return;
      34              : }
      35              : 
      36              : /**
      37              :  * Init bqs server, including init easycomm server and bind relation
      38              :  * @return BQS_STATUS_OK:success other:failed
      39              :  */
      40            1 : BqsStatus BqsServer::InitBqsServer(const std::string& qsInitGrpName, const uint32_t deviceId)
      41              : {
      42            1 :     BQS_LOG_INFO("BqsServer Init begin");
      43            1 :     BQS_LOG_INFO("BqsServer Init success qsInitGrpName[%s] deviceId[%u]", qsInitGrpName.c_str(), deviceId);
      44            1 :     return BQS_STATUS_OK;
      45              : }
      46              : } // namespace bqs
        

Generated by: LCOV version 2.0-1