|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.jira.functest.framework.FuncTestCase
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.RestFuncTest
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestSearchResource
public class TestSearchResource
Tests for the issue search functionality.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
|---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
| Constructor Summary | |
|---|---|
TestSearchResource()
|
|
| Method Summary | |
|---|---|
protected void |
setUpTest()
Setup for an actual test |
void |
testNamesAndSchemaShouldBeAtTheTopLevelOfTheSearchResource()
|
void |
testQueryValidationCanBeDisabled()
|
void |
testSearchMaxResultsIsNotAllowedToExceed1000()
|
void |
testSearchMaxResultsShouldDefaultTo50()
|
void |
testSearchShouldFilterOutIssuesFromNonBrowseableProjects()
|
void |
testSearchShouldRespectFieldsQueryParam()
|
void |
testSearchShouldRespectFieldsQueryParamForCustomFields()
|
void |
testSearchShouldReturnPagesWithAtMaxReturnZero()
|
void |
testSearchShouldReturnPagesWithAtMostThreeIssues()
|
void |
testSearchStartAtAndMaxResultsShouldHaveDefaultValues()
|
void |
testSearchUsingGetReturnsTheSameAsUsingPost()
|
void |
testSearchWithBadJqlShouldReturnStatusCode400()
|
void |
testSearchWithNoJqlShouldReturnAllIssues()
|
| Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.RestFuncTest |
|---|
assertEqualDateStrings, DELETE, GET, GET, getBaseUriPlus, getBaseUriPlus, getBaseUrl, getBaseUrlPlus, getBaseUrlPlus, getJSON, getRestApiUri, getRestApiUri, getRestApiUrl, isDumpHTML, POST, POST, PUT, PUT, setUpHttpUnitOptions, tearDownTest |
| Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
|---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, log, log, runBare, runTest, setEnvironmentData, setUp, shouldSkipSetup, tearDown, xpath |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, 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 TestSearchResource()
| Method Detail |
|---|
public void testSearchShouldFilterOutIssuesFromNonBrowseableProjects()
throws Exception
Exception
public void testSearchMaxResultsShouldDefaultTo50()
throws Exception
Exception
public void testSearchMaxResultsIsNotAllowedToExceed1000()
throws Exception
Exception
public void testSearchShouldReturnPagesWithAtMostThreeIssues()
throws Exception
Exception
public void testSearchShouldReturnPagesWithAtMaxReturnZero()
throws Exception
Exception
public void testSearchStartAtAndMaxResultsShouldHaveDefaultValues()
throws Exception
Exception
public void testSearchWithBadJqlShouldReturnStatusCode400()
throws Exception
Exception
public void testSearchWithNoJqlShouldReturnAllIssues()
throws Exception
Exception
public void testSearchUsingGetReturnsTheSameAsUsingPost()
throws Exception
Exception
public void testSearchShouldRespectFieldsQueryParam()
throws Exception
Exception
public void testSearchShouldRespectFieldsQueryParamForCustomFields()
throws Exception
Exception
public void testNamesAndSchemaShouldBeAtTheTopLevelOfTheSearchResource()
throws Exception
Exception
public void testQueryValidationCanBeDisabled()
throws Exception
Exceptionprotected void setUpTest()
FuncTestCase
setUpTest in class RestFuncTest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||