Improve date/time marshalling #100
103 passed, 8 failed and 13 skipped
❌ test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
124 tests were completed in 253s with 103 passed, 8 failed and 13 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 2⚪ | 2ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 33✅ | 23s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 8✅ | 8❌ | 188s | |
Microsoft.JavaScript.NodeApi.Test.JSReferenceTests | 4✅ | 2ms | ||
Microsoft.JavaScript.NodeApi.Test.JSValueScopeTests | 19✅ | 18ms | ||
Microsoft.JavaScript.NodeApi.Test.NativeAotTests | 28✅ | 40s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 11⚪ | 11ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 11✅ | 35ms |
✅ Microsoft.JavaScript.NodeApi.Test.GCTests
⚪ GCHandles
⚪ GCObjects
✅ Microsoft.JavaScript.NodeApi.Test.HostedClrTests
✅ Test(id: "edgejs-perf/measure-latency")
✅ Test(id: "napi-dotnet-init/custom_export")
✅ Test(id: "napi-dotnet-init/custom_init")
✅ Test(id: "napi-dotnet/async_methods")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/dynamic_extensions")
✅ Test(id: "napi-dotnet/dynamic_generics")
✅ Test(id: "napi-dotnet/dynamic_invoke")
✅ Test(id: "napi-dotnet/dynamic_no_namespace_type")
✅ Test(id: "napi-dotnet/dynamic_optional_params")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/overloads")
✅ Test(id: "napi-dotnet/streams")
✅ Test(id: "napi-dotnet/thread_safety")
✅ Test(id: "node-addon-api/basic_types/array")
✅ Test(id: "node-addon-api/basic_types/boolean")
✅ Test(id: "node-addon-api/basic_types/number")
✅ Test(id: "node-addon-api/basic_types/value")
✅ Test(id: "node-addon-api/bigint")
✅ Test(id: "node-addon-api/object/delete_property")
✅ Test(id: "node-addon-api/object/finalizer")
✅ Test(id: "node-addon-api/object/get_property")
✅ Test(id: "node-addon-api/object/has_own_property")
✅ Test(id: "node-addon-api/object/has_property")
✅ Test(id: "node-addon-api/object/object_freeze_seal")
✅ Test(id: "node-addon-api/object/object")
✅ Test(id: "node-addon-api/object/set_property")
✅ Test(id: "node-addon-api/object/subscript_operator")
✅ Test(id: "node-addon-api/testUtil")
❌ Microsoft.JavaScript.NodeApi.Test.JSProjectTests
❌ Test(id: "projects/js-cjs-dynamic/default")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-cjs-dynamic-default-build.log
❌ Test(id: "projects/js-cjs-dynamic/net8.0")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-cjs-dynamic-net8.0-build.log
✅ Test(id: "projects/js-cjs-module/default")
✅ Test(id: "projects/js-cjs-module/net8.0")
❌ Test(id: "projects/js-esm-dynamic/default")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-esm-dynamic-default-build.log
❌ Test(id: "projects/js-esm-dynamic/net8.0")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-esm-dynamic-net8.0-build.log
✅ Test(id: "projects/js-esm-module/default")
✅ Test(id: "projects/js-esm-module/net8.0")
❌ Test(id: "projects/ts-cjs-dynamic/default")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-cjs-dynamic-default-build.log
❌ Test(id: "projects/ts-cjs-dynamic/net8.0")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-cjs-dynamic-net8.0-build.log
✅ Test(id: "projects/ts-cjs-module/default")
✅ Test(id: "projects/ts-cjs-module/net8.0")
❌ Test(id: "projects/ts-esm-dynamic/default")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-esm-dynamic-default-build.log
❌ Test(id: "projects/ts-esm-dynamic/net8.0")
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-esm-dynamic-net8.0-build.log
✅ Test(id: "projects/ts-esm-module/default")
✅ Test(id: "projects/ts-esm-module/net8.0")
✅ Microsoft.JavaScript.NodeApi.Test.JSReferenceTests
✅ GetReferenceFromDifferentRootScope
✅ GetReferenceFromDifferentThread
✅ GetReferenceFromParentScope
✅ GetReferenceFromSameScope
✅ Microsoft.JavaScript.NodeApi.Test.JSValueScopeTests
✅ AccessPropertyKeyFromClosedScope
✅ AccessValueFromClosedScope
✅ AccessValueFromDifferentRootScope
✅ AccessValueFromDifferentThread
✅ CreateCallbackScope
✅ CreateEscapableScopeWithinCallback
✅ CreateHandleScopeWithinCallback
✅ CreateHandleScopeWithinModule
✅ CreateHandleScopeWithinRoot
✅ CreateModuleScopeWithinNoContextScope
✅ CreateModuleScopeWithinRootScope
✅ CreateModuleScopeWithoutRoot
✅ CreateNoContextScope
✅ CreateRootScope
✅ CreateValueFromDifferentThread
✅ InvalidCallbackContextScopeNesting
✅ InvalidModuleContextScopeNesting
✅ InvalidNoContextScopeNesting
✅ InvalidRootContextScopeNesting
✅ Microsoft.JavaScript.NodeApi.Test.NativeAotTests
✅ Test(id: "edgejs-perf/measure-latency")
✅ Test(id: "napi-dotnet-init/custom_export")
✅ Test(id: "napi-dotnet-init/custom_init")
✅ Test(id: "napi-dotnet/async_methods")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/overloads")
✅ Test(id: "napi-dotnet/streams")
✅ Test(id: "napi-dotnet/thread_safety")
✅ Test(id: "node-addon-api/basic_types/array")
✅ Test(id: "node-addon-api/basic_types/boolean")
✅ Test(id: "node-addon-api/basic_types/number")
✅ Test(id: "node-addon-api/basic_types/value")
✅ Test(id: "node-addon-api/bigint")
✅ Test(id: "node-addon-api/object/delete_property")
✅ Test(id: "node-addon-api/object/finalizer")
✅ Test(id: "node-addon-api/object/get_property")
✅ Test(id: "node-addon-api/object/has_own_property")
✅ Test(id: "node-addon-api/object/has_property")
✅ Test(id: "node-addon-api/object/object_freeze_seal")
✅ Test(id: "node-addon-api/object/object")
✅ Test(id: "node-addon-api/object/set_property")
✅ Test(id: "node-addon-api/object/subscript_operator")
✅ Test(id: "node-addon-api/testUtil")
✅ Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests
⚪ CallFunction
⚪ ErrorPropagation
⚪ ImportBuiltinModule
⚪ ImportCommonJSModule
⚪ ImportCommonJSPackage
⚪ ImportESModule
⚪ ImportESPackage
⚪ MarshalClass
⚪ RestartEnvironment
⚪ StartEnvironment
⚪ UnhandledRejection
✅ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests
✅ GenerateEnum
✅ GenerateExtensionMethods
✅ GenerateGenericClass
✅ GenerateGenericDelegate
✅ GenerateGenericInterface
✅ GenerateJSDocLink
✅ GenerateSimpleClass
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty
Annotations
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs-dynamic/default")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-cjs-dynamic-default-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-cjs-dynamic-default-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs-dynamic/net8.0")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-cjs-dynamic-net8.0-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-cjs-dynamic-net8.0-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm-dynamic/default")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-esm-dynamic-default-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-esm-dynamic-default-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm-dynamic/net8.0")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-esm-dynamic-net8.0-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\js-esm-dynamic-net8.0-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs-dynamic/default")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-cjs-dynamic-default-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-cjs-dynamic-default-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs-dynamic/net8.0")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-cjs-dynamic-net8.0-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-cjs-dynamic-net8.0-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm-dynamic/default")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-esm-dynamic-default-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-esm-dynamic-default-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 177 in test/JSProjectTests.cs
github-actions / test results (windows-latest, net8.0, node20.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm-dynamic/net8.0")
Failed test found in:
test/net8.0-node20.x-Release/runneradmin_fv-az1489-92_2024-06-20_21_29_05.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-esm-dynamic-net8.0-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net8.0\ts-esm-dynamic-net8.0-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath, String tsConfigFile) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 177
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 50
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)