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 cannotSetNullCacheRoot()
           
 void canVisitOldestDirsFirst()
           
 void compareNumericFileNames()
           
 void contains()
           
 void deleteFile()
           
 void getCacheFilePath()
           
 void getContentUrl()
           
 void getReaderForItemInCacheButMissingContentFile()
           
 void getReaderWhenItemNotInCache()
           
 void getWriter()
           
 void putForNonEmptyFile()
           
 void putForZeroLengthFile()
           
 void putIntoLookup()
           
 void remove()
           
 void setUp()
           
 void willCreateNonExistentCacheRoot()
           
 
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

cannotSetNullCacheRoot

public void cannotSetNullCacheRoot()

willCreateNonExistentCacheRoot

public void willCreateNonExistentCacheRoot()

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()

deleteFile

public void deleteFile()

getWriter

public void getWriter()

compareNumericFileNames

public void compareNumericFileNames()

canVisitOldestDirsFirst

public void canVisitOldestDirsFirst()


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