root / drupal7 / modules / simpletest / tests / psr_4_test / src / Tests / ExampleTest.php @ 6ff32cea
1 | 6ff32cea | Florent Torregrosa | <?php
|
---|---|---|---|
2 | |||
3 | namespace Drupal\psr_4_test\Tests; |
||
4 | |||
5 | class ExampleTest extends \DrupalWebTestCase { |
||
6 | |||
7 | public static function getInfo() { |
||
8 | return array( |
||
9 | 'name' => 'PSR4 example test: PSR-4 in disabled modules.', |
||
10 | 'description' => 'We want to assert that this test case is being discovered.', |
||
11 | 'group' => 'SimpleTest', |
||
12 | ); |
||
13 | } |
||
14 | |||
15 | function testArithmetics() { |
||
16 | $this->assert(1 + 1 == 2, '1 + 1 == 2'); |
||
17 | } |
||
18 | } |