Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-471-2 a712c843a -> 17e12476d


ignite-471-2: fixed test


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

Branch: refs/heads/ignite-471-2
Commit: 17e12476d1f12baab4c11a6e385a942d8a7283ba
Parents: a712c84
Author: Denis Magda <dma...@gridgain.com>
Authored: Wed Jun 3 15:02:25 2015 +0300
Committer: Denis Magda <dma...@gridgain.com>
Committed: Wed Jun 3 15:02:25 2015 +0300

----------------------------------------------------------------------
 .../cache/IgniteCacheEntryListenerAbstractTest.java   | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/17e12476/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java
index bb449e0..aa24eab 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java
@@ -695,11 +695,11 @@ public abstract class 
IgniteCacheEntryListenerAbstractTest extends IgniteCacheAb
             if (i % 2 == 0)
                 cache.put(key, i + 1);
             else
-                cache.invoke(key, new SetValueProcessor(i + 1));
+                cache.invoke(key, new EntrySetValueProcessor(i + 1));
         }
 
         // Invoke processor does not update value, should not trigger event.
-        assertEquals(String.valueOf(UPDATES), cache.invoke(key, new 
ToStringProcessor()));
+        assertEquals(String.valueOf(UPDATES), cache.invoke(key, new 
EntryToStringProcessor()));
 
         assertFalse(cache.putIfAbsent(key, -1));
 
@@ -1122,7 +1122,7 @@ public abstract class 
IgniteCacheEntryListenerAbstractTest extends IgniteCacheAb
     /**
      *
      */
-    protected static class ToStringProcessor implements 
EntryProcessor<Integer, Integer, String> {
+    protected static class EntryToStringProcessor implements 
EntryProcessor<Integer, Integer, String> {
         /** {@inheritDoc} */
         @Override public String process(MutableEntry<Integer, Integer> e, 
Object... arguments)
             throws EntryProcessorException {
@@ -1131,21 +1131,21 @@ public abstract class 
IgniteCacheEntryListenerAbstractTest extends IgniteCacheAb
 
         /** {@inheritDoc} */
         @Override public String toString() {
-            return S.toString(ToStringProcessor.class, this);
+            return S.toString(EntryToStringProcessor.class, this);
         }
     }
 
     /**
      *
      */
-    protected static class SetValueProcessor implements 
EntryProcessor<Integer, Integer, String> {
+    protected static class EntrySetValueProcessor implements 
EntryProcessor<Integer, Integer, String> {
         /** */
         private Integer val;
 
         /**
          * @param val Value to set.
          */
-        public SetValueProcessor(Integer val) {
+        public EntrySetValueProcessor(Integer val) {
             this.val = val;
         }
 
@@ -1159,7 +1159,7 @@ public abstract class 
IgniteCacheEntryListenerAbstractTest extends IgniteCacheAb
 
         /** {@inheritDoc} */
         @Override public String toString() {
-            return S.toString(SetValueProcessor.class, this);
+            return S.toString(EntrySetValueProcessor.class, this);
         }
     }
 

Reply via email to