Commit Graph

160 Commits

Author SHA1 Message Date
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
zhaojunxia
be89179ff5 reback muitiparams
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-24 00:37:06 -07:00
gou-jingjing
bc97c2625d resolve conflict
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-10-24 14:14:16 +08:00
zhaojunxia
7e0b7e17e2 feat: callback arrow func
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-23 19:19:17 -07:00
gou-jingjing
4bd16fcfe3 support interface func is on
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-10-19 20:48:27 +08:00
openharmony_ci
d9bd7fd7f8
!310 【napi tool】support function type for param
Merge pull request !310 from zhaojunxia/master
2023-10-19 07:12:18 +00:00
zhaojunxia
e9f70dc08e Add function param testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-18 23:55:20 -07:00
zhaojunxia
47b9937765 feat: support Function type
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-18 22:57:35 -07:00
openharmony_ci
7f0d31cc11
!309 [napi_generator]refactor napi namespace function
Merge pull request !309 from zhaojunxia/master
2023-10-18 05:54:04 +00:00
zhaojunxia
a38503f70c test enum callback
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-17 20:46:04 -07:00
zhaojunxia
7d9beeddc9 part test_enum case
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-17 20:44:50 -07:00
zhaojunxia
f9e09dcb36 refactor analyzeNamespace
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-17 19:57:26 -07:00
openharmony_ci
c08e43d958
!308 [napi tool]Add testcase for on and callback
Merge pull request !308 from zhaojunxia/master
2023-10-17 01:43:41 +00:00
zhaojunxia
1afdf8b4cc define interf
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-16 02:36:34 -07:00
zhaojunxia
68f2054936 add testcase for callback
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-16 02:26:49 -07:00
zhaojunxia
96f886b461 add todo on
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-16 01:56:58 -07:00
openharmony_ci
71a9d3e081
!307 [napi tool] support parameterized construction transformation
Merge pull request !307 from 苟晶晶/master
2023-10-11 10:04:59 +00:00
gou-jingjing
1370950f01 style: support parameterized construction transformation
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-10-11 17:43:45 +08:00
zhaojunxia
e525e6f7dd modify format
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-11 01:13:20 -07:00
zhaojunxia
e3100c82a2 add on callback type interface testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-10 23:41:31 -07:00
zhaojunxia
ad5b4a959d fix: on function supporting noname interface
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-10 20:37:38 -07:00
zhaojunxia
2cf5a14bc4 Merge branch 'master' of gitee.com:openharmony/napi_generator into master
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-10 12:47:29 +00:00
zhaojunxia
2c4f557200 fix: the callback type of on function support interface
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-10 05:45:01 -07:00
gou-jingjing
c7281c5126 Merge branch 'master' of gitee.com:gou-jingjing/napi_generator 2023-10-10 10:40:39 +08:00
gou-jingjing
d83979ea78 style: support when class member variable is enum
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-10-09 17:35:15 +08:00
zhaojunxia
18d47072a0 modify test class testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-09 02:34:24 -07:00
zhaojunxia
9603f19a6f modify class name
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-09 02:32:19 -07:00
zhaojunxia
7b5ad1c825 Merge branch 'master' of gitee.com:openharmony/napi_generator into master
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-09 09:05:48 +00:00
zhaojunxia
cf3e3efb9e add class defined later testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-09 02:04:26 -07:00
zhaojunxia
f6f1f25472 fix: interface defined after
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-10-08 02:51:01 -07:00
gou-jingjing
9a59925df6 style: support class/interface func does not declare return value
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-09-28 14:54:46 +08:00
gou-jingjing
8959e30acf support class/interface function param/returnVal is anonymous interface
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-09-26 13:58:59 +08:00
zhaojunxia
198830cc8c Merge branch 'master' of gitee.com:openharmony/napi_generator into master
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-09-22 07:27:35 +00:00
zhaojunxia
381ba0a46e napi tool: modify enum later testcase
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-09-22 00:26:30 -07:00
zhaojunxia
3bc7a26dba fix: enum defined later
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-09-21 19:39:30 -07:00
gou-jingjing
c1fe172f17 style: support napi inteface/type optional basic params
Signed-off-by: gou-jingjing <goujingjing@kaihong.com>
2023-09-22 10:36:15 +08:00
zhaojunxia
1915a62144 modify class storytest case
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-09-20 01:45:12 -07:00
zhaojunxia
4e7a8fafe5 modify testcase for brabce
Signed-off-by: zhaojunxia <zhaojunxia@kaihong.com>
2023-09-20 01:36:37 -07:00