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