org.alfresco.repo.content.caching.quota
Class StandardQuotaStrategyTest

java.lang.Object
  extended by org.alfresco.repo.content.caching.quota.StandardQuotaStrategyTest

public class StandardQuotaStrategyTest
extends java.lang.Object

Tests for the StandardQuotaStrategy.


Constructor Summary
StandardQuotaStrategyTest()
           
 
Method Summary
static void afterClass()
           
static void beforeClass()
           
 void cachingIsDisabledAtCorrectThreshold()
           
 void cleanerWillTriggerAtCorrectThreshold()
           
 void largeContentCacheFilesAreNotKeptOnDisk()
           
static void main(java.lang.String[] args)
           
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardQuotaStrategyTest

public StandardQuotaStrategyTest()
Method Detail

beforeClass

public static void beforeClass()

afterClass

public static void afterClass()

setUp

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

cleanerWillTriggerAtCorrectThreshold

public void cleanerWillTriggerAtCorrectThreshold()
                                          throws java.io.IOException,
                                                 java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

cachingIsDisabledAtCorrectThreshold

public void cachingIsDisabledAtCorrectThreshold()
                                         throws java.io.IOException
Throws:
java.io.IOException

largeContentCacheFilesAreNotKeptOnDisk

public void largeContentCacheFilesAreNotKeptOnDisk()
                                            throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


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