1 |
85ad3d82
|
Assos Assos
|
<?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 |
a45e4bc1
|
Assos Assos
|
function setUp($added_modules = array()) {
|
26 |
|
|
parent::setUp($added_modules);
|
27 |
85ad3d82
|
Assos Assos
|
}
|
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 |
|
|
} |