[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * @file
   5   * Webform module component tests.
   6   */
   7  
   8  include_once(dirname(__FILE__) . '/webform.test');
   9  
  10  class WebformComponentsTestCase extends WebformTestCase {
  11    /**
  12     * Implements getInfo().
  13     */
  14    public static function getInfo() {
  15      return array(
  16        'name' => t('Webform components'),
  17        'description' => t('Add and remove components from a webform.'),
  18        'group' => t('Webform'),
  19      );
  20    }
  21  
  22    /**
  23     * Implements setUp().
  24     */
  25    function setUp() {
  26      parent::setUp();
  27    }
  28  
  29    /**
  30     * Implements testWebformDummy(). if it is not present,
  31     * then the test runs fine, but when combined with other tests
  32     * the whole block fails, since there would be no output.
  33     */
  34    function testWebformDummy() {
  35      $this->pass = t('WebformComponentsTest pass.');
  36    }
  37  }


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