Skip to content

updating CI, merging changes from edge-js #94

updating CI, merging changes from edge-js

updating CI, merging changes from edge-js #94

GitHub Actions / test-results-ubuntu-22.04-v32.2.6 succeeded Dec 5, 2024 in 0s

74 passed, 0 failed and 0 skipped

Tests passed successfully

✔️ test/mochawesome-report/mochawesome.json

74 tests were completed in 5s with 74 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
async call from .net to node.js 8✔️ 44ms
async call from node.js to .net 10✔️ 613ms
call patterns 13✔️ 628ms
delayed call from node.js to .net 1✔️ 71ms
edge-cs 25✔️ 3s
edge.func 12✔️ 71ms
sync call from node.js to .net 5✔️ 3ms

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