class NestedExampleTest in Drupal 7
Same name in this branch
- 7 modules/simpletest/tests/psr_4_test/src/Tests/Nested/NestedExampleTest.php \Drupal\psr_4_test\Tests\Nested\NestedExampleTest
- 7 modules/simpletest/tests/psr_0_test/lib/Drupal/psr_0_test/Tests/Nested/NestedExampleTest.php \Drupal\psr_0_test\Tests\Nested\NestedExampleTest
Hierarchy
- class \Drupal\psr_4_test\Tests\Nested\NestedExampleTest extends \Drupal\psr_4_test\Tests\Nested\DrupalWebTestCase
Expanded class hierarchy of NestedExampleTest
File
- modules/
simpletest/ tests/ psr_4_test/ src/ Tests/ Nested/ NestedExampleTest.php, line 5
Namespace
Drupal\psr_4_test\Tests\NestedView source
class NestedExampleTest extends \DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => 'PSR4 example test: PSR-4 in nested subfolders.',
'description' => 'We want to assert that this PSR-4 test case is being discovered.',
'group' => 'SimpleTest',
);
}
function testArithmetics() {
$this
->assert(1 + 1 == 2, '1 + 1 == 2');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NestedExampleTest:: |
public static | function | ||
NestedExampleTest:: |
function |