NestedExampleTest.php
Same filename in this branch
Namespace
Drupal\psr_0_test\Tests\NestedFile
-
modules/
simpletest/ tests/ psr_0_test/ lib/ Drupal/ psr_0_test/ Tests/ Nested/ NestedExampleTest.php
View source
<?php
namespace Drupal\psr_0_test\Tests\Nested;
class NestedExampleTest extends \DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => 'PSR0 example test: PSR-0 in nested subfolders.',
'description' => 'We want to assert that this PSR-0 test case is being discovered.',
'group' => 'SimpleTest',
);
}
function testArithmetics() {
$this->assert(1 + 1 == 2, '1 + 1 == 2');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
NestedExampleTest |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.