aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Tests/CacheTests.cs
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-11-25 14:13:51 -0500
committerTeravus Ovares (Dan Olivares)2009-11-25 14:13:51 -0500
commitdac9c6fb2360fd46603e08877d57a704eb02e183 (patch)
tree614ef8a4851d69a3fb3a76c7839ef576c234b6e7 /OpenSim/Framework/Tests/CacheTests.cs
parentPatch: Fix a bug in LAND animation when the TickCount wraps into negative num... (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-dac9c6fb2360fd46603e08877d57a704eb02e183.zip
opensim-SC_OLD-dac9c6fb2360fd46603e08877d57a704eb02e183.tar.gz
opensim-SC_OLD-dac9c6fb2360fd46603e08877d57a704eb02e183.tar.bz2
opensim-SC_OLD-dac9c6fb2360fd46603e08877d57a704eb02e183.tar.xz
Merge branch 'master' of ssh://MyConnection/var/git/opensim
Diffstat (limited to 'OpenSim/Framework/Tests/CacheTests.cs')
-rw-r--r--OpenSim/Framework/Tests/CacheTests.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Framework/Tests/CacheTests.cs b/OpenSim/Framework/Tests/CacheTests.cs
index e2afd2a..32c0c95 100644
--- a/OpenSim/Framework/Tests/CacheTests.cs
+++ b/OpenSim/Framework/Tests/CacheTests.cs
@@ -78,8 +78,9 @@ namespace OpenSim.Framework.Tests
78 foo[0] = 1; 78 foo[0] = 1;
79 cachedItem.Store(foo); 79 cachedItem.Store(foo);
80 cache.Store(cacheItemUUID.ToString(), cachedItem); 80 cache.Store(cacheItemUUID.ToString(), cachedItem);
81 81
82 object citem = cache.Get(cacheItemUUID.ToString()); 82 cache.Get(cacheItemUUID.ToString());
83 //object citem = cache.Get(cacheItemUUID.ToString());
83 //Assert.That(citem == null, "Item should not be in Cache because the expiry time was before now"); 84 //Assert.That(citem == null, "Item should not be in Cache because the expiry time was before now");
84 } 85 }
85 86
@@ -94,7 +95,8 @@ namespace OpenSim.Framework.Tests
94 cachedItem.Store(foo); 95 cachedItem.Store(foo);
95 cache.Store(cacheItemUUID.ToString(), cachedItem); 96 cache.Store(cacheItemUUID.ToString(), cachedItem);
96 cache.Invalidate(ImmediateExpiryUUID.ToString()); 97 cache.Invalidate(ImmediateExpiryUUID.ToString());
97 object citem = cache.Get(cacheItemUUID.ToString()); 98 cache.Get(cacheItemUUID.ToString());
99 //object citem = cache.Get(cacheItemUUID.ToString());
98 //Assert.That(citem == null, "Item should not be in Cache because we manually invalidated it"); 100 //Assert.That(citem == null, "Item should not be in Cache because we manually invalidated it");
99 } 101 }
100 102