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

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

public class TestCachedFile
extends junit.framework.TestCase


Constructor Summary
TestCachedFile()
           
 
Method Summary
 void testConcurrentDeleteDuringRead()
           
 void testConcurrentReaders()
           
 void testExceptionDuringClosingOfCachedFile()
           
 void testExceptionDuringInitialCaching()
           
 void testImmediateDelete()
           
 void testNormalOperation()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TestCachedFile

public TestCachedFile()
Method Detail

testNormalOperation

public void testNormalOperation()
                         throws Exception
Throws:
Exception

testImmediateDelete

public void testImmediateDelete()
                         throws Exception
Throws:
Exception

testConcurrentReaders

public void testConcurrentReaders()
                           throws Exception
Throws:
Exception

testConcurrentDeleteDuringRead

public void testConcurrentDeleteDuringRead()
                                    throws Exception
Throws:
Exception

testExceptionDuringClosingOfCachedFile

public void testExceptionDuringClosingOfCachedFile()
                                            throws Exception
Throws:
Exception

testExceptionDuringInitialCaching

public void testExceptionDuringInitialCaching()
                                       throws Exception
Throws:
Exception


Copyright © 2013 Atlassian. All Rights Reserved.