public class

IntegrationTestHibernateDraftDao

extends AbstractConfluenceSingleContextSpringPersistenceTest
java.lang.Object
   ↳ AbstractTransactionalDataSourceSpringContextTests
     ↳ com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
       ↳ com.atlassian.integrationtest.confluence.pages.persistence.dao.hibernate.IntegrationTestHibernateDraftDao

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
Public Constructors
IntegrationTestHibernateDraftDao()
Public Methods
void onSetUp()
void onTearDown()
void testDeleteOneNewDraftDoesNotRemoveOtherDrafts()
void testDraftsAreSavedWithDates()
void testGetDraftWithInvalidParametersReturnsNull()
void testMultipleNewDrafts()
void testNewDraftsAreSavedWithPageIdZero()
void testRemove()
void testRemoveAll()
void testRemoveById()
void testSave()
void testSaveDraftTwice()
Make sure that saveOrUpdate can save a non-persistent instance with the same key as a persistent instance which already exists in the session.
void testSaveTwoDrafts()
void testUpdateSpaceKey()
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
From class java.lang.Object

Public Constructors

public IntegrationTestHibernateDraftDao ()

Public Methods

public void onSetUp ()

Throws
Exception

public void onTearDown ()

Throws
Exception

public void testDeleteOneNewDraftDoesNotRemoveOtherDrafts ()

Throws
HibernateException

public void testDraftsAreSavedWithDates ()

Throws
HibernateException

public void testGetDraftWithInvalidParametersReturnsNull ()

public void testMultipleNewDrafts ()

Throws
HibernateException

public void testNewDraftsAreSavedWithPageIdZero ()

Throws
HibernateException

public void testRemove ()

public void testRemoveAll ()

Throws
HibernateException

public void testRemoveById ()

public void testSave ()

public void testSaveDraftTwice ()

Make sure that saveOrUpdate can save a non-persistent instance with the same key as a persistent instance which already exists in the session.

Throws
HibernateException

public void testSaveTwoDrafts ()

public void testUpdateSpaceKey ()

Throws
HibernateException