com.atlassian.plugin.webresource
Class TestContextBatchBuilder

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.webresource.TestContextBatchBuilder
All Implemented Interfaces:
junit.framework.Test

public class TestContextBatchBuilder
extends junit.framework.TestCase


Constructor Summary
TestContextBatchBuilder()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testContextParams()
           
 void testContextParamsInDependencies()
           
 void testDependenciesNoOverlap()
           
 void testExcludedContextWithNoOverlap()
           
 void testExcludedContextWithNoOverlapUnbatched()
           
 void testExcludedContextWithOverlap()
           
 void testExcludedContextWithOverlapUnbatched()
           
 void testIncludeAndExcludeLeavesNoResourcesInBatch()
           
 void testIncludeAndExcludeTheSameBatch()
           
 void testMultipleContextsWithoutBatching()
           
 void testMultipleExcludedContextWithOverlap()
           
 void testMultipleExcludedContextWithPartialOverlap()
           
 void testMultipleExcludedContextWithSomeOverlapUnbatched()
           
 void testMultipleOverlappingContexts()
           
 void testNoOverlapAndNoDependencies()
           
 void testOverlappingAndNoDependencies()
           
 void testOverlappingDependencies()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

TestContextBatchBuilder

public TestContextBatchBuilder()
Method Detail

setUp

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

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testNoOverlapAndNoDependencies

public void testNoOverlapAndNoDependencies()
                                    throws Exception
Throws:
Exception

testOverlappingAndNoDependencies

public void testOverlappingAndNoDependencies()
                                      throws Exception
Throws:
Exception

testDependenciesNoOverlap

public void testDependenciesNoOverlap()
                               throws Exception
Throws:
Exception

testOverlappingDependencies

public void testOverlappingDependencies()
                                 throws Exception
Throws:
Exception

testMultipleOverlappingContexts

public void testMultipleOverlappingContexts()
                                     throws Exception
Throws:
Exception

testContextParams

public void testContextParams()
                       throws Exception
Throws:
Exception

testContextParamsInDependencies

public void testContextParamsInDependencies()
                                     throws Exception
Throws:
Exception

testMultipleContextsWithoutBatching

public void testMultipleContextsWithoutBatching()
                                         throws Exception
Throws:
Exception

testExcludedContextWithNoOverlap

public void testExcludedContextWithNoOverlap()
                                      throws Exception
Throws:
Exception

testExcludedContextWithOverlap

public void testExcludedContextWithOverlap()
                                    throws Exception
Throws:
Exception

testMultipleExcludedContextWithOverlap

public void testMultipleExcludedContextWithOverlap()
                                            throws Exception
Throws:
Exception

testMultipleExcludedContextWithPartialOverlap

public void testMultipleExcludedContextWithPartialOverlap()
                                                   throws Exception
Throws:
Exception

testIncludeAndExcludeLeavesNoResourcesInBatch

public void testIncludeAndExcludeLeavesNoResourcesInBatch()
                                                   throws Exception
Throws:
Exception

testIncludeAndExcludeTheSameBatch

public void testIncludeAndExcludeTheSameBatch()
                                       throws Exception
Throws:
Exception

testExcludedContextWithNoOverlapUnbatched

public void testExcludedContextWithNoOverlapUnbatched()
                                               throws Exception
Throws:
Exception

testExcludedContextWithOverlapUnbatched

public void testExcludedContextWithOverlapUnbatched()
                                             throws Exception
Throws:
Exception

testMultipleExcludedContextWithSomeOverlapUnbatched

public void testMultipleExcludedContextWithSomeOverlapUnbatched()
                                                         throws Exception
Throws:
Exception


Copyright © 2013 Atlassian. All Rights Reserved.