You are here

components.test in Webform 6.2

Same filename and directory in other branches
  1. 6.3 tests/components.test
  2. 7.3 tests/components.test

File

tests/components.test
View source
<?php

/**
 * @file
 * Webform module component tests.
 */
include_once dirname(__FILE__) . '/webform.test';
class WebformComponentsTestCase extends WebformTestCase {

  /**
   * Implementation of getInfo().
   */
  public static function getInfo() {
    return array(
      'name' => t('Webform components'),
      'description' => t('Add and remove components from a webform.'),
      'group' => t('Webform'),
    );
  }

  /**
   * Implementation of setUp().
   */
  function setUp() {
    parent::setUp();
  }

  /**
   * Implementation of testWebformDummy(). if it is not present,
   * then the test runs fine, but when combined with other tests
   * the whole block fails, since there would be no output.
   */
  function testWebformDummy() {
    $this->pass = t('WebformComponentsTest pass.');
  }

}

Classes