class PSR4WebTest
Hierarchy
- class \Drupal\simpletest\Tests\PSR4WebTest extends \Drupal\simpletest\Tests\DrupalWebTestCase
Expanded class hierarchy of PSR4WebTest
File
-
modules/
simpletest/ src/ Tests/ PSR4WebTest.php, line 5
Namespace
Drupal\simpletest\TestsView source
class PSR4WebTest extends \DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => 'PSR4 web test',
'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
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
PSR4WebTest::getInfo | public static | function | |
PSR4WebTest::testArithmetics | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.