applying https://github.com/agracio/edge-js/pull/227 #122
84 passed, 67 failed and 0 skipped
❌ mochawesome.json
151 tests were completed in 26s with 84 passed, 67 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
.net returns Func to node.js | 1✔️ | 1❌ | 22ms | |
async call from .net to node.js | 8✔️ | 8❌ | 140ms | |
async call from node.js to .net | 10✔️ | 10❌ | 919ms | |
call patterns | 12✔️ | 13❌ | 610ms | |
delayed call from node.js to .net | 1✔️ | 1❌ | 108ms | |
edge-cs | 25✔️ | 24❌ | 2s | |
edge.func | 21✔️ | 5❌ | 172ms | |
serialization | 1✔️ | 6s | ||
sync call from node.js to .net | 5✔️ | 5❌ | 4ms |
❌ .net returns Func to node.js
.net returns Func to node.js
✔️ [.NET] releases the func
❌ [CoreCLR] releases the func
TypeError: edge.initializeClrFunc is not a function
❌ async call from .net to node.js
async call from .net to node.js
✔️ [.NET] succeeds for hello world
✔️ [.NET] successfuly handles process.nextTick() in JS callback
✔️ [.NET] successfuly marshals data from .net to node.js
✔️ [.NET] successfuly marshals data from node.js to .net
✔️ [.NET] successfuly marshals empty buffer
✔️ [.NET] successfuly marshals object hierarchy from .net to node.js
✔️ [.NET] successfuly marshals v8 exception in callback
✔️ [.NET] successfuly marshals v8 exception on invoking thread
❌ [CoreCLR] succeeds for hello world
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly handles process.nextTick() in JS callback
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals data from .net to node.js
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals data from node.js to .net
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals empty buffer
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals object hierarchy from .net to node.js
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals v8 exception in callback
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals v8 exception on invoking thread
TypeError: edge.initializeClrFunc is not a function
❌ async call from node.js to .net
async call from node.js to .net
✔️ [.NET] succeeds for hello world
✔️ [.NET] successfuly handles process.nextTick in the callback
✔️ [.NET] successfuly marshals .net exception thrown on CLR thread from .net to node.js
✔️ [.NET] successfuly marshals .net exception thrown on v8 thread from .net to node.js
✔️ [.NET] successfuly marshals data from .net to node.js
✔️ [.NET] successfuly marshals data from node.js to .net
✔️ [.NET] successfuly marshals empty buffer
✔️ [.NET] successfuly marshals structured .net exception from .net to node.js
✔️ [.NET] successfuly roundtrips empty string
✔️ [.NET] successfuly roundtrips unicode characters
❌ [CoreCLR] succeeds for hello world
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly handles process.nextTick in the callback
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals .net exception thrown on CLR thread from .net to node.js
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals .net exception thrown on v8 thread from .net to node.js
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals data from .net to node.js
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals data from node.js to .net
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals empty buffer
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals structured .net exception from .net to node.js
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly roundtrips empty string
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly roundtrips unicode characters
TypeError: edge.initializeClrFunc is not a function
❌ call patterns
call patterns
✔️ [.NET] async call to exported .NET lambda
✔️ [.NET] call exported .NET lambda with closure over CLR state
✔️ [.NET] call JS func exported to .NET as a result of calling a JS func from .NET
✔️ [.NET] can deserialize using XmlSerializer
✔️ [.NET] exception when marshaling CLR data to V8 when calling exported JS function
✔️ [.NET] exception when marshaling CLR data to V8 when completing a synchronous call from JS to .NET
✔️ [.NET] exception when marshaling CLR data to V8 when completing an asynchronous call from JS to .NET
✔️ [.NET] large number of concurrent callbacks from C# to JavaScript (issue #39)
✔️ [.NET] successfuly marshals .net exception thrown on CLR thread from exported CLR lambda
✔️ [.NET] successfuly marshals .net exception thrown on V8 thread from exported CLR lambda
✔️ [.NET] sync call to exported .NET lambda
✔️ [.NET] two async callouts each with async callin (issue #22)
❌ [CoreCLR] async call to exported .NET lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] call exported .NET lambda with closure over CLR state
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] call JS func exported to .NET as a result of calling a JS func from .NET
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] can deserialize using XmlSerializer
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] exception when marshaling CLR data to V8 when calling exported JS function
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] exception when marshaling CLR data to V8 when completing a synchronous call from JS to .NET
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] exception when marshaling CLR data to V8 when completing an asynchronous call from JS to .NET
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] large number of concurrent callbacks from C# to JavaScript (issue #39)
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] merged dependencies choose correct version
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals .net exception thrown on CLR thread from exported CLR lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals .net exception thrown on V8 thread from exported CLR lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] sync call to exported .NET lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] two async callouts each with async callin (issue #22)
TypeError: edge.initializeClrFunc is not a function
❌ delayed call from node.js to .net
delayed call from node.js to .net
✔️ [.NET] succeeds for one callback after Task
❌ [CoreCLR] succeeds for one callback after Task
TypeError: edge.initializeClrFunc is not a function
❌ edge-cs
edge-cs
✔️ [.NET] fails when dynamically loading an assembly that doesn't exist
✔️ [.NET] fails when Invoke method is missing
✔️ [.NET] fails when Startup class is missing
✔️ [.NET] fails with a reference to a non-existent assembly without comment in class
✔️ [.NET] fails with malformed class in function
✔️ [.NET] fails with malformed literal lambda
✔️ [.NET] succeeds with class in function
✔️ [.NET] succeeds with cs file with class
✔️ [.NET] succeeds with csx file with class
✔️ [.NET] succeeds with csx file with lambda
✔️ [.NET] succeeds with custom class and method name
✔️ [.NET] succeeds with dictionary input to Invoke method
✔️ [.NET] succeeds with dynamic input to async lambda
✔️ [.NET] succeeds with dynamic input to Invoke method
✔️ [.NET] succeeds with lambda in function
✔️ [.NET] succeeds with literal class
✔️ [.NET] succeeds with literal lambda
✔️ [.NET] succeeds with nested dynamic input to async lambda
✔️ [.NET] succeeds with nested dynamic input to Invoke method
✔️ [.NET] succeeds with System.Data.dll reference and a using statement in async lambda
✔️ [.NET] succeeds with System.Data.dll reference as comment in async lambda
✔️ [.NET] succeeds with System.Data.dll reference as comment in class
✔️ [.NET] succeeds with System.Data.dll reference without comment in async lambda
✔️ [.NET] succeeds with System.Data.dll reference without comment in class
✔️ [CoreCLR] fails when dynamically loading an assembly that doesn't exist
❌ [CoreCLR] fails when Invoke method is missing
AssertionError: Unexpected result
❌ [CoreCLR] fails when Startup class is missing
AssertionError: Unexpected result
❌ [CoreCLR] fails with a reference to a non-existent assembly without comment in class
AssertionError: Unexpected result
❌ [CoreCLR] fails with malformed class in function
AssertionError: Unexpected result
❌ [CoreCLR] fails with malformed literal lambda
AssertionError: Unexpected result
❌ [CoreCLR] succeeds with class in function
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with cs file with class
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with csx file with class
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with csx file with lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with custom class and method name
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with dictionary input to Invoke method
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with dll from nuget package
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with dynamic input to async lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with dynamic input to Invoke method
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with lambda in function
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with literal class
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with literal lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with nested dynamic input to async lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with nested dynamic input to Invoke method
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with System.Data.dll reference and a using statement in async lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with System.Data.dll reference as comment in async lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with System.Data.dll reference as comment in class
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with System.Data.dll reference without comment in async lambda
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with System.Data.dll reference without comment in class
TypeError: edge.initializeClrFunc is not a function
❌ edge.func
edge.func
✔️ [.NET] exists
✔️ [.NET] fails with a unsupported language parameter
✔️ [.NET] fails with a wrong language parameter
✔️ [.NET] fails with a wrong parameter
✔️ [.NET] fails with assemblyFile and nonexisting type name
✔️ [.NET] fails with assemblyFile, type name and nonexisting method name
✔️ [.NET] fails with both assemblyFile or source
✔️ [.NET] fails with missing assemblyFile or source
✔️ [.NET] fails with nonexisting assemblyFile
✔️ [.NET] fails without parameters
✔️ [.NET] succeeds with assemblyFile and type name
✔️ [.NET] succeeds with assemblyFile as options property
✔️ [.NET] succeeds with assemblyFile as string
✔️ [.NET] succeeds with assemblyFile, type name, and method name
✔️ [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
AssertionError: The input did not match the regular expression /Could not load type 'Edge.Tests.idontexist'/. Input:
'TypeError: edge.initializeClrFunc is not a function'
❌ [CoreCLR] fails with assemblyFile, type name and nonexisting method name
AssertionError: The input did not match the regular expression /Unable to access the CLR method to wrap through reflection/. Input:
'TypeError: edge.initializeClrFunc is not a function'
✔️ [CoreCLR] fails with both assemblyFile or source
✔️ [CoreCLR] fails with missing assemblyFile or source
❌ [CoreCLR] fails with nonexisting assemblyFile
AssertionError: The input did not match the regular expression /System.IO.FileNotFoundException/. Input:
'TypeError: edge.initializeClrFunc is not a function'
✔️ [CoreCLR] fails without parameters
❌ [CoreCLR] succeeds with assemblyFile and type name
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds with assemblyFile, type name, and method name
TypeError: edge.initializeClrFunc is not a function
✔️ serialization
serialization
✔️ [.NET] complex exception serialization
❌ sync call from node.js to .net
sync call from node.js to .net
✔️ [.NET] fails if C# method does not complete synchronously
✔️ [.NET] succeeds for hello world
✔️ [.NET] succeeds for hello world when called sync and async
✔️ [.NET] successfuly marshals .net exception thrown on v8 thread from .net to node.js
✔️ [.NET] successfuly marshals data from node.js to .net
❌ [CoreCLR] fails if C# method does not complete synchronously
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds for hello world
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] succeeds for hello world when called sync and async
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals .net exception thrown on v8 thread from .net to node.js
TypeError: edge.initializeClrFunc is not a function
❌ [CoreCLR] successfuly marshals data from node.js to .net
TypeError: edge.initializeClrFunc is not a function
Annotations
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
.net returns Func to node.js ► .net returns Func to node.js ► [CoreCLR] releases the func
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:262:31)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] succeeds for hello world
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:26:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly handles process.nextTick() in JS callback
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:127:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals data from .net to node.js
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:44:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals data from node.js to .net
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:98:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals empty buffer
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:188:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals object hierarchy from .net to node.js
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:82:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals v8 exception in callback
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:166:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals v8 exception on invoking thread
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\103_net2node.js:147:19)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from node.js to .net ► async call from node.js to .net ► [CoreCLR] succeeds for hello world
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\102_node2net.js:16:25)
at process.processImmediate (node:internal/timers:511:21)
Check failure on line 174 in lib/edge.js
github-actions / test-results-windows-2022-node-23
async call from node.js to .net ► async call from node.js to .net ► [CoreCLR] successfuly handles process.nextTick in the callback
Failed test found in:
mochawesome.json
Error:
TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
at exports.func (lib\edge.js:174:17)
at Context.<anonymous> (test\102_node2net.js:184:25)
at process.processImmediate (node:internal/timers:511:21)