kukushal commented on a change in pull request #7844:
URL: https://github.com/apache/ignite/pull/7844#discussion_r431064867



##########
File path: 
modules/platforms/dotnet/Apache.Ignite.Core.Tests/Services/ServicesTest.cs
##########
@@ -859,18 +903,28 @@ public void TestCallJavaService()
             Assert.AreEqual(7, svc.testBinarizable(new 
PlatformComputeBinarizable {Field = 6}).Field);
 
             // Binary collections
-            var arr = new [] {10, 11, 12}.Select(x => new 
PlatformComputeBinarizable {Field = x}).ToArray<object>();
+            var arr  = new[] {10, 11, 12}.Select(x => new 
PlatformComputeBinarizable {Field = x}).ToArray();
+            var arrOfObj = arr.ToArray<object>();
+
             Assert.AreEqual(new[] {11, 12, 13}, 
svc.testBinarizableCollection(arr)
                 .OfType<PlatformComputeBinarizable>().Select(x => 
x.Field).ToArray());
-            Assert.AreEqual(new[] {11, 12, 13},
-                
svc.testBinarizableArray(arr).OfType<PlatformComputeBinarizable>().Select(x => 
x.Field).ToArray());
+
+            Assert.AreEqual(new[] {11, 12, 13}, 
svc.testBinarizableArrayOfObjects(arrOfObj)
+                .OfType<PlatformComputeBinarizable>().Select(x => 
x.Field).ToArray());
+
+            Assert.IsNull(svc.testBinarizableArrayOfObjects(null));
+
+            Assert.AreEqual(new[] {11, 12, 13}, svc.testBinarizableArray(arr)

Review comment:
       Please do the same in "keep binary" mode. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to