Lines Matching full:std
55 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
64 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
74 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
76 std::unique_ptr<Profile> profile; in HWTEST_F_L0()
86 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
87 std::unique_ptr<Profile> profile; in HWTEST_F_L0()
89 ASSERT_TRUE(response.GetMessage().find("Stop is failure") != std::string::npos); in HWTEST_F_L0()
97 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
106 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
114 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
122 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
130 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
131 … std::string msg = std::string() + R"({"id":0,"method":"Debugger.requestMemoryDump","params":{}})"; in HWTEST_F_L0()
133 …std::unique_ptr<StartPreciseCoverageParams> params = StartPreciseCoverageParams::Create(request.Ge… in HWTEST_F_L0()
141 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
149 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
157 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
164 std::string result = ""; in HWTEST_F_L0()
165 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
166 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
168 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
169 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
170 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
173 ASSERT_TRUE(result.find("Unknown method: Test") != std::string::npos); in HWTEST_F_L0()
174 msg = std::string() + R"({"id":0,"method":"Debugger.disable","params":{}})"; in HWTEST_F_L0()
186 std::string result = ""; in HWTEST_F_L0()
187 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
188 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
190 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
191 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
192 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
204 std::string result = ""; in HWTEST_F_L0()
205 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
206 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
208 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
209 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
210 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
222 std::string result = ""; in HWTEST_F_L0()
223 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
224 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
226 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
227 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
228 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
237 ASSERT_TRUE(result.find("\"id\":0") != std::string::npos); in HWTEST_F_L0()
238 ASSERT_TRUE(result.find("\"profile\"") != std::string::npos); in HWTEST_F_L0()
243 std::string result = ""; in HWTEST_F_L0()
244 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
245 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
247 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
248 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
249 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
256 ASSERT_TRUE(result.find("Stop is failure") != std::string::npos); in HWTEST_F_L0()
261 std::string result = ""; in HWTEST_F_L0()
262 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
263 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
265 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
266 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
267 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
270 ASSERT_TRUE(result.find("wrong params") != std::string::npos); in HWTEST_F_L0()
271 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"interval":24}})"; in HWTEST_F_L0()
283 std::string result = ""; in HWTEST_F_L0()
284 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
285 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
287 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
288 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
289 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
296 ASSERT_TRUE(result.find("GetBestEffortCoverage not support now") != std::string::npos); in HWTEST_F_L0()
301 std::string result = ""; in HWTEST_F_L0()
302 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
303 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
305 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
306 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
307 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
314 ASSERT_TRUE(result.find("StopPreciseCoverage not support now") != std::string::npos); in HWTEST_F_L0()
319 std::string result = ""; in HWTEST_F_L0()
320 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
321 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
323 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
324 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
325 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
332 ASSERT_TRUE(result.find("TakePreciseCoverage not support now") != std::string::npos); in HWTEST_F_L0()
337 std::string result = ""; in HWTEST_F_L0()
338 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
339 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
341 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
342 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
343 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
350 ASSERT_TRUE(result.find("StartPreciseCoverage not support now") != std::string::npos); in HWTEST_F_L0()
355 std::string result = ""; in HWTEST_F_L0()
356 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
357 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
359 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
360 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
361 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
368 ASSERT_TRUE(result.find("StartTypeProfile not support now") != std::string::npos); in HWTEST_F_L0()
373 std::string result = ""; in HWTEST_F_L0()
374 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
375 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
377 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
378 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
379 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
386 ASSERT_TRUE(result.find("StopTypeProfile not support now") != std::string::npos); in HWTEST_F_L0()
391 std::string result = ""; in HWTEST_F_L0()
392 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
393 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
395 auto tracing = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0()
396 … auto dispatcherImpl = std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(tracing)); in HWTEST_F_L0()
397 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0()
404 ASSERT_TRUE(result.find("TakeTypeProfile not support now") != std::string::npos); in HWTEST_F_L0()
409 std::string result = ""; in HWTEST_F_L0()
410 std::function<void(const void*, const std::string &)> callback = in HWTEST_F_L0()
411 [&result]([[maybe_unused]]const void* ptr, const std::string &temp) { result = temp; }; in HWTEST_F_L0()
413 auto frontend = std::make_unique<ProfilerImpl::Frontend>(channel); in HWTEST_F_L0()
419 auto frontend1 = std::make_unique<ProfilerImpl::Frontend>(channel); in HWTEST_F_L0()
425 ASSERT_TRUE(result.find("Profile.PreciseCoverageDeltaUpdate") != std::string::npos); in HWTEST_F_L0()