[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/webform/tests/ -> webform.test (summary)

(no description)

File Size: 805 lines (28 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

WebformTestCase:: (7 methods):
  setUp()
  tearDown()
  webformReset()
  testWebformComponents()
  testWebformForm()
  testWebformPost()
  webformPrintPage()

WebformGeneralTestCase:: (4 methods):
  getInfo()
  testWebformCreate()
  testWebformCreateNewType()
  webformRecordExists()


Class: WebformTestCase  - X-Ref


setUp()   X-Ref
Implements setUp().


tearDown()   X-Ref
Implemenation of tearDown().


webformReset()   X-Ref
No description

testWebformComponents()   X-Ref
Provide a list of components to test throughout the suite.

Each component provides:
- A default configuration for the component.
- Values to try setting via POST
- Values that should match the database storage when set via POST
- Values that should match the database storage when using the default values.

return: array

testWebformForm()   X-Ref
No description

testWebformPost()   X-Ref
Generate a list of all values that would result in a valid submission.


webformPrintPage()   X-Ref
Utility function to print out the current page being tested.


Class: WebformGeneralTestCase  - X-Ref

Test general functionality of Webform.

getInfo()   X-Ref
Implements getInfo().


testWebformCreate()   X-Ref
Test creating a new Webform node.


testWebformCreateNewType()   X-Ref
Test webform-enabling a different node type and testing behavior.


webformRecordExists($nid)   X-Ref
No description



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7