Home
last modified time | relevance | path

Searched refs:test_reference (Results 1 – 11 of 11) sorted by relevance

/third_party/node/test/js-native-api/test_reference/
Dtest.js7 const test_reference = require(`./build/${buildType}/test_reference`); constant
12 assert.strictEqual(test_reference.finalizeCount, 0);
18 const symbol = test_reference.createSymbol('testSym');
19 test_reference.createReference(symbol, 0);
20 assert.strictEqual(test_reference.referenceValue, symbol);
22 test_reference.deleteReference();
25 const value = test_reference.createExternal();
26 assert.strictEqual(test_reference.finalizeCount, 0);
28 test_reference.checkExternal(value);
31 () => (test_reference.finalizeCount === 0));
[all …]
Dtest_reference.c8 static napi_ref test_reference = NULL; variable
88 NAPI_ASSERT(env, test_reference == NULL, in CreateReference()
100 napi_create_reference(env, args[0], initial_refcount, &test_reference)); in CreateReference()
102 NAPI_ASSERT(env, test_reference != NULL, in CreateReference()
109 NAPI_ASSERT(env, test_reference != NULL, in DeleteReference()
112 NAPI_CALL(env, napi_delete_reference(env, test_reference)); in DeleteReference()
113 test_reference = NULL; in DeleteReference()
118 NAPI_ASSERT(env, test_reference != NULL, in IncrementRefcount()
122 NAPI_CALL(env, napi_reference_ref(env, test_reference, &refcount)); in IncrementRefcount()
130 NAPI_ASSERT(env, test_reference != NULL, in DecrementRefcount()
[all …]
Dbinding.gyp4 "target_name": "test_reference",
7 "test_reference.c"
/third_party/boost/libs/align/test/
Dalignment_of_test.cpp82 void test_reference() in test_reference() function
95 test_reference<T>(); in test_array()
96 test_reference<T[2]>(); in test_array()
/third_party/boost/libs/range/test/
Dreference.cpp25 void test_reference() in test_reference() function
58 test->add(BOOST_TEST_CASE(&boost_range_test::test_reference)); in init_unit_test_suite()
/third_party/boost/libs/io/test/
Dostream_joiner_test.cpp55 void test_reference() in test_reference() function
110 test_reference(); in main()
/third_party/boost/libs/accumulators/test/
Dexternal_accumulator.cpp51 void test_reference() in test_reference() function
125 test->add(BOOST_TEST_CASE(&test_reference)); in init_unit_test_suite()
/third_party/boost/libs/type_erasure/test/
Dtest_increment.cpp41 BOOST_AUTO_TEST_CASE(test_reference) in BOOST_AUTO_TEST_CASE() argument
DJamfile.jam17 run test_reference.cpp /boost//unit_test_framework ;
/third_party/boost/libs/core/test/
Ddefault_allocator_test.cpp61 void test_reference() in test_reference() function
252 test_reference(); in main()
/third_party/node/doc/changelogs/
DCHANGELOG_V8.md4925 …ps://github.com/nodejs/node/commit/0a734fec88)] - **test**: fix napi test_reference for recent V8 …