Skip to content

merge master

merge master #146

GitHub Actions / test-results-macos-13-node-18 succeeded Dec 24, 2024 in 1s

78 passed, 0 failed and 0 skipped

Tests passed successfully

✔️ mochawesome.json

78 tests were completed in 9s with 78 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
.net returns Func to node.js 1✔️ 9ms
async call from .net to node.js 8✔️ 32ms
async call from node.js to .net 10✔️ 594ms
call patterns 13✔️ 614ms
delayed call from node.js to .net 1✔️ 93ms
edge-cs 25✔️ 8s
edge.func 12✔️ 68ms
node.js to .net dll from path with asian chracters 3✔️ 32ms
sync call from node.js to .net 5✔️ 3ms

✔️ .net returns Func to node.js

.net returns Func to node.js
  ✔️ [CoreCLR] releases the func

✔️ async call from .net to node.js

async call from .net to node.js
  ✔️ [CoreCLR] succeeds for hello world
  ✔️ [CoreCLR] successfuly handles process.nextTick() in JS callback
  ✔️ [CoreCLR] successfuly marshals data from .net to node.js
  ✔️ [CoreCLR] successfuly marshals data from node.js to .net
  ✔️ [CoreCLR] successfuly marshals empty buffer
  ✔️ [CoreCLR] successfuly marshals object hierarchy from .net to node.js
  ✔️ [CoreCLR] successfuly marshals v8 exception in callback
  ✔️ [CoreCLR] successfuly marshals v8 exception on invoking thread

✔️ async call from node.js to .net

async call from node.js to .net
  ✔️ [CoreCLR] succeeds for hello world
  ✔️ [CoreCLR] successfuly handles process.nextTick in the callback
  ✔️ [CoreCLR] successfuly marshals .net exception thrown on CLR thread from .net to node.js
  ✔️ [CoreCLR] successfuly marshals .net exception thrown on v8 thread from .net to node.js
  ✔️ [CoreCLR] successfuly marshals data from .net to node.js
  ✔️ [CoreCLR] successfuly marshals data from node.js to .net
  ✔️ [CoreCLR] successfuly marshals empty buffer
  ✔️ [CoreCLR] successfuly marshals structured .net exception from .net to node.js
  ✔️ [CoreCLR] successfuly roundtrips empty string
  ✔️ [CoreCLR] successfuly roundtrips unicode characters

✔️ call patterns

call patterns
  ✔️ [CoreCLR] async call to exported .NET lambda
  ✔️ [CoreCLR] call exported .NET lambda with closure over CLR state
  ✔️ [CoreCLR] call JS func exported to .NET as a result of calling a JS func from .NET
  ✔️ [CoreCLR] can deserialize using XmlSerializer
  ✔️ [CoreCLR] exception when marshaling CLR data to V8 when calling exported JS function
  ✔️ [CoreCLR] exception when marshaling CLR data to V8 when completing a synchronous call from JS to .NET
  ✔️ [CoreCLR] exception when marshaling CLR data to V8 when completing an asynchronous call from JS to .NET
  ✔️ [CoreCLR] large number of concurrent callbacks from C# to JavaScript (issue #39)
  ✔️ [CoreCLR] merged dependencies choose correct version
  ✔️ [CoreCLR] successfuly marshals .net exception thrown on CLR thread from exported CLR lambda
  ✔️ [CoreCLR] successfuly marshals .net exception thrown on V8 thread from exported CLR lambda
  ✔️ [CoreCLR] sync call to exported .NET lambda
  ✔️ [CoreCLR] two async callouts each with async callin (issue #22)

✔️ delayed call from node.js to .net

delayed call from node.js to .net
  ✔️ [CoreCLR] succeeds for one callback after Task

✔️ edge-cs

edge-cs
  ✔️ [CoreCLR] fails when dynamically loading an assembly that doesn't exist
  ✔️ [CoreCLR] fails when Invoke method is missing
  ✔️ [CoreCLR] fails when Startup class is missing
  ✔️ [CoreCLR] fails with a reference to a non-existent assembly without comment in class
  ✔️ [CoreCLR] fails with malformed class in function
  ✔️ [CoreCLR] fails with malformed literal lambda
  ✔️ [CoreCLR] succeeds with class in function
  ✔️ [CoreCLR] succeeds with cs file with class
  ✔️ [CoreCLR] succeeds with csx file with class
  ✔️ [CoreCLR] succeeds with csx file with lambda
  ✔️ [CoreCLR] succeeds with custom class and method name
  ✔️ [CoreCLR] succeeds with dictionary input to Invoke method
  ✔️ [CoreCLR] succeeds with dll from nuget package
  ✔️ [CoreCLR] succeeds with dynamic input to async lambda
  ✔️ [CoreCLR] succeeds with dynamic input to Invoke method
  ✔️ [CoreCLR] succeeds with lambda in function
  ✔️ [CoreCLR] succeeds with literal class
  ✔️ [CoreCLR] succeeds with literal lambda
  ✔️ [CoreCLR] succeeds with nested dynamic input to async lambda
  ✔️ [CoreCLR] succeeds with nested dynamic input to Invoke method
  ✔️ [CoreCLR] succeeds with System.Data.dll reference and a using statement in async lambda
  ✔️ [CoreCLR] succeeds with System.Data.dll reference as comment in async lambda
  ✔️ [CoreCLR] succeeds with System.Data.dll reference as comment in class
  ✔️ [CoreCLR] succeeds with System.Data.dll reference without comment in async lambda
  ✔️ [CoreCLR] succeeds with System.Data.dll reference without comment in class

✔️ edge.func

edge.func
  ✔️ [CoreCLR] exists
  ✔️ [CoreCLR] fails with a unsupported language parameter
  ✔️ [CoreCLR] fails with a wrong language parameter
  ✔️ [CoreCLR] fails with a wrong parameter
  ✔️ [CoreCLR] fails with assemblyFile and nonexisting type name
  ✔️ [CoreCLR] fails with assemblyFile, type name and nonexisting method name
  ✔️ [CoreCLR] fails with both assemblyFile or source
  ✔️ [CoreCLR] fails with missing assemblyFile or source
  ✔️ [CoreCLR] fails with nonexisting assemblyFile
  ✔️ [CoreCLR] fails without parameters
  ✔️ [CoreCLR] succeeds with assemblyFile and type name
  ✔️ [CoreCLR] succeeds with assemblyFile, type name, and method name

✔️ node.js to .net dll from path with asian chracters

node.js to .net dll from path with asian chracters
  ✔️ [CoreCLR] succeeds for hello world
  ✔️ [CoreCLR] successfuly marshals data from .net to node.js
  ✔️ [CoreCLR] successfuly marshals data from node.js to .net

✔️ sync call from node.js to .net

sync call from node.js to .net
  ✔️ [CoreCLR] fails if C# method does not complete synchronously
  ✔️ [CoreCLR] succeeds for hello world
  ✔️ [CoreCLR] succeeds for hello world when called sync and async
  ✔️ [CoreCLR] successfuly marshals .net exception thrown on v8 thread from .net to node.js
  ✔️ [CoreCLR] successfuly marshals data from node.js to .net