View Javadoc
1   package com.atlassian.cache.vcache;
2   
3   import com.atlassian.cache.AbstractCacheLazyTest;
4   import com.atlassian.cache.Cache;
5   
6   import org.junit.Before;
7   import org.junit.Ignore;
8   
9   public class DelegatingRemoteCacheLazyTest extends AbstractCacheLazyTest
10  {
11      public DelegatingRemoteCacheLazyTest()
12      {
13          super(CacheType.REMOTE);
14      }
15  
16      @Before
17      public void setUp() throws Exception
18      {
19          factory = TestUtils.createCacheFactory();
20      }
21  
22      @Override
23      protected <K, V> void assertSize(Cache<K, V> cache, int expectedSize)
24      {
25          // VCache does not allow the size of a remote (external) cache to be obtained.
26      }
27  
28      @Override
29      protected <K, V> void assertEmpty(Cache<K, V> cache)
30      {
31          // VCache does not allow the size of a remote (external) cache to be obtained.
32      }
33  
34      @Ignore
35      @Override
36      public void testRemoveConcurrentWithLoaderLocal()
37      {
38          // Not supported
39      }
40  
41      @Ignore
42      @Override
43      public void testRemoveAllConcurrentWithLoaderLocal()
44      {
45          // Not supported
46      }
47  
48      @Ignore
49      @Override
50      public void testRemoveConcurrentWithSupplierLocal()
51      {
52          // Not supported
53      }
54  
55      @Ignore
56      @Override
57      public void testRemoveAllConcurrentWithSupplierLocal()
58      {
59          // Not supported
60      }
61  }