Skip to content

merging from master #52

merging from master

merging from master #52

GitHub Actions / Tests (macos-14, 20.x) succeeded May 8, 2024 in 1s

75 passed, 0 failed and 0 skipped

Tests passed successfully

✔️ mochawesome.json

75 tests were completed in 4s with 75 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
.net returns Func to node.js 1✔️ 7ms
async call from .net to node.js 8✔️ 53ms
async call from node.js to .net 10✔️ 614ms
call patterns 13✔️ 723ms
delayed call from node.js to .net 1✔️ 107ms
edge-cs 25✔️ 3s
edge.func 12✔️ 33ms
sync call from node.js to .net 5✔️ 2ms

✔️ .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

✔️ 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