| [ Index ] |
PHP Cross Reference of MantisBT |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net |
| File Size: | 492 lines (15 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 1 file tests/soap/SoapBase.php |
IssueAddTest:: (14 methods):
testCreateIssue()
testCreateIssueWithHtmlMarkup()
testCreateIssueWithRareFields()
testCreateIssueWithHandler()
testCreateIssueWithDueDate()
testCreateIssueWithNullDueDate()
testCreateBugWithNoCategory()
readDueDate()
testCreateIssueWithTimeTrackingNote()
testCreateIssueWithHandlerByName()
testCreateIssueWithFaultyVersionGeneratesError()
testCreateIssueWithVersion()
testGetBiggestId()
testCreateIssueWithMiscNote()
Class: IssueAddTest - X-Ref
Test fixture for issue creation webservice methods.| testCreateIssue() X-Ref |
| A test case that tests the following: 1. Ability to create an issue with only the mandatory parameters. 2. mc_issue_get_biggest_id() 3. mc_issue_get_id_from_summary() 4. The defaulting of the non-mandatory parameters. |
| testCreateIssueWithHtmlMarkup() X-Ref |
| A test cases that tests the creation of issues with html markup in summary and description. |
| testCreateIssueWithRareFields() X-Ref |
| This issue tests the following: 1. Creating an issue with some fields that are typically not used at creation time. For example: projection, eta, resolution, status, fixed_in_version, and target_version. 2. Get the issue and confirm that all fields are set as expected. 3. Delete the issue. This test case was added for bug #9132. |
| testCreateIssueWithHandler() X-Ref |
| This issue tests the following: 1. Retrieving all the administrator users, and verifying at least one is present 2. Creating an issue with the first admin user as a handler 3. Retrieving the issue after it is created 4. Verifying that the correct handler is passed 5. Deleting the issue |
| testCreateIssueWithDueDate() X-Ref |
| This issue tests the following 1. Creating an issue with a due date 2. Retrieving the issue 3. Validating that the due date is properly set |
| testCreateIssueWithNullDueDate() X-Ref |
| This issue tests the following 1. Creating an issue without a due date 2. Retrieving the issue 3. Validating that the due date is properly encoded as null This stricter verification originates in some SOAP frameworks, notably Axis, not accepting the empty tag format sent by nusoap by default, which is accepted by the PHP5 SOAP extension nevertheless. |
| testCreateBugWithNoCategory() X-Ref |
| This issue tests the following 1. Creating an issue with no category 2. Retrieving the issue 3. Verifying that the category is empty. |
| readDueDate( $issueDataXml ) X-Ref |
param: string $issueDataXml return: string the xsi:null value |
| testCreateIssueWithTimeTrackingNote() X-Ref |
| A test cases that tests the creation of issues with a note passed in which contains time tracking data. |
| testCreateIssueWithHandlerByName() X-Ref |
| This issue tests the following 1. Creating an issue where the handler is given by name 2. Retrieving the issue 3. Verifying that the handler name is correctly set |
| testCreateIssueWithFaultyVersionGeneratesError() X-Ref |
| Tests that a created issue with a non-existent version returns the correct error message. |
| testCreateIssueWithVersion() X-Ref |
| Tests that an issue with a proper version set is correctly created |
| testGetBiggestId() X-Ref |
| Test that the biggest id is correctly retrieved |
| testCreateIssueWithMiscNote() X-Ref |
| A test cases that tests the creation of issues with a note passed in which contains time tracking data. |
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |