Home
last modified time | relevance | path

Searched refs:GetMessage (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/runtime_core/assembler/tests/
Decmascript_meta_test.cpp41 EXPECT_EQ(err.GetMessage(), result1->GetMessage());
52 EXPECT_EQ(result4->GetMessage(), "Attribute 'ecmascript.annotation' must not have a value");
57 EXPECT_EQ(result5->GetMessage(), "Unknown attribute 'attribute'");
61 EXPECT_EQ(result6->GetMessage(), "Attribute 'ecmascript.annotation' already defined");
124 EXPECT_EQ(result3->GetMessage(), "Unknown attribute 'ecmascript.annotation'");
129 EXPECT_EQ(result4->GetMessage(), "Unknown attribute 'attribute'");
133 EXPECT_EQ(result5->GetMessage(), "Unknown attribute 'ecmascript.annotation'");
148 EXPECT_EQ(err.GetMessage(), "test message");
/arkcompiler/runtime_core/plugins/ecmascript/tests/
Decmascript_meta_test.cpp30 ASSERT_EQ(err.GetMessage(), result1->GetMessage());
41 ASSERT_EQ(result4->GetMessage(), "Attribute 'ecmascript.annotation' must not have a value");
46 ASSERT_EQ(result5->GetMessage(), "Unknown attribute 'attribute'");
50 ASSERT_EQ(result6->GetMessage(), "Attribute 'ecmascript.annotation' already defined");
/arkcompiler/toolchain/tooling/test/
Dprofiler_impl_test.cpp57 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
66 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
89 ASSERT_TRUE(response.GetMessage().find("Stop is failure") != std::string::npos); in HWTEST_F_L0()
99 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
108 ASSERT_TRUE(response.GetMessage() == "GetBestEffortCoverage not support now"); in HWTEST_F_L0()
116 ASSERT_TRUE(response.GetMessage() == "StopPreciseCoverage not support now"); in HWTEST_F_L0()
124 ASSERT_TRUE(response.GetMessage() == "TakePreciseCoverage not support now"); in HWTEST_F_L0()
135 ASSERT_TRUE(response.GetMessage() == "StartPreciseCoverage not support now"); in HWTEST_F_L0()
143 ASSERT_TRUE(response.GetMessage() == "StartTypeProfile not support now"); in HWTEST_F_L0()
151 ASSERT_TRUE(response.GetMessage() == "StopTypeProfile not support now"); in HWTEST_F_L0()
[all …]
Dheapprofiler_impl_test.cpp58 ASSERT_TRUE(response.GetMessage() == "AddInspectedHeapObject not support now"); in HWTEST_F_L0()
67 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
76 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
85 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
96 ASSERT_TRUE(response.GetMessage() == "GetHeapObjectId not support now"); in HWTEST_F_L0()
107 ASSERT_TRUE(response.GetMessage() == "GetObjectByHeapObjectId not support now"); in HWTEST_F_L0()
117 ASSERT_TRUE(response.GetMessage() == "GetSamplingProfile fail"); in HWTEST_F_L0()
136 ASSERT_TRUE(response.GetMessage() == "StopSampling fail"); in HWTEST_F_L0()
146 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
Ddispatcher_test.cpp116 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
121 ASSERT_TRUE(response.GetMessage() == "msg"); in HWTEST_F_L0()
126 ASSERT_TRUE(response.GetMessage() == ""); in HWTEST_F_L0()
Dtracing_impl_test.cpp57 ASSERT_TRUE(response.GetMessage() == "End not support now."); in HWTEST_F_L0()
66 ASSERT_TRUE(response.GetMessage() == "GetCategories not support now."); in HWTEST_F_L0()
75 ASSERT_TRUE(response.GetMessage() == "RecordClockSyncMarker not support now."); in HWTEST_F_L0()
86 ASSERT_TRUE(response.GetMessage() == "RequestMemoryDump not support now."); in HWTEST_F_L0()
95 ASSERT_TRUE(response.GetMessage() == "Start not support now."); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/
Dprotocol_handler.cpp86 << (response.IsOk() ? "success" : "failed: " + response.GetMessage()); in SendResponse()
126 result->Add("message", response.GetMessage().c_str()); in CreateErrorReply()
Ddispatcher.h96 const std::string &GetMessage() const in GetMessage() function
/arkcompiler/runtime_core/panda/
Dpanda.cpp128 std::cerr << "Error: " << runtime_options_err.value().GetMessage() << std::endl; in PrepareArguments()
134 std::cerr << "Error: " << compiler_options_err.value().GetMessage() << std::endl; in PrepareArguments()
/arkcompiler/runtime_core/assembler/
Dassembly-parser.cpp2260 … context_.err = GetError(err.GetMessage(), Error::ErrorType::ERR_BAD_METADATA_UNKNOWN_ATTRIBUTE, 0, in SetMetadataContextError()
2265 … context_.err = GetError(err.GetMessage(), Error::ErrorType::ERR_BAD_METADATA_MISSING_ATTRIBUTE); in SetMetadataContextError()
2269 … context_.err = GetError(err.GetMessage(), Error::ErrorType::ERR_BAD_METADATA_MISSING_VALUE); in SetMetadataContextError()
2273 …context_.err = GetError(err.GetMessage(), Error::ErrorType::ERR_BAD_METADATA_UNEXPECTED_ATTRIBUTE,… in SetMetadataContextError()
2279 … GetError(err.GetMessage(), Error::ErrorType::ERR_BAD_METADATA_UNEXPECTED_VALUE, 0, SPECIAL_OFF); in SetMetadataContextError()
2283 …context_.err = GetError(err.GetMessage(), Error::ErrorType::ERR_BAD_METADATA_INVALID_VALUE, 0, -1); in SetMetadataContextError()
2287 …context_.err = GetError(err.GetMessage(), Error::ErrorType::ERR_BAD_METADATA_MULTIPLE_ATTRIBUTE, 0, in SetMetadataContextError()
Dmeta.h53 std::string GetMessage() const in GetMessage() function
/arkcompiler/toolchain/tooling/test/utils/
Dtest_util.h285 … ASSERT_FAIL_(error.value().GetMessage(), "Success", "API call result", "Expected", ""); \
/arkcompiler/runtime_core/templates/options/
Doptions.h.erb35 std::string GetMessage() {