org.alfresco.repo.content.caching
Class ContentCacheImplTest

java.lang.Object
  extended by org.alfresco.repo.content.caching.ContentCacheImplTest

public class ContentCacheImplTest
extends java.lang.Object

Tests for the ContentCacheImpl class.


Constructor Summary
ContentCacheImplTest()
           
 
Method Summary
 void canGetReaderForItemInCacheHavingLiveFile()
           
 void contains()
           
 void getCacheFilePath()
           
 void getContentUrl()
           
 void getReaderForItemInCacheButMissingContentFile()
           
 void getReaderWhenItemNotInCache()
           
 void getWriter()
           
 void putForNonEmptyFile()
           
 void putForZeroLengthFile()
           
 void putIntoLookup()
           
 void remove()
           
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentCacheImplTest

public ContentCacheImplTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

canGetReaderForItemInCacheHavingLiveFile

public void canGetReaderForItemInCacheHavingLiveFile()

getReaderForItemInCacheButMissingContentFile

public void getReaderForItemInCacheButMissingContentFile()

getReaderWhenItemNotInCache

public void getReaderWhenItemNotInCache()

contains

public void contains()

putIntoLookup

public void putIntoLookup()

getCacheFilePath

public void getCacheFilePath()

getContentUrl

public void getContentUrl()

putForZeroLengthFile

public void putForZeroLengthFile()

putForNonEmptyFile

public void putForNonEmptyFile()

remove

public void remove()

getWriter

public void getWriter()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.