components.test
788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* @file
* Webform module component tests.
*/
include_once(dirname(__FILE__) . '/webform.test');
class WebformComponentsTestCase extends WebformTestCase {
/**
* Implements getInfo().
*/
public static function getInfo() {
return array(
'name' => t('Webform components'),
'description' => t('Add and remove components from a webform.'),
'group' => t('Webform'),
);
}
/**
* Implements setUp().
*/
function setUp() {
parent::setUp();
}
/**
* Implements 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.');
}
}