org.alfresco.repo.content.caching.quota
Class StandardQuotaStrategyMockTest
java.lang.Object
org.alfresco.repo.content.caching.quota.StandardQuotaStrategyMockTest
public class StandardQuotaStrategyMockTest
- extends java.lang.Object
Tests for the StandardQuotaStrategy.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardQuotaStrategyMockTest
public StandardQuotaStrategyMockTest()
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCanSetMaxUsageInMB
public void testCanSetMaxUsageInMB()
throws java.lang.IllegalAccessException
- Throws:
java.lang.IllegalAccessException
testPanicThresholdForBeforeWritingCacheFile
public void testPanicThresholdForBeforeWritingCacheFile()
afterWritingCacheFileDiskUsageUpdatedCorrectly
public void afterWritingCacheFileDiskUsageUpdatedCorrectly()
testThresholdsAfterWritingCacheFile
public void testThresholdsAfterWritingCacheFile()
testThresholdsBeforeWritingCacheFile
public void testThresholdsBeforeWritingCacheFile()
canGetMaxFileSizeBytes
public void canGetMaxFileSizeBytes()
attemptToWriteFileExceedingMaxFileSizeIsVetoed
public void attemptToWriteFileExceedingMaxFileSizeIsVetoed()
afterFileWrittenExceedingMaxFileSizeFileIsDeleted
public void afterFileWrittenExceedingMaxFileSizeFileIsDeleted()
testCurrentUsageMB
public void testCurrentUsageMB()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.