org.alfresco.repo.content.caching
Class CachingContentStoreTest
java.lang.Object
org.alfresco.repo.content.caching.CachingContentStoreTest
public class CachingContentStoreTest
- extends java.lang.Object
Tests for the CachingContentStore class. Tests use mock backing store and cache.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingContentStoreTest
public CachingContentStoreTest()
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
getReaderForItemInCache
public void getReaderForItemInCache()
getReaderForItemMissingFromCacheWillGiveUpAfterRetrying
public void getReaderForItemMissingFromCacheWillGiveUpAfterRetrying()
getReaderForItemMissingFromCacheWillRetryAndCanSucceed
public void getReaderForItemMissingFromCacheWillRetryAndCanSucceed()
getReaderForItemMissingFromCacheButNoContentToCache
public void getReaderForItemMissingFromCacheButNoContentToCache()
getWriterWhenNotCacheOnInbound
public void getWriterWhenNotCacheOnInbound()
getWriterWhenCacheOnInbound
public void getWriterWhenCacheOnInbound()
throws org.alfresco.service.cmr.repository.ContentIOException,
java.io.IOException
- Throws:
org.alfresco.service.cmr.repository.ContentIOException
java.io.IOException
exceptionRaisedWhenCopyingTempToBackingStoreIsPropogatedCorrectly
public void exceptionRaisedWhenCopyingTempToBackingStoreIsPropogatedCorrectly()
throws org.alfresco.service.cmr.repository.ContentIOException,
java.io.IOException
- Throws:
org.alfresco.service.cmr.repository.ContentIOException
java.io.IOException
encodingAttrsCopiedToBackingStoreWriter
public void encodingAttrsCopiedToBackingStoreWriter()
delegatedIsContentUrlSupported
public void delegatedIsContentUrlSupported()
delegatedIsWriteSupported
public void delegatedIsWriteSupported()
delegatedGetTotalSize
public void delegatedGetTotalSize()
delegatedGetSpaceUsed
public void delegatedGetSpaceUsed()
delegatedGetSpaceFree
public void delegatedGetSpaceFree()
delegatedGetSpaceTotal
public void delegatedGetSpaceTotal()
delegatedGetRootLocation
public void delegatedGetRootLocation()
delegatedExists
public void delegatedExists()
delegatedGetUrls1
public void delegatedGetUrls1()
delegatedGetUrls2
public void delegatedGetUrls2()
delegatedDelete
public void delegatedDelete()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.