com.atlassian.core.filters.cache
Class TestAbstractCachingFilter

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.core.filters.cache.TestAbstractCachingFilter
All Implemented Interfaces:
junit.framework.Test

public class TestAbstractCachingFilter
extends junit.framework.TestCase


Constructor Summary
TestAbstractCachingFilter()
           
 
Method Summary
protected  void setUp()
           
 void testFirstStrategyMatches()
           
 void testSingleStrategy()
           
 void testSubclassThatReturnsEmptyArray()
           
 void testSubclassThatReturnsNull()
           
 void testTwoStrategies()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAbstractCachingFilter

public TestAbstractCachingFilter()
Method Detail

setUp

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

testSubclassThatReturnsNull

public void testSubclassThatReturnsNull()
                                 throws Exception
Throws:
Exception

testSubclassThatReturnsEmptyArray

public void testSubclassThatReturnsEmptyArray()
                                       throws Exception
Throws:
Exception

testSingleStrategy

public void testSingleStrategy()
                        throws Exception
Throws:
Exception

testTwoStrategies

public void testTwoStrategies()
                       throws Exception
Throws:
Exception

testFirstStrategyMatches

public void testFirstStrategyMatches()
                              throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.