First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\psr_4_test\Tests;
|
||||
|
||||
class ExampleTest extends \DrupalWebTestCase {
|
||||
|
||||
public static function getInfo() {
|
||||
return array(
|
||||
'name' => 'PSR4 example test: PSR-4 in disabled modules.',
|
||||
'description' => 'We want to assert that this test case is being discovered.',
|
||||
'group' => 'SimpleTest',
|
||||
);
|
||||
}
|
||||
|
||||
function testArithmetics() {
|
||||
$this->assert(1 + 1 == 2, '1 + 1 == 2');
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\psr_4_test\Tests\Nested;
|
||||
|
||||
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');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue