diff options
author | root | 2009-11-26 20:41:38 +0100 |
---|---|---|
committer | root | 2009-11-26 20:41:38 +0100 |
commit | 2c3f6aaa878b5458eeeab8544226ff53b7172f5a (patch) | |
tree | 48941505962693508016fafb479c2baaf1b3568f /OpenSim/Framework/Tests | |
parent | First attempt at mult-sit on large single prims. (diff) | |
parent | Remove OS version crap from about dialog (diff) | |
download | opensim-SC-2c3f6aaa878b5458eeeab8544226ff53b7172f5a.zip opensim-SC-2c3f6aaa878b5458eeeab8544226ff53b7172f5a.tar.gz opensim-SC-2c3f6aaa878b5458eeeab8544226ff53b7172f5a.tar.bz2 opensim-SC-2c3f6aaa878b5458eeeab8544226ff53b7172f5a.tar.xz |
Merge branch 'careminster' into tests
Diffstat (limited to 'OpenSim/Framework/Tests')
-rw-r--r-- | OpenSim/Framework/Tests/CacheTests.cs | 8 |
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 | ||