public class

TestEmbeddedCrowdBootstrap

extends ConfluenceTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.user.crowd.TestEmbeddedCrowdBootstrap

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestEmbeddedCrowdBootstrap()
Public Methods
void setUp()
void testApplicationCreatedIfNoneExists()
Ensures that the applicatoinDao is told to create an application when one cannot be found.
void testApplicationNotCreatedWhenItAlreadyExists()
Ensures that the applicationDao is not told to create an application when one is found.
void testInternalDirectoryCreatedIfNoneExists()
Ensures that the crowdDirectoryService is told to create the internal directory when none is found.
void testInternalDirectoryCreatedWhenItAlreadyExists()
Ensures that the crowdDirectoryService is not told to create the internal directory when one exists.
[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 TestEmbeddedCrowdBootstrap ()

Public Methods

public void setUp ()

Throws
Exception

public void testApplicationCreatedIfNoneExists ()

Ensures that the applicatoinDao is told to create an application when one cannot be found.

Throws
ApplicationNotFoundException This is a lie.

public void testApplicationNotCreatedWhenItAlreadyExists ()

Ensures that the applicationDao is not told to create an application when one is found.

Throws
ApplicationNotFoundException This is a lie.

public void testInternalDirectoryCreatedIfNoneExists ()

Ensures that the crowdDirectoryService is told to create the internal directory when none is found.

public void testInternalDirectoryCreatedWhenItAlreadyExists ()

Ensures that the crowdDirectoryService is not told to create the internal directory when one exists.