[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/tests/soap/ -> IssueNoteTest.php (summary)

(no description)

Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 256 lines (7 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 tests/soap/SoapBase.php

Defines 1 class

IssueNoteTest:: (4 methods):
  testAddNote()
  testAddNoteWithTimeTracking()
  testAddThenUpdateThenDeleteNote()
  testAddNoteWithNoText()


Class: IssueNoteTest  - X-Ref

Test fixture for issue notes webservice methods.

testAddNote()   X-Ref
A test case that tests the following:
1. Create an issue.
2. Add a note to the issue by only specifying the text.
3. Get the issue.
4. Verify the note id against the one returned when adding the note.
5. Verify the text as per specified earlier.
6. Verify the defaulting of the rest of the fields.
7. Verify that submitted / last updated times are the same.
8. Verify that submitted / last updated matches today.
9. Delete the issue.


testAddNoteWithTimeTracking()   X-Ref
A test case that tests the following:
1. Create an issue.
2. Add a note to the issue by specifying the text and time_tracking.
3. Get the issue.
4. Verify the note id against the one returned when adding the note.
5. Verify the time_tracking entry
6. Delete the issue.


testAddThenUpdateThenDeleteNote()   X-Ref
A test case that tests the following:
1. Create an issue.
2. Add a note to the issue.
3. Get the issue.
4. Verify that the issue has one note.
5.  Update this note
6.  Verify that the note has been updated
7.  Delete the note.
8.  Get the issue.
9.  Verify that the issue has no notes.
10. Delete the issue.


testAddNoteWithNoText()   X-Ref
A test case that tests the following:
1. Create an issue.
2. Attempt to add a note with no text.
3. Make sure the SoapFault exception is thrown.
4. Delete the issue.




Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7