ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [33/50] ignite git commit: wip
Date Wed, 13 Apr 2016 14:53:32 GMT
wip


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e6879ca8
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e6879ca8
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e6879ca8

Branch: refs/heads/ignite-2977
Commit: e6879ca85b13969b0a173862f54296e1566071b8
Parents: 44430e5
Author: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Authored: Wed Apr 13 13:57:24 2016 +0300
Committer: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Committed: Wed Apr 13 13:57:24 2016 +0300

----------------------------------------------------------------------
 .../ignite/platform/PlatformCacheEntryEventFilter.java      | 4 ++++
 .../Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs | 9 ++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e6879ca8/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
index 7bc2368..57e6511 100644
--- a/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
+++ b/modules/core/src/test/java/org/apache/ignite/platform/PlatformCacheEntryEventFilter.java
@@ -142,8 +142,12 @@ public class PlatformCacheEntryEventFilter implements CacheEntryEventSerializabl
         assert "11.245".equals(decimalField.toString());
         assert boolField;
 
+        // check arrays
+
         // check binary object
         assert objField != null && objField.field("Int") == 1 && "2".equals(objField.field("String"));
+        assert objArr != null && objArr.length == 1 &&
+            objArr[0].field("Int") == 1 && "2".equals(objArr[0].field("String"));
 
         return ((String)event.getValue()).startsWith(startsWith);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/e6879ca8/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
index d264f95..006447e 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryJavaFilterTest.cs
@@ -136,10 +136,13 @@ namespace Apache.Ignite.Core.Tests.Cache.Query.Continuous
                     {"decimalArr", new[] {(decimal) 11.245}},
                     {"boolArr", new[] {true}},
                     {
-                        "objField", new TestBinary
+                        "objArr", new object[]
                         {
-                            Int = 1,
-                            String = "2"
+                            new TestBinary
+                            {
+                                Int = 1,
+                                String = "2"
+                            }
                         }
                     }
                 }


Mime
View raw message