com.atlassian.plugin.cache.filecache.impl
Class TestFileCacheImpl

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.cache.filecache.impl.TestFileCacheImpl
All Implemented Interfaces:
junit.framework.Test

public class TestFileCacheImpl
extends junit.framework.TestCase


Constructor Summary
TestFileCacheImpl()
           
 
Method Summary
protected  void setUp()
           
 void testClearCache()
           
 void testClearFilesInConstructor()
           
 void testEviction()
           
 void testMissingInitialDirectory()
           
 void testNormalOperation()
           
 void testSharedFilenameCounter()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestFileCacheImpl

public TestFileCacheImpl()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testNormalOperation

public void testNormalOperation()
                         throws Exception
Throws:
Exception

testEviction

public void testEviction()
                  throws Exception
Throws:
Exception

testMissingInitialDirectory

public void testMissingInitialDirectory()
                                 throws IOException
Throws:
IOException

testClearFilesInConstructor

public void testClearFilesInConstructor()
                                 throws IOException
Throws:
IOException

testClearCache

public void testClearCache()
                    throws Exception
Throws:
Exception

testSharedFilenameCounter

public void testSharedFilenameCounter()
                               throws Exception
Throws:
Exception


Copyright © 2013 Atlassian. All Rights Reserved.