From 0b6354215ac1892d42ad826e48eb8e91cff9ad96 Mon Sep 17 00:00:00 2001 From: wqtshg Date: Sat, 26 Dec 2020 09:25:41 +0800 Subject: [PATCH] update c76 ut --- .../depends/error_manager/src/error_manager_stub.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/depends/error_manager/src/error_manager_stub.cc b/tests/depends/error_manager/src/error_manager_stub.cc index edf5a487..876fa802 100644 --- a/tests/depends/error_manager/src/error_manager_stub.cc +++ b/tests/depends/error_manager/src/error_manager_stub.cc @@ -62,17 +62,13 @@ } /// - /// @brief report graph compile failed message such as error code and op_name in mstune case + /// @brief report graph compile failed message such as error code and op_name in mustune case + /// @param [in] root_graph_name: root graph name /// @param [in] msg: failed message map, key is error code, value is op_name /// @return int 0(success) -1(fail) /// - int ErrorManager::ReportMstuneCompileFailedMsg(const std::map &msg) { return 0; } - - /// - /// @brief save graph compile failed message from thread local map to global map - /// @param [in] graph_name: graph name - /// - void ErrorManager::SaveMstuneCompileFailedMsg(const std::string &graph_name) {} + int ErrorManager::ReportMstuneCompileFailedMsg(const std::string &root_graph_name, + const std::map &msg) { return 0; } /// /// @brief get graph compile failed message in mstune case