View Javadoc
1   package com.atlassian.cache.vcache;
2   
3   import com.atlassian.cache.AbstractLazyReferenceTest;
4   import com.atlassian.cache.Cache;
5   
6   import org.junit.Before;
7   import org.junit.Ignore;
8   
9   /**
10   * Test the Delegated Lazy Reference
11   *
12   * @since 2.0
13   */
14  public class DelegatingRemoteCachedReferenceTest extends AbstractLazyReferenceTest
15  {
16      public DelegatingRemoteCachedReferenceTest()
17      {
18          super(CacheType.REMOTE);
19      }
20  
21      @Before
22      public void setUp() throws Exception
23      {
24          factory = TestUtils.createCacheFactory();
25      }
26  
27      @Override
28      protected <K, V> void assertEmpty(Cache<K, V> cache)
29      {
30          // VCache does not allow the size of a remote (external) cache to be obtained.
31      }
32  
33      @Ignore("CACHE-106/CACHE-108: Needs to be fixed (currently hard fails)")
34      @Override
35      public void testResetConcurrentWithLoadLocal()
36      {
37      }
38  }