diff options
Diffstat (limited to 'test_napi')
46 files changed, 46 insertions, 46 deletions
diff --git a/test_napi/Cargo.toml b/test_napi/Cargo.toml index 24042b6f8..611d6d550 100644 --- a/test_napi/Cargo.toml +++ b/test_napi/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. [package] name = "test_napi" diff --git a/test_napi/array_test.js b/test_napi/array_test.js index 1c9956188..572d3a899 100644 --- a/test_napi/array_test.js +++ b/test_napi/array_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/arraybuffer_test.js b/test_napi/arraybuffer_test.js index 3e4e3c6c1..f55b9a78c 100644 --- a/test_napi/arraybuffer_test.js +++ b/test_napi/arraybuffer_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/async_test.js b/test_napi/async_test.js index f48d3d754..4d9ad99c2 100644 --- a/test_napi/async_test.js +++ b/test_napi/async_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/bigint_test.js b/test_napi/bigint_test.js index 8d05f957d..4a9ada205 100644 --- a/test_napi/bigint_test.js +++ b/test_napi/bigint_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, loadTestLibrary } from "./common.js"; diff --git a/test_napi/build.rs b/test_napi/build.rs index 2255820e6..c2fe86a53 100644 --- a/test_napi/build.rs +++ b/test_napi/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. extern crate napi_build; diff --git a/test_napi/callback_test.js b/test_napi/callback_test.js index c97814312..98622d48d 100644 --- a/test_napi/callback_test.js +++ b/test_napi/callback_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/cleanup_hook_test.js b/test_napi/cleanup_hook_test.js index 30ceae470..bca3921a5 100644 --- a/test_napi/cleanup_hook_test.js +++ b/test_napi/cleanup_hook_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/coerce_test.js b/test_napi/coerce_test.js index 158d32f68..64f014801 100644 --- a/test_napi/coerce_test.js +++ b/test_napi/coerce_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/common.js b/test_napi/common.js index 6ed9c63a0..71ac3f0bb 100644 --- a/test_napi/common.js +++ b/test_napi/common.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. export { assert, diff --git a/test_napi/date_test.js b/test_napi/date_test.js index 8bae30406..49eec5cca 100644 --- a/test_napi/date_test.js +++ b/test_napi/date_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/env_test.js b/test_napi/env_test.js index 0d509d6d6..72b868a66 100644 --- a/test_napi/env_test.js +++ b/test_napi/env_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, loadTestLibrary } from "./common.js"; diff --git a/test_napi/error_test.js b/test_napi/error_test.js index 884a226a4..57acde5c1 100644 --- a/test_napi/error_test.js +++ b/test_napi/error_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, diff --git a/test_napi/init_test.js b/test_napi/init_test.js index 633fdbb61..5f2507876 100644 --- a/test_napi/init_test.js +++ b/test_napi/init_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, libSuffix } from "./common.js"; diff --git a/test_napi/make_callback_test.js b/test_napi/make_callback_test.js index 63ab18810..b1f7912ae 100644 --- a/test_napi/make_callback_test.js +++ b/test_napi/make_callback_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/mem_test.js b/test_napi/mem_test.js index bdbd395d3..bee8c194e 100644 --- a/test_napi/mem_test.js +++ b/test_napi/mem_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, loadTestLibrary } from "./common.js"; diff --git a/test_napi/numbers_test.js b/test_napi/numbers_test.js index 869fd2eae..8a99c831d 100644 --- a/test_napi/numbers_test.js +++ b/test_napi/numbers_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/object_wrap_test.js b/test_napi/object_wrap_test.js index 3466c39e4..f79fd08f8 100644 --- a/test_napi/object_wrap_test.js +++ b/test_napi/object_wrap_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/promise_test.js b/test_napi/promise_test.js index ca2d1ae9b..e4bbfee6b 100644 --- a/test_napi/promise_test.js +++ b/test_napi/promise_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, loadTestLibrary } from "./common.js"; diff --git a/test_napi/properties_test.js b/test_napi/properties_test.js index b5f0c0794..21a3555e8 100644 --- a/test_napi/properties_test.js +++ b/test_napi/properties_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/src/array.rs b/test_napi/src/array.rs index 065436df4..6df420eb5 100644 --- a/test_napi/src/array.rs +++ b/test_napi/src/array.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/arraybuffer.rs b/test_napi/src/arraybuffer.rs index 8d6f756bf..8402f5d86 100644 --- a/test_napi/src/arraybuffer.rs +++ b/test_napi/src/arraybuffer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/async.rs b/test_napi/src/async.rs index 970d34ce1..3d3827b51 100644 --- a/test_napi/src/async.rs +++ b/test_napi/src/async.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/bigint.rs b/test_napi/src/bigint.rs index e901e342a..d86782331 100644 --- a/test_napi/src/bigint.rs +++ b/test_napi/src/bigint.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::cstr; diff --git a/test_napi/src/callback.rs b/test_napi/src/callback.rs index ae917e7b1..8909f5176 100644 --- a/test_napi/src/callback.rs +++ b/test_napi/src/callback.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/coerce.rs b/test_napi/src/coerce.rs index 80ee5aea1..a40578384 100644 --- a/test_napi/src/coerce.rs +++ b/test_napi/src/coerce.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/date.rs b/test_napi/src/date.rs index 8926fe514..4d3c155c3 100644 --- a/test_napi/src/date.rs +++ b/test_napi/src/date.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/env.rs b/test_napi/src/env.rs index c91bc5883..ebc6532a3 100644 --- a/test_napi/src/env.rs +++ b/test_napi/src/env.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/error.rs b/test_napi/src/error.rs index bbbbab46f..e0d79c836 100644 --- a/test_napi/src/error.rs +++ b/test_napi/src/error.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::cstr; diff --git a/test_napi/src/finalizer.rs b/test_napi/src/finalizer.rs index 538f9599e..9769e775e 100644 --- a/test_napi/src/finalizer.rs +++ b/test_napi/src/finalizer.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/lib.rs b/test_napi/src/lib.rs index 9342656fd..b9f93fbd6 100644 --- a/test_napi/src/lib.rs +++ b/test_napi/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. #![allow(clippy::all)] #![allow(clippy::undocumented_unsafe_blocks)] diff --git a/test_napi/src/make_callback.rs b/test_napi/src/make_callback.rs index c8d2b3342..945df3452 100644 --- a/test_napi/src/make_callback.rs +++ b/test_napi/src/make_callback.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::cstr; diff --git a/test_napi/src/mem.rs b/test_napi/src/mem.rs index dde4418cb..ebb6a5c7a 100644 --- a/test_napi/src/mem.rs +++ b/test_napi/src/mem.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_new_property; diff --git a/test_napi/src/numbers.rs b/test_napi/src/numbers.rs index 829dd24c5..777ccbfac 100644 --- a/test_napi/src/numbers.rs +++ b/test_napi/src/numbers.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/object_wrap.rs b/test_napi/src/object_wrap.rs index 5a6e36589..d04107cf0 100644 --- a/test_napi/src/object_wrap.rs +++ b/test_napi/src/object_wrap.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/primitives.rs b/test_napi/src/primitives.rs index e29c7c368..28fb8ec3d 100644 --- a/test_napi/src/primitives.rs +++ b/test_napi/src/primitives.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_new_property; diff --git a/test_napi/src/promise.rs b/test_napi/src/promise.rs index d6da684ba..82cd7a160 100644 --- a/test_napi/src/promise.rs +++ b/test_napi/src/promise.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/properties.rs b/test_napi/src/properties.rs index 339699a05..43bef1949 100644 --- a/test_napi/src/properties.rs +++ b/test_napi/src/properties.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::cstr; diff --git a/test_napi/src/strings.rs b/test_napi/src/strings.rs index 70faa640d..301ab23df 100644 --- a/test_napi/src/strings.rs +++ b/test_napi/src/strings.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/symbol.rs b/test_napi/src/symbol.rs index 5f404d590..6387d449f 100644 --- a/test_napi/src/symbol.rs +++ b/test_napi/src/symbol.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/src/tsfn.rs b/test_napi/src/tsfn.rs index 9ac577c5b..dabc96f83 100644 --- a/test_napi/src/tsfn.rs +++ b/test_napi/src/tsfn.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. // This test performs initialization similar to napi-rs. // https://github.com/napi-rs/napi-rs/commit/a5a04a4e545f268769cc78e2bd6c45af4336aac3 diff --git a/test_napi/src/typedarray.rs b/test_napi/src/typedarray.rs index 3850fb571..b512bd32f 100644 --- a/test_napi/src/typedarray.rs +++ b/test_napi/src/typedarray.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use crate::assert_napi_ok; use crate::napi_get_callback_info; diff --git a/test_napi/strings_test.js b/test_napi/strings_test.js index e2e3cb647..45cb133b2 100644 --- a/test_napi/strings_test.js +++ b/test_napi/strings_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/symbol_test.js b/test_napi/symbol_test.js index 00c3edda2..d8edec023 100644 --- a/test_napi/symbol_test.js +++ b/test_napi/symbol_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, loadTestLibrary } from "./common.js"; diff --git a/test_napi/tests/napi_tests.rs b/test_napi/tests/napi_tests.rs index 0b0c9d311..ce47b1e99 100644 --- a/test_napi/tests/napi_tests.rs +++ b/test_napi/tests/napi_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. use std::process::Command; use test_util::deno_cmd; diff --git a/test_napi/typedarray_test.js b/test_napi/typedarray_test.js index 7a60a3ab4..25729754a 100644 --- a/test_napi/typedarray_test.js +++ b/test_napi/typedarray_test.js @@ -1,4 +1,4 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, loadTestLibrary } from "./common.js"; |