public class

TestCachingPageDao

extends ConfluenceTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.pages.persistence.dao.hibernate.TestCachingPageDao

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestCachingPageDao()
Public Methods
void testGetNonExistingPage()
void testGetPageCachedNoEagerlyLoadedComments()
void testGetPageCachedWithEagerlyLoadedComments()
void testGetPageNotCachedNoEagerlyLoadedComments()
void testGetPageNotCachedWithEagerlyLoadedComments()
void testGetPageWithCachedPageIdButDifferentTitleOrSpaceKey()
void testGetPageWithCachedPageIdButNotCurrent()
void testGetPageWithNullSpace()
void testRemoveClearsCacheForTheRemovedPage()
void testRemoveWithNullPage()
void testSaveAgainstOriginalUpdatesCacheForTheSavedPage()
void testSaveRawUpdatesCacheForTheSavedPage()
void testSaveUpdatesCacheForTheSavedPage()
Protected Methods
void setUp()
[Expand]
Inherited Methods
From class com.atlassian.confluence.ConfluenceTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestCachingPageDao ()

Public Methods

public void testGetNonExistingPage ()

Throws
Exception

public void testGetPageCachedNoEagerlyLoadedComments ()

Throws
Exception

public void testGetPageCachedWithEagerlyLoadedComments ()

Throws
Exception

public void testGetPageNotCachedNoEagerlyLoadedComments ()

Throws
Exception

public void testGetPageNotCachedWithEagerlyLoadedComments ()

Throws
Exception

public void testGetPageWithCachedPageIdButDifferentTitleOrSpaceKey ()

Throws
Exception

public void testGetPageWithCachedPageIdButNotCurrent ()

Throws
Exception

public void testGetPageWithNullSpace ()

Throws
Exception

public void testRemoveClearsCacheForTheRemovedPage ()

Throws
Exception

public void testRemoveWithNullPage ()

Throws
Exception

public void testSaveAgainstOriginalUpdatesCacheForTheSavedPage ()

Throws
Exception

public void testSaveRawUpdatesCacheForTheSavedPage ()

Throws
Exception

public void testSaveUpdatesCacheForTheSavedPage ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception