Commit Graph

206 Commits

Author SHA1 Message Date
chen-zhongwei050
4cfdcab433 fix codecheck
Signed-off-by: chen-zhongwei050 <chenzhongwei050@chinasoftinc.com>
2024-08-14 09:55:19 +08:00
chen-zhongwei050
d2ab355d9c add工具生成模板
Signed-off-by: chen-zhongwei050 <chenzhongwei050@chinasoftinc.com>
2024-08-09 09:19:53 +08:00
huruitao
81873fbd64 修改警告
Signed-off-by: huruitao <huruitao@kaihong.com>
2024-07-16 17:11:13 +08:00
huruitao
1dfeb2ef32 test/unittest/; src/tool/api/; src/cli/h2dts/
Signed-off-by: huruitao <huruitao@kaihong.com>
2024-07-12 17:08:41 +08:00
gou-jingjing
26373fcbdd 重构超大深度函数
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-07-10 09:53:02 +08:00
gou-jingjing
20122a3406 删除冗余代码
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-07-09 11:38:37 +08:00
gou-jingjing
be850759aa 重构超大函数
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-07-09 11:30:47 +08:00
gou-jingjing
0f0987edfd 删除冗余代码
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-07-08 16:08:30 +08:00
gou-jingjing
cb0f30ccc1 refactor directory
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2024-05-15 18:12:59 +08:00
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