0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/test/cctest
Daniel Bevenius 90ae4bd0c9
src: add InitializeV8Platform function
This commit adds an InitializeV8Platform function which calls
v8_platform's Initialize to create the NodePlatform and also set the
structs members.

When running cctests this functions was not being called (it is called
from the Start function but that function is not called by the test
fixture.

The motivation for adding this is that I'm guessing that embedders
would might need the ability to do the same thing.

Refs: https://github.com/nodejs/node-v8/issues/69

PR-URL: https://github.com/nodejs/node/pull/21983
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-09-07 21:07:29 +02:00
..
node_test_fixture.cc test: use aliases for smart pointers in fixture 2018-06-27 05:19:56 +02:00
node_test_fixture.h src: add InitializeV8Platform function 2018-09-07 21:07:29 +02:00
test_aliased_buffer.cc
test_base64.cc
test_environment.cc
test_inspector_socket_server.cc inspector: split main thread interface from transport 2018-07-13 23:42:50 +02:00
test_inspector_socket.cc
test_node_postmortem_metadata.cc src: rename PROVIDER_FSREQWRAP to PROVIDER_FSREQCALLBACK 2018-08-01 15:07:14 -04:00
test_platform.cc
test_traced_value.cc trace_events: add traced_value.cc/traced_value.h 2018-07-12 10:32:26 -07:00
test_url.cc test: fix cctest URLTest.ToFilePath on Win32 without Intl 2018-08-16 15:16:22 -07:00
test_util.cc