Commit 48a634e
test: rename n-api to node-api
This renames the macros used in the tests from `NAPI_*` to
`NODE_API_*`.
PR-URL: #37217
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 3e2746f commit 48a634eCopy full SHA for 48a634e
File tree
Expand file treeCollapse file tree
52 files changed
+1374
-1451
lines changedOpen diff view settings
Filter options
- test
- js-native-api
- 2_function_arguments
- 3_callbacks
- 4_object_factory
- 5_function_factory
- 6_object_wrap
- 7_factory_wrap
- 8_passing_wrapped
- test_array
- test_bigint
- test_constructor
- test_conversions
- test_dataview
- test_date
- test_error
- test_exception
- test_function
- test_general
- test_handle_scope
- test_instance_data
- test_new_target
- test_number
- test_object
- test_promise
- test_properties
- test_reference
- test_string
- test_symbol
- test_typedarray
- node-api
- 1_hello_world
- test_async_context
- test_async
- test_buffer
- test_callback_scope
- test_exception
- test_fatal_exception
- test_fatal
- test_general
- test_instance_data
- test_make_callback_recurse
- test_make_callback
- test_policy
- test_threadsafe_function
- test_uv_loop
- test_worker_buffer_callback
- test_worker_terminate_finalization
- test_worker_terminate
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
52 files changed
+1374
-1451
lines changedOpen diff view settings
Collapse file
test/js-native-api/2_function_arguments/binding.c
Copy file name to clipboardExpand all lines: test/js-native-api/2_function_arguments/binding.c+10-10Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | | - |
| 9 | + |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
35 | | - |
| 34 | + |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
Collapse file
test/js-native-api/3_callbacks/binding.c
Copy file name to clipboardExpand all lines: test/js-native-api/3_callbacks/binding.c+14-14Lines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | | - |
| 14 | + |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | | - |
| 19 | + |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | | - |
| 29 | + |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | | - |
| 44 | + |
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
52 | | - |
| 51 | + |
| 52 | + |
53 | 53 | |
54 | | - |
| 54 | + |
55 | 55 | |
56 | 56 | |
57 | 57 | |
Collapse file
test/js-native-api/4_object_factory/binding.c
Copy file name to clipboardExpand all lines: test/js-native-api/4_object_factory/binding.c+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
|
Collapse file
test/js-native-api/5_function_factory/binding.c
Copy file name to clipboardExpand all lines: test/js-native-api/5_function_factory/binding.c+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
|
Collapse file
test/js-native-api/6_object_wrap/myobject.cc
Copy file name to clipboardExpand all lines: test/js-native-api/6_object_wrap/myobject.cc+30-32Lines changed: 30 additions & 32 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
23 | | - |
| 22 | + |
| 23 | + |
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
| 33 | + |
33 | 34 | |
34 | | - |
| 35 | + |
35 | 36 | |
36 | 37 | |
37 | 38 | |
38 | 39 | |
39 | 40 | |
40 | | - |
| 41 | + |
41 | 42 | |
42 | 43 | |
43 | 44 | |
44 | 45 | |
45 | 46 | |
46 | | - |
| 47 | + |
47 | 48 | |
48 | 49 | |
49 | 50 | |
50 | 51 | |
51 | 52 | |
52 | 53 | |
53 | | - |
| 54 | + |
54 | 55 | |
55 | 56 | |
56 | | - |
| 57 | + |
57 | 58 | |
58 | 59 | |
59 | 60 | |
60 | 61 | |
61 | 62 | |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
| 63 | + |
| 64 | + |
| 65 | + |
68 | 66 | |
69 | 67 | |
70 | 68 | |
| ||
74 | 72 | |
75 | 73 | |
76 | 74 | |
77 | | - |
| 75 | + |
78 | 76 | |
79 | 77 | |
80 | | - |
| 78 | + |
81 | 79 | |
82 | 80 | |
83 | 81 | |
84 | 82 | |
85 | 83 | |
86 | 84 | |
87 | | - |
| 85 | + |
88 | 86 | |
89 | 87 | |
90 | 88 | |
91 | | - |
| 89 | + |
92 | 90 | |
93 | 91 | |
94 | | - |
| 92 | + |
95 | 93 | |
96 | 94 | |
97 | 95 | |
| ||
100 | 98 | |
101 | 99 | |
102 | 100 | |
103 | | - |
| 101 | + |
104 | 102 | |
105 | 103 | |
106 | | - |
| 104 | + |
107 | 105 | |
108 | | - |
| 106 | + |
109 | 107 | |
110 | 108 | |
111 | 109 | |
112 | 110 | |
113 | 111 | |
114 | 112 | |
115 | | - |
| 113 | + |
116 | 114 | |
117 | 115 | |
118 | 116 | |
119 | | - |
| 117 | + |
120 | 118 | |
121 | 119 | |
122 | 120 | |
123 | 121 | |
124 | | - |
| 122 | + |
125 | 123 | |
126 | 124 | |
127 | 125 | |
| ||
130 | 128 | |
131 | 129 | |
132 | 130 | |
133 | | - |
| 131 | + |
134 | 132 | |
135 | 133 | |
136 | 134 | |
137 | | - |
| 135 | + |
138 | 136 | |
139 | 137 | |
140 | 138 | |
141 | | - |
| 139 | + |
142 | 140 | |
143 | 141 | |
144 | | - |
| 142 | + |
145 | 143 | |
146 | 144 | |
147 | 145 | |
148 | | - |
| 146 | + |
149 | 147 | |
150 | 148 | |
151 | | - |
| 149 | + |
152 | 150 | |
153 | 151 | |
154 | 152 | |
|
Collapse file
test/js-native-api/7_factory_wrap/binding.cc
Copy file name to clipboardExpand all lines: test/js-native-api/7_factory_wrap/binding.cc+7-6Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
| 9 | + |
9 | 10 | |
10 | 11 | |
11 | | - |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
15 | 16 | |
16 | 17 | |
17 | 18 | |
18 | | - |
| 19 | + |
19 | 20 | |
20 | 21 | |
21 | | - |
22 | | - |
| 22 | + |
| 23 | + |
23 | 24 | |
24 | 25 | |
25 | | - |
| 26 | + |
26 | 27 | |
27 | 28 | |
28 | 29 | |
|
0 commit comments