You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/09/15 08:00:47 UTC

[13/46] ignite git commit: Removed several obsolete .Net tests.

Removed several obsolete .Net tests.


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

Branch: refs/heads/master
Commit: a66400aa5adc48e465435ff77814789b9947c42e
Parents: 12b0f2b
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Fri Sep 11 15:24:27 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Fri Sep 11 15:24:27 2015 +0300

----------------------------------------------------------------------
 .../Cache/CacheAbstractTest.cs                  | 71 +-------------------
 1 file changed, 1 insertion(+), 70 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a66400aa/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs b/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
index 24d2b73..6af877e 100644
--- a/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
+++ b/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
@@ -2467,76 +2467,7 @@ namespace Apache.Ignite.Core.Tests.Cache
 
             Assert.IsNull(err);
         }
-
-        //// TODO [Test]
-        //public void TestCacheEntryGetSetRemove()
-        //{
-        //    TestCacheEntryGetSetRemove(false);
-        //}
-
-        //// TODO [Test]
-        //public void TestCacheEntryGetSetRemoveAsync()
-        //{
-        //    TestCacheEntryGetSetRemove(true);
-        //}
-
-        //private void TestCacheEntryGetSetRemove(bool async)
-        //{
-        //    IGridCache cache = Cache();
-
-        //    int key = PrimaryKeyForCache(cache);
-
-        //    IGridCacheEntry<int, int> e = cache.Entry(key);
-
-        //    Assert.IsNotNull(e);
-
-        //    if (async)
-        //    {
-        //        IGridFuture<int> fut = e.GetAsync();
-
-        //        Assert.IsNull(fut.Result);
-
-        //        Assert.IsTrue(fut.IsDone);
-
-        //        fut = e.SetAsync(10);
-
-        //        Assert.IsNull(fut.Result);
-
-        //        Assert.IsTrue(fut.IsDone);
-
-        //        fut = e.GetAsync();
-
-        //        Assert.AreEqual(10, fut.Result);
-
-        //        Assert.IsTrue(fut.IsDone);
-        //    }
-        //    else
-        //    {
-        //        Assert.IsNull(e.Get());
-
-        //        Assert.IsNull(e.Set(10));
-
-        //        Assert.AreEqual(10, e.Get());
-        //    }
-
-        //    Assert.AreEqual(10, cache.Get(key));
-
-        //    if (async)
-        //    {
-        //        IGridFuture<int> fut = e.RemoveAsync();
-
-        //        Assert.AreEqual(10, fut.Result);
-
-        //        Assert.IsTrue(fut.IsDone);
-        //    }
-        //    else
-        //        Assert.AreEqual(10, e.Remove());
-
-        //    Assert.IsNull(e.Get());
-
-        //    Assert.IsNull(cache.Get(key));
-        //}
-
+        
         /**
          * Test tries to provoke garbage collection for .Net future before it was completed to verify
          * futures pinning works.