|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
BulkChangeWizard
.Locator
s fromSimpleCell
WebTestListener
.IssueLinking.enable()
instead.
Subtasks.enable()
instead.
Subtasks.enable()
instead.
TimeTracking.enable(com.atlassian.jira.functest.framework.admin.TimeTracking.Mode)
instead.
ChangeHistoryField
to the change history entry.
IssueNavigation.addComment(String, String)
instead.
IssueNavigation.addComment(String, String, String)
instead.
IssueNavigation.createIssue(String,
String, String)
Project.addProject(String, String, String)
instead.
WorkflowSteps.add(String, String)
instead.
IssueNavigation.createSubTask(String,
String, String, String)
WorkflowSteps.addTransition(String, String, String, String, String)
instead.
UsersAndGroups.addUser(String)
instead.
UsersAndGroups.addUser(String, String, String, String)
instead.
UsersAndGroups.addUserToGroup(String, String)
instead.
Administration
helper in play
Administration
helper in play
Administration
JIRAWebTest
, you may
want to consider using FuncTestHelperFactory
instead.
Locator
s
NOTE : Locator
s are one shot objects.Locator
s
SimpleCell
that
AND's all the simple cells together.Description
to resolve its annotations.Consumer
.
ChangeHistoryList
contains the list of {@link ChangeHistorySet ) objects in
expectedChangeHistoryList.
Assertions
helper in play
Assertions
helper in play
Assertions
Assertions.assertLastChangeHistoryRecords(String,
com.atlassian.jira.webtests.ztests.workflow.ExpectedChangeHistoryRecord)
LinkAssertions.assertLinkLocationEndsWith(String,
String)
WebTestCase.assertOptionsEqual(String,String[])
.
WebTester.assertRadioOptionValueNotPresent(String, String)
TextAssertions.assertRegexMatch(String,String)
that calls getText() on the provided
locator.
TextAssertions.assertRegexNoMatch(String,String)
that calls getText() on the provided
locator.
TableAssertions.assertTableCellHasText(com.meterware.httpunit.WebTable, int, int, String)
TableAssertions.assertTableContainsRow(com.meterware.httpunit.WebTable,
String[])
TableAssertions.assertTableRowEquals(com.meterware.httpunit.WebTable,
int, Object[])
TextAssertions.assertTextNotPresent(String,String)
that calls getText() on the provided
locator.
TextAssertions.assertTextPresent(String,String)
that calls getText() on the provided
locator.
TextAssertions.assertTextPresentNumOccurences(String, String, int)
TextAssertions.assertTextPresentNumOccurences(String,String,int)
that calls getText() on the provided
locator.
TextAssertions.assertTextSequence(String,String[])
that calls getText() on the provided
locator.
TextAssertions.assertTextSequence(String,String[])
that calls getText() on the provided
locator.
IssueNavigation.assignIssue(String,
String, String)
Project.associateWorkflowScheme(String, String)
instead.
Backdoor
helper in play, which can make sly RPCs to the server.
Administration
helper in play
SuiteTransform
for batching tests.Node
implementation that has better toString() attached to it.
CategorisingTestSuite
with support for cargo.com.atlassian.jira.util.changehistory.ChangeHistoryList
from the page.com.atlassian.jira.functest.unittests.config.ConfigurationCheck
.CheckOptions
instances.null
if this is neither a single test, nor a suite constructed for a test class.
Navigation.gotoAdminSection(String)
passing the linkId of the admin page
you want to go to.
Navigation.clickOnNext()
Clock
s.Consumer
implementation that closes all elements.
EnclosedIterable
into a List
.Set
and List
) instances or
enclosed iterables
.EnclosedIterable
.ConfigCrowdApplication
.ConfigDashboard
.ConfigGadget
.ConfigMailServer
.ConfigSharedEntity
.ConfigSharedEntity
for use in
the tests.SmtpServer
.
ConfigureScreen
.Supplier
produces.Iterator
contain anything that matches the predicate?
Iterable
contain anything that matches the predicate?
MultiMap
contain the value in any of its value collections.
MultiMap
contain the Collection as any of its value collections.
Node
' s from srcNode into a new DocumentFragment
ViewWorkflows.copyWorkflow(String, String)
instead.
UsersAndGroups.addGroup(String)
instead.
Subtasks.addSubTaskType(String, String)
instead.
Node
's using the specified WebTester
Node
's starting from the specified Node
The start node can ONLY be a node given out previous by another CssLocator.
SharedDashboardsAdministration.Dashboards
that represents the list of dashboards currently displayed on the Shared
Dashboards Administration Page.
123456789
.
2008-06-02 09:43:58.788
.
IssueLinking.disable()
instead.
Subtasks.disable()
instead.
com.atlassian.jira.functest.framework.admin.TimeTracking#disable(com.atlassian.jira.functest.framework.admin.TimeTracking.Mode)
instead.
URLUtil.encode(String)
DefaultConfigDashboardManager
.ConfigGadgetManager
.ConfigMailServer
.ConfigSharedEntityCleaner
.IssueNavigation.deleteIssue(String)
instead.
Subtasks.deleteSubTaskType(String)
instead.
IssueLinking.disable()
instead
IssueNavigatorNavigation.displayAllIssues()
WebTester
including the Throwable
'cause'.
EditNotifications
.jira.home
/data/attachments).
EnclosedIterable
into a List
.Enumeration
into an Iterator
.JIRAEnvironmentData
in play
JIRAEnvironmentData
in play
table
which contains the url.
PrintStream
is tee'ed to write to System.err
and to a Maven aware output filec
called JiraFuncTests.out.log
ConfigSharedEntity
.FileAttachmentsList
File
objects by hashing their
contents.
Iterator
.
Iterable
.
Collection
.
Collection
for the specified subtype.
SharedFiltersAdministration.Filters
that represents the list of filters currently displayed on the Shared
Filters Administration Page.
cellValue
.
prefix
.
Iterable
in iteration order, or null if empty.
EmailFuncTestCase.flushMailQueueAndWait(int)
but allows the user to specify the wait period in case a lot
of e-mails are being sent.
EnclosedIterable
from the supplied Collection.
FuncTestSuite
.Assertions
etcArrayList
of the contents of the supplied CloseableIterator
ArrayList
of the contents of the supplied EnclosedIterable
WebTable.getCellAsText(int, int)
returns the text of the cell only.
Document
associated with the current web page in the WebTester
URL
.
FormControl
with elementId in the specified form.
URL
Locator.getNodes()
represent, including the top level nodes themselves.
Element
, including itself.
Node
, exclusing itself.
JIRAEnvironmentData.getWorkingDirectory()
. This was renamed to avoid confusion with the "jira-home" functionality. Deprecated since v4.0
EnvironmentUtils.getJiraJavaVersion()
Locator
may return 0 nodes, 1 node or multiple nodes.
Node
's.
Node
DocumentBuilder
.
URL
.
URL
.
URL
.
URL
.
getNodes()
would return or empty string.
WebTable
using the tableId passed in on contruction of this Locator.
getNodes()
would return or empty string.
inbox
for the user with email userEmail.
Navigation.gotoAdmin()
or even better
Navigation.gotoAdminSection(String)
instead. If there is a specific method in Navigation
to
navigate to the admin page you want to go to, this should be the preferred way of navigating to it.
e.g Navigation.gotoDashboard()
IssueNavigatorNavigation.loadFilter(long)
IssueNavigation.gotoIssue(String)
instead.
Administration.addGlobalPermission(int, String)
instead.
PermissionSchemes.defaultScheme()
and call PermissionSchemes.PermissionScheme.grantPermissionToGroup(int, String)
(int, String)}
on it.
Permissions
constant to the specified user to the default permission
scheme.
Node
's.
FieldConfigurations.FieldConfiguration.hideFields(String)
instead.
Set
implementation that considers objects equal if an only if they are the same instance.Locator
that looks for the first Element
with the specified id
NOTE : Locator
s are one shot objects.JIRAWebTest.tableRowEquals(com.meterware.httpunit.WebTable, int, java.util.List)
to check if an image with given url exists in a specified table cell.JIRAServerSetup's
port by 1
XsrfCheck.ATL_TOKEN
is
present as a parameter, this method will make its value invalid.
EnvironmentUtils.isJavaBeforeJdk15()
Checksummer.write(org.dom4j.Element)
was called, false otherwise.
Workflows.assertStepOperationDetails()
IssueNavigatorParser
interface.IssueSecurityLevel
.IssueSecuritySchemes
.Iterator
that returns LocatorEntry
objects
Iterator
that transforms its values from one type to another using the supplied Function
.
Iterator
an into Enumeration
.JiraFormAssertions
.JIRAServerSetup
to increment each
setup's port by 1 when needed.JiraMessageAssertions
.ServerSetup
so that the port can be incremented/changed.FuncTestCase
that attempts to separate its various responsibilities
into multiple helper classes. Always use FuncTestCase
for new
func tests and attempt to migrate old tests to use it whenever possible.JSONString
interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString()
, JSONArray.toString()
,
and JSONWriter.value(
Object)
.Document
and produce a W3C DOM tree.WebTestDescription
based on the JUnit4
Description
.WebTestDescription
based on the JUnit4
Description
.ChangeHistoryField
with the specified field name.
LinkAssertions
interface.JIRAWebTest.tableRowEquals(com.meterware.httpunit.WebTable,int,java.util.List)
to identify which table cells should check for a link and not a textSharedDashboardsAdministration
page.
SharedFiltersAdministration
page.
LocatorFactory
in play
Locator
is responsible for "locating" DOM Node
's on a web page and also
getting the text of those Node
's.LocatorFactory
in play
Locator
, the iterator() method returns
LocatorEntry
objects that contain each Node
s , the text of the
node, as well as the index that the node would occur at if a called to
Locator.getNodes()
was made.FuncTestLogger
in play
FuncTestLogger
in play
Navigation.login(String)
()} instead.
Navigation.login(String, String)
instead.
Navigation.logout()
instead.
LinkedHashMap
that is access ordered AND constrained in size.null
if this is not a single test.
Navigation
helper in play
Navigation
helper in play
Navigation
JIRAWebTest
, you may
want to consider using FuncTestHelperFactory
instead.
Locator
that uses the provided Node
as the source of text.NotificationSchemes
.NULL
object than to use Java's null
value.
NULL
object than to use Java's null
value.
SimpleCell
that
OR's all the simple cells together.PrintStream
is tee'ed to write to System.out
and to a Maven aware output filec
called JiraFuncTests.out.log
Parser
helper in play
Parser
helper in play
CheckOptions
object by parsing through the
comments at the top level of the passed document and looking for lines of the form:
suppresscheck: check
or
suppresschecks: check, check2
There a special check called "all".
Clock
implementation that periodically increments the returned value.PermissionSchemes
and
PermissionSchemes.PermissionScheme
interfaces.ProjectImport
.Checksummer.write(org.dom4j.Element)
.
Administration.removeGlobalPermission(int, String)
instead.
UsersAndGroups.deleteGroup(String)
instead.
PermissionSchemes.defaultScheme()
and call PermissionSchemes.PermissionScheme.removePermission(int, String)
on it.
UsersAndGroups.removeUserFromGroup(String, String)
instead.
Backdoor.restoreBlankInstance()
instead.
Administration.restoreData(String, boolean)
, but with useDefaultPaths set to false.
Administration.restoreData(String)
instead.
Administration.restoreDataAndLogin(String, String, boolean)
but with userDefaultPaths parameter set to false.
Administration.restoreDataSlowOldWay(String, boolean)
, except with useDefaultPaths set to false.
Administration.restoreDataSlowOldWay(String, String, boolean)
, but with useDefaultPath set to false;
Administration.restoreDataSlowOldWayAndLogin(String, String, boolean)
but with useDefaultPath set to false.
Administration.restoreDataWithLicense(String, String, boolean)
, except with useDefaultPaths set to false.
Administration.restoreDataWithPluginsReload(String, boolean)
, except with useDefaultPaths set to false.
Administration.restoreDataWithReplacedTokens(String, java.util.Map, boolean)
, except with useDefaultPaths set to false.
GeneralConfiguration.setBaseUrl(String)
GeneralConfigurationImpl.setAllowUnassignedIssues(boolean)
instead.
FuncTestCase.setUpTest()
instead.
HttpUnitOptions
that must be set before the WebTester
is instantiated.
HttpUnitOptions
that must be set before the WebTester
is used
ConfigSharedEntity
.FieldConfigurations.FieldConfiguration.showFields(String)
instead.
JIRAWebTest.tableRowEquals(com.meterware.httpunit.WebTable, int, java.util.List)
.List
of the elements.
Clock
that will return predefined dates and will throws exception, if
called more times than the number of predefined values.WebTestListener
can listen to a
test.WebTestSuite
that reads its configuration from system properties.JIRAWebTest.tableCellHasText(com.meterware.httpunit.WebTable,int,int,String)
but if the text is an empty
string ("") than make sure the table cell trimmed is equal
WebTable
ready for more
assertions.null
if this is neither a single test, nor a suite constructed for a test class..
TestAddComment
AbstractTestCreateWorklogAsField
to test the "log work" system field on Close
transitions.AbstractTestCreateWorklogAsField
to test the "log work" system field on the Create
Issue screen.AbstractTestCreateWorklogAsField
to test the "log work" system field on the Edit
Issue screen.AbstractTestCreateWorklogAsField
to test the "log work" system field on Resolve
transitions./dashboard
resource.WebTester
in play
JSONString
interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString()
, JSONArray.toString()
,
and JSONWriter.value(
Object)
.TestIssueSecurityWithGroupsAndRoles.testNewProjectsWithDefaultRolesHaveCorrectSecurityLevel1()
but instead of associating the
security scheme with the project after its created, we do it during the creation
XsrfCheck
func-test framework classes.
TextAssertions
helper in play
TextAssertions
helper in
play
TextAssertions
toJSONString
method allows a class to produce its own JSON serialization.
toJSONString
method allows a class to produce its own JSON serialization.
ArrayList
of the contents of the supplied EnclosedIterable
ArrayList
of the contents of the supplied EnclosedIterable
transformed by the supplied transform function into the new type O.
List
that is transformed from elements of the input type
to elements of the output type by a transformer function.
SuiteTransform
s to itself.Map
, Set
, and Iterator
instances.Iterator
that is transformed from elements of the input
type to elements of the output type by a transformer function.
Set
that is transformed from elements of the input type
to elements of the output type by a transformer function.
URLAssertions
.ViewFieldScreens
.ViewWorkflows
MailService.getReceivedMessage()
but waits until a message is received or until a timeout is reached.
WebTestDescription
s and provides
methods for advanced operations on this list.Test
.WorkflowSchemes
.WorkflowSteps
.WorkflowTransition
.CheckOptions
object to a comment in the
passed document.
XPathLocator
s
XPathLocator
s
Locator
that uses XPath to locate Node
's
For more information on XPath look here:
http://www.w3.org/TR/xpath
For a tutorial on XPath look here:
http://www.w3schools.com/xpath/default.asp
http://www.zvon.org/xxl/XPathTutorial/General/examples.html
NOTE : Locator
s are one shot objects.Node
's using the specified WebTester
Node
's starting from the specified Node
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |