|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.confluence.ThreadLocalWebTestCase com.atlassian.confluence.AbstractAtlassianWebTestCase com.atlassian.confluence.AbstractConfluenceAcceptanceTest com.atlassian.confluence.PageDestinationSearchAcceptanceTest
public class PageDestinationSearchAcceptanceTest
Test the PageDestinationSearchAction via it's JSON response objects.
Field Summary |
---|
Constructor Summary | |
---|---|
PageDestinationSearchAcceptanceTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testInvalidAllSearchTerm()
|
void |
testMatchingPagesOnly()
|
void |
testMatchingSpacesAndPages()
|
void |
testMatchingSpacesOnly()
Test when there are only spaces matching the query. |
void |
testMaximumMatches()
|
void |
testMissingSearchTerm()
|
void |
testNoMatches()
|
void |
testOnlyPermittedResults()
|
void |
testRestrictToSpace()
|
void |
testRestrictToSpaceCategory()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PageDestinationSearchAcceptanceTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractConfluenceAcceptanceTest
Exception
public void testMissingSearchTerm() throws Exception
Exception
public void testInvalidAllSearchTerm() throws Exception
Exception
public void testNoMatches() throws Exception
Exception
public void testMatchingSpacesOnly() throws Exception
Exception
public void testMatchingPagesOnly() throws Exception
Exception
public void testMatchingSpacesAndPages() throws Exception
Exception
public void testMaximumMatches() throws Exception
Exception
public void testRestrictToSpace() throws Exception
Exception
public void testRestrictToSpaceCategory() throws Exception
Exception
public void testOnlyPermittedResults() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |