public class

TestTinyUrlAction

extends AbstractXWorkTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.core.AbstractXWorkTest
           ↳ com.atlassian.confluence.pages.actions.TestTinyUrlAction

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.core.AbstractXWorkTest
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestTinyUrlAction()
Public Methods
void setUp()
void tearDown()
void testGetNonexistantPage()
void testGetNonexistantPageNoUrlIdentifierGiven()
void testGetNotPermitted()
For a not permitted page, you should be redirected to the pageId=??? form of the URL, so that the user gets the chance to log in / or the correct message for not being able to log in, but the title of the page is not exposed.
void testGibberish()
void testSimpleGet()
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.AbstractXWorkTest
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 TestTinyUrlAction ()

Public Methods

public void setUp ()

Throws
Exception

public void tearDown ()

Throws
Exception

public void testGetNonexistantPage ()

Throws
Exception

public void testGetNonexistantPageNoUrlIdentifierGiven ()

Throws
Exception

public void testGetNotPermitted ()

For a not permitted page, you should be redirected to the pageId=??? form of the URL, so that the user gets the chance to log in / or the correct message for not being able to log in, but the title of the page is not exposed.

Throws
Exception

public void testGibberish ()

Throws
Exception

public void testSimpleGet ()

Throws
Exception