diff --git a/metadef b/metadef index 620e9b9..22ab76e 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit 620e9b9ac3210db3e4cf47babfb23d248bb9f17e +Subproject commit 22ab76ecd8461f679606374be4b3b6b6f7cad321 diff --git a/tests/depends/error_manager/src/error_manager_stub.cc b/tests/depends/error_manager/src/error_manager_stub.cc index 1764e6a..4d06caf 100644 --- a/tests/depends/error_manager/src/error_manager_stub.cc +++ b/tests/depends/error_manager/src/error_manager_stub.cc @@ -16,7 +16,7 @@ #include "common/util/error_manager/error_manager.h" -namespace ErrorMessage { +namespace error_message { int FormatErrorMessage(char *str_dst, size_t dst_max, const char *format, ...) { return 0; } @@ -74,7 +74,7 @@ int ErrorManager::OutputMessage(int handle) { return 0; } /// @param [in] value: vector parameter value /// void ErrorManager::ATCReportErrMessage(std::string error_code, const std::vector &key, - const std::vector &value) { + const std::vector &value) { } /// @@ -97,5 +97,12 @@ int ErrorManager::GetMstuneCompileFailedMsg(const std::string &graph_name, std:: void ErrorManager::SetStage(const std::string &first_stage, const std::string &second_stage) { } + struct error_message::Context &ErrorManager::GetErrorManagerContext() { + struct error_message::Context error_context; + return error_context; + } + +void ErrorManager::SetErrorContext(struct error_message::Context error_context) {} + void ErrorManager::GenWorkStreamIdDefault() { }