Searched refs:hook_result (Results 1 – 4 of 4) sorted by relevance
/third_party/node/test/node-api/test_make_callback/ |
D | test-async-hooks.js | 10 const hook_result = { variable 20 hook_result.id = id; 21 hook_result.init_called = true; 25 if (id === hook_result.id) hook_result.before_called = true; 28 if (id === hook_result.id) hook_result.after_called = true; 31 if (id === hook_result.id) hook_result.destroy_called = true; 47 assert.strictEqual(hook_result.init_called, true); 48 assert.strictEqual(hook_result.before_called, true); 49 assert.strictEqual(hook_result.after_called, true); 51 assert.strictEqual(hook_result.destroy_called, true);
|
/third_party/node/test/node-api/test_async_context/ |
D | test.js | 13 const hook_result = { variable 23 hook_result.id = id; 24 hook_result.init_called = true; 25 hook_result.resource = resource; 29 if (id === hook_result.id) hook_result.destroy_called = true; 41 assert.strictEqual(hook_result.destroy_called, false); 44 assert.strictEqual(hook_result.destroy_called, false); 46 hook_result.resource, 52 assert.strictEqual(hook_result.destroy_called, false); 54 hook_result.resource, [all …]
|
D | test-gcable-callback.js | 16 const hook_result = { variable 25 hook_result.id = id; 26 hook_result.init_called = true; 30 if (id === hook_result.id) hook_result.destroy_called = true; 48 assert.strictEqual(hook_result.destroy_called, false); 50 assert.strictEqual(hook_result.destroy_called, false); 62 assert.strictEqual(hook_result.destroy_called, true);
|
D | test-gcable.js | 12 const hook_result = { variable 21 hook_result.id = id; 22 hook_result.init_called = true; 26 if (id === hook_result.id) hook_result.destroy_called = true; 41 assert.strictEqual(hook_result.destroy_called, false); 43 assert.strictEqual(hook_result.destroy_called, true);
|