console.info('aceNapiTest036 testString result is: '+value+"--"+JSON.stringify(value));
console.info('aceNapiTest036 testString result is: '+value+"--"+JSON.stringify(value));
expect(value).assertEqual('he');
expect(value).assertEqual("tst");
done();
done();
});
});
/**
/**
* @tc.number SUB_ACE_BASIC_ETS_NAPI_0460
* @tc.number SUB_ACE_BASIC_ETS_NAPI_0037
* @tc.name aceNapiTest037
* @tc.name aceNapiTest037
* @tc.desc aceNapiEtsTest
* @tc.desc aceNapiEtsTest
*/
*/
it('aceNapiTest037',0,asyncfunction(done){
it('aceNapiTest037',0,asyncfunction(done){
console.info('aceNapiTest037 START');
console.info('aceNapiTest037 START');
letvalue=napitest.getPrototype();
letvalue=napitest.createAndGetStringUtf8('he');
console.info('aceNapiTest037 testString result is: '+value+"--"+JSON.stringify(value));
console.info('aceNapiTest037 testString result is: '+value+"--"+JSON.stringify(value));
expect(value).assertEqual(0);
expect(value).assertEqual('he');
done();
done();
});
});
/**
/**
* @tc.number SUB_ACE_BASIC_ETS_NAPI_0490
* @tc.number SUB_ACE_BASIC_ETS_NAPI_0038
* @tc.name aceNapiTest038
* @tc.desc aceNapiEtsTest
*/
it('aceNapiTest038',0,asyncfunction(done){
console.info('aceNapiTest038 START');
value=napitest.getPrototype();
console.info('aceNapiTest038 testString result is: '+value+"--"+JSON.stringify(value));
expect(valueinstanceofObject).assertTrue();
functiontestFunc(){
this.a=0
}
value=napitest.getPrototype2(testFunc);
console.info('aceNapiTest038 testString result is: '+value+"--"+JSON.stringify(value));
console.info('aceNapiTest038 testString Object.getPrototypeOf(testObj) is: '+Object.getPrototypeOf(testFunc)+"--"+JSON.stringify(Object.getPrototypeOf(testFunc)));