Home
last modified time | relevance | path

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

/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/
Dnapi_test.cpp8917 JSVM_Value scriptString; in useArrayBuffer() local
8929 JSVM_Status stat6 = OH_JSVM_CreateStringUtf8(env, src, JSVM_AUTO_LENGTH, &scriptString); in useArrayBuffer()
8931 JSVM_Status stat7 = OH_JSVM_CompileScriptWithOptions(env, scriptString, 0, nullptr, &script); in useArrayBuffer()
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/ohosTest/ets/test/
DJsvmTest.ets3601 let scriptString: string = `
3605 expect(napitest.runJsVm(scriptString)).assertEqual('Hello!');