Home
last modified time | relevance | path

Searched refs:testFunc (Results 1 – 2 of 2) sorted by relevance

/commonlibrary/ets_utils/js_api_module/xml/test/
Dtest_xml.cpp1615 napi_value testFunc = nullptr; variable
1616 napi_get_named_property(env, instance, "setAttributes", &testFunc);
1618 … napi_call_function(env, instance, testFunc, 2, args, &funcResultValue); // 2: number of arguments
1621 napi_get_named_property(env, instance, "setDeclaration", &testFunc);
1622 napi_call_function(env, instance, testFunc, 0, nullptr, &funcResultValue);
1628 napi_get_named_property(env, instance, "startElement", &testFunc);
1629 napi_call_function(env, instance, testFunc, 1, &val, &funcResultValue);
1632 napi_get_named_property(env, instance, "endElement", &testFunc);
1633 napi_call_function(env, instance, testFunc, 0, nullptr, &funcResultValue);
1640 napi_get_named_property(env, instance, "setNamespace", &testFunc);
[all …]
/commonlibrary/ets_utils/js_api_module/convertxml/test/
Dtest_convertxml.cpp452 napi_value testFunc = nullptr; variable
453 napi_get_named_property(env, instance, "convert", &testFunc);
454 … napi_call_function(env, instance, testFunc, 2, args, &funcResultValue); // 2: number of arguments