Home
last modified time | relevance | path

Searched refs:methodDef (Results 1 – 3 of 3) sorted by relevance

/test/testfwk/arkxtest/uitest/napi/
Duitest_napi.cpp391 auto methodDef = reinterpret_cast<const FrontendMethodDef *>(pData); in GenericCallback() local
392 g_unCalledJsFuncNames.erase(string(methodDef->name_)); // api used in GenericCallback()
411 if (!methodDef->static_) { in GenericCallback()
416 ctx.callInfo_.apiId_ = methodDef->name_; in GenericCallback()
425 if (methodDef->fast_) { in GenericCallback()
440 const auto &methodDef = classDef.methods_[idx]; in ExportClass() local
441 g_unCalledJsFuncNames.insert(string(methodDef.name_)); in ExportClass()
442 const auto neatName = methodDef.name_.substr(methodNeatNameOffset); in ExportClass()
444 if (methodDef.static_) { in ExportClass()
447 desc.data = (void *)(&methodDef); in ExportClass()
/test/testfwk/arkxtest/uitest/test/
Dfrontend_api_handler_test.cpp195 const auto &methodDef = classDef->methods_[idx]; in TEST_F() local
196 if (methodDef.name_ == "UiWindow.isActived") { in TEST_F()
199 const auto message = "No handler registered for '" + string(methodDef.name_) + "'"; in TEST_F()
200 ASSERT_TRUE(server.HasHandlerFor(methodDef.name_)) << message; in TEST_F()
/test/testfwk/arkxtest/uitest/core/
Dfrontend_api_handler.cpp162 auto methodDef = classDef->methods_[idx]; in ParseFrontendMethodsSignature() local
165 ParseMethodSignature(methodDef.signature_, paramTypes, hasDefaultArg); in ParseFrontendMethodsSignature()
166 … sApiArgTypesMap.insert(make_pair(string(methodDef.name_), make_pair(paramTypes, hasDefaultArg))); in ParseFrontendMethodsSignature()