You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Components/test/E2ETest/Tests/InteropTest.cs
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -55,10 +55,13 @@ public void CanInvokeDotNetMethods()
55
55
["result7Async"]=@"[{""id"":6,""isValid"":true,""data"":{""source"":""Some random text with at least 6 characters"",""start"":6,""length"":6}},6,123,24,48,6.25]",
56
56
["result8Async"]=@"[{""id"":7,""isValid"":false,""data"":{""source"":""Some random text with at least 7 characters"",""start"":7,""length"":7}},7,123,28,56,7.25,[0.5,1.5,2.5,3.5,4.5,5.5,6.5]]",
57
57
["result9Async"]=@"[{""id"":8,""isValid"":true,""data"":{""source"":""Some random text with at least 8 characters"",""start"":8,""length"":8}},8,123,32,64,8.25,[0.5,1.5,2.5,3.5,4.5,5.5,6.5,7.5],{""source"":""Some random text with at least 7 characters"",""start"":9,""length"":9}]",
["asyncGenericInstanceMethod"]=@"""Updated value 1""",
74
81
};
@@ -93,13 +100,16 @@ public void CanInvokeDotNetMethods()
93
100
["result7"]=@"[{""id"":6,""isValid"":true,""data"":{""source"":""Some random text with at least 6 characters"",""start"":6,""length"":6}},6,123,24,48,6.25]",
94
101
["result8"]=@"[{""id"":7,""isValid"":false,""data"":{""source"":""Some random text with at least 7 characters"",""start"":7,""length"":7}},7,123,28,56,7.25,[0.5,1.5,2.5,3.5,4.5,5.5,6.5]]",
95
102
["result9"]=@"[{""id"":8,""isValid"":true,""data"":{""source"":""Some random text with at least 8 characters"",""start"":8,""length"":8}},8,123,32,64,8.25,[0.5,1.5,2.5,3.5,4.5,5.5,6.5,7.5],{""source"":""Some random text with at least 7 characters"",""start"":9,""length"":9}]",
103
+
["roundTripJSObjectReference"]=@"""successful""",
104
+
["invokeDisposedJSObjectReferenceException"]=@"""JS object instance with ID",
96
105
["ThrowException"]=@"""System.InvalidOperationException: Threw an exception!",
97
106
["ExceptionFromSyncMethod"]="Function threw an exception!",
0 commit comments