Commit Graph

197 Commits

Author SHA1 Message Date
openharmony_ci
5a62223249
!377 [napi_tool] fix enum bug in class constructor
Merge pull request !377 from 苟晶晶/master
2024-03-13 08:03:10 +00:00
gou-jingjing
bc45d18107 add napi unittest cases
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-03-11 16:03:10 +08:00
gou-jingjing
f7023e6ba6 style: fix enum bug in class constructor
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-03-05 16:28:25 +08:00
gou-jingjing
851446f8eb style: modify conversion of enum return value
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-03-05 09:02:58 +08:00
gou-jingjing
f3b970c1cd adapt to modify unittest cases
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-03-01 15:37:32 +08:00
gou-jingjing
229514d470 style: add enum input validation
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-02-29 17:47:08 +08:00
openharmony_ci
ea8fca611d
!369 [NAPI Tool] modify UT of NAPI Tool
Merge pull request !369 from zhaojunxia/master
2024-02-26 09:54:20 +00:00
zhaojunxia
7c9323cbcf modify codecheck
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2024-02-26 01:30:20 -08:00
zhaojunxia
dc16949df8 modify UT for NAPI Tool
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2024-02-26 00:40:04 -08:00
gou-jingjing
dbb4a4d49e modify test_on cases
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-02-22 16:11:00 +08:00
zhaojunxia
636eae8f6e del notes
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2024-01-25 01:34:52 -08:00
zhaojunxia
58177a8789 modify interface type to class
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2024-01-25 00:31:07 -08:00
gou-jingjing
ece91c0b61 napi test app code adaptation arkTs rule
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-12-18 16:57:23 +08:00
zhaojunxia
5f7b7c9519 modify call thread func
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-12 22:34:39 -08:00
zhaojunxia
b92f485f1c refact threadsafe func
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-05 17:47:03 -08:00
zhaojunxia
646709f13f del testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-05 01:06:56 -08:00
zhaojunxia
351c4d0a5e add testcase for tdsafefunc
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-05 00:27:14 -08:00
zhaojunxia
a0d0f4d669 add interface creatthreadsafefunc
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-05 00:25:03 -08:00
zhaojunxia
71377da679 update tdSafe func
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-04 23:30:25 -08:00
zhaojunxia
b43d5ba906 modify tdsafeFunc
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-04 23:03:48 -08:00
zhaojunxia
c3dfd51bdd add createthreadsafeFunc
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-12-04 23:02:17 -08:00
zhaojunxia
7cc21c9378 support remove Obj cb
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-15 23:52:56 -08:00
zhaojunxia
aa41e04cc4 del isOnflag
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-15 22:53:10 -08:00
zhaojunxia
a52511c2c9 support multi Cb for Obj cb
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-15 22:49:19 -08:00
zhaojunxia
2d94fdae6a add interface register feat
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-13 01:08:34 -08:00
zhaojunxia
caa6999216 Merge branch 'master' of gitee.com:openharmony/napi_generator into master
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-09 07:54:29 +00:00
zhaojunxia
2cfb5ac33f modify ObjCallback
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-08 23:50:37 -08:00
zhaojunxia
c655fbbd70 onObjCallback testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-08 23:42:16 -08:00
zhaojunxia
bd33f602fa support onObjCallback
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-08 23:41:18 -08:00
zhaojunxia
1460f37d08 support callback obj
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-08 01:18:01 -08:00
gou-jingjing
4ad2896cf2 support callback param interfaces/types member is optional
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-11-07 17:02:50 +08:00
zhaojunxia
bea2195d46 add register testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-05 18:56:15 -08:00
zhaojunxia
93469d6c09 del class on /off
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-05 18:35:24 -08:00
zhaojunxia
fbba734b15 support off
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-05 18:24:38 -08:00
zhaojunxia
4ef82448b6 add test sample
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-04 04:20:35 -07:00
zhaojunxia
c541c83675 support register type of Function
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-11-04 04:08:11 -07:00
gou-jingjing
0d056d8b1f add serviceCode configuration options
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-11-01 14:02:20 +08:00
zhaojunxia
173b447d14 refactor testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-30 20:26:05 -07:00
zhaojunxia
8d2b707e5c add arrow callFunc testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-30 20:08:29 -07:00
zhaojunxia
2d1df115cc add testcase for arrow callback
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-30 18:56:35 -07:00
苟晶晶
a5ae6a0c2c Merge branch 'master' of gitee.com:openharmony/napi_generator into master
Signed-off-by: 苟晶晶 <goujingjing@kaihong.com>
2023-10-30 08:05:50 +00:00
gou-jingjing
93cd894111 resolve conflict
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-10-30 16:01:39 +08:00
zhaojunxia
0affed6a25 feat: support arrow cb func of multi params
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-29 23:58:55 -07:00
gou-jingjing
701bc87893 support multiple on methods
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-10-28 11:40:47 +08:00
openharmony_ci
b1a37cb7d4
!314 [napi tool] support callback with return value of number and boolean
Merge pull request !314 from zhaojunxia/master
2023-10-26 03:03:40 +00:00
zhaojunxia
16eb9bbbfa support callback with return value for interface
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-25 19:40:29 -07:00
zhaojunxia
c90b491f99 add testcase for callback with return value
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-25 18:50:11 -07:00
苟晶晶
c97dc05b1d Merge branch 'master' of gitee.com:openharmony/napi_generator into master
Signed-off-by: 苟晶晶 <goujingjing@kaihong.com>
2023-10-26 01:10:47 +00:00
gou-jingjing
b5a009e80b add effectiveness judgment about on eventName
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-10-25 15:22:57 +08:00
zhaojunxia
18bdf7ebf0 Merge branch 'master' of gitee.com:openharmony/napi_generator into master
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-24 09:35:22 +00:00