Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/tests/ctools.plugins.test | ||
---|---|---|
6 | 6 |
class CtoolsPluginsGetInfoTestCase extends DrupalWebTestCase { |
7 | 7 |
|
8 | 8 |
/** |
9 |
* {@inheritDoc}
|
|
9 |
* {@inheritdoc}
|
|
10 | 10 |
*/ |
11 | 11 |
public static function getInfo() { |
12 | 12 |
return array( |
... | ... | |
18 | 18 |
} |
19 | 19 |
|
20 | 20 |
/** |
21 |
* {@inheritDoc}
|
|
21 |
* {@inheritdoc}
|
|
22 | 22 |
*/ |
23 |
function setUp(array $modules = array()) { |
|
23 |
public function setUp(array $modules = array()) {
|
|
24 | 24 |
$modules[] = 'ctools'; |
25 | 25 |
$modules[] = 'ctools_plugin_test'; |
26 | 26 |
parent::setUp($modules); |
... | ... | |
119 | 119 |
/** |
120 | 120 |
* Test that plugins are loaded correctly. |
121 | 121 |
*/ |
122 |
function testPluginLoading() { |
|
122 |
public function testPluginLoading() {
|
|
123 | 123 |
ctools_include('plugins'); |
124 | 124 |
$module = 'ctools_plugin_test'; |
125 | 125 |
$type = 'not_cached'; |
Formats disponibles : Unified diff
Weekly update of contrib modules