public class

TestHibernateResourceLoader

extends ConfluenceTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.setup.velocity.TestHibernateResourceLoader

Summary

Constants
String body
String spaceKey
[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestHibernateResourceLoader()
Public Methods
void testGlobalDecorator()
void testGlobalDecoratorWithoutLeadingSlash()
void testMissingGlobalDecoratorReturnsNull()
void testMissingSpaceDecoratorReturnsNull()
void testNoDecoratorWhenNotUpgraded()
For CONF-9959 ensure that if the UpgradeManager says "not upgraded" then the resource loader does nothing.
void testNonExistentSpaceReturnsNull()
void testSpaceKeyDecorator()
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

Constants

public static final String body

Constant Value: "foo"

public static final String spaceKey

Constant Value: "TST"

Public Constructors

public TestHibernateResourceLoader ()

Public Methods

public void testGlobalDecorator ()

public void testGlobalDecoratorWithoutLeadingSlash ()

public void testMissingGlobalDecoratorReturnsNull ()

Throws
Exception

public void testMissingSpaceDecoratorReturnsNull ()

Throws
Exception

public void testNoDecoratorWhenNotUpgraded ()

For CONF-9959 ensure that if the UpgradeManager says "not upgraded" then the resource loader does nothing.

Throws
Exception

public void testNonExistentSpaceReturnsNull ()

Throws
Exception

public void testSpaceKeyDecorator ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception