Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from master #210

Merged
merged 38 commits into from
Jun 1, 2024

Revert "Merge branch 'circleci' into master"

fb092c0
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

merge from master #210

Revert "Merge branch 'circleci' into master"
fb092c0
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests (macos-14, 20.x) succeeded Jun 1, 2024 in 0s

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✔️ 16ms
async call from node.js to .net 10✔️ 667ms
call patterns 13✔️ 676ms
delayed call from node.js to .net 1✔️ 148ms
edge-cs 25✔️ 2s
edge.func 12✔️ 34ms
sync call from node.js to .net 5✔️ 0ms

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