Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
2
core/profiles/testing/config/install/system.theme.yml
Normal file
2
core/profiles/testing/config/install/system.theme.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
# @todo: Remove this file in https://www.drupal.org/node/2352949
|
||||
default: classy
|
12
core/profiles/testing/config/optional/locale.settings.yml
Normal file
12
core/profiles/testing/config/optional/locale.settings.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
cache_strings: true
|
||||
javascript:
|
||||
directory: languages
|
||||
translation:
|
||||
use_source: remote_and_local
|
||||
default_filename: '%project-%version.%language.po'
|
||||
default_server_pattern: 'http://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po'
|
||||
overwrite_customized: false
|
||||
overwrite_not_customized: true
|
||||
update_interval_days: 0
|
||||
path: ''
|
||||
import_enabled: false
|
|
@ -0,0 +1,6 @@
|
|||
name: 'Drupal system listing compatible test'
|
||||
type: module
|
||||
description: 'Support module for testing the drupal_system_listing function.'
|
||||
package: Testing
|
||||
version: VERSION
|
||||
core: 8.x
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\drupal_system_listing_compatible_test\Tests\SystemListingCompatibleTest.
|
||||
*/
|
||||
|
||||
namespace Drupal\drupal_system_listing_compatible_test\Tests;
|
||||
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
|
||||
/**
|
||||
* Verifies that tests in installation profile modules are found and may use
|
||||
* another profile for running tests.
|
||||
*
|
||||
* @group drupal_system_listing_compatible_test
|
||||
*/
|
||||
class SystemListingCompatibleTest extends WebTestBase {
|
||||
|
||||
/**
|
||||
* Attempt to enable a module from the Testing profile.
|
||||
*
|
||||
* This test uses the Minimal profile, but enables a module from the Testing
|
||||
* profile to confirm that a different profile can be used for running tests.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $modules = array('drupal_system_listing_compatible_test');
|
||||
|
||||
/**
|
||||
* Use the Minimal profile.
|
||||
*
|
||||
* This test needs to use a different installation profile than the test which
|
||||
* asserts that this test is found.
|
||||
*
|
||||
* @see SimpleTestInstallationProfileModuleTestsTestCase
|
||||
*/
|
||||
protected $profile = 'minimal';
|
||||
|
||||
/**
|
||||
* Non-empty test* method required to executed the test case class.
|
||||
*/
|
||||
function testSystemListing() {
|
||||
$this->pass(__CLASS__ . ' test executed.');
|
||||
}
|
||||
}
|
13
core/profiles/testing/testing.info.yml
Normal file
13
core/profiles/testing/testing.info.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Testing
|
||||
type: profile
|
||||
description: 'Minimal profile for running tests. Includes absolutely required modules only.'
|
||||
version: VERSION
|
||||
core: 8.x
|
||||
hidden: true
|
||||
dependencies:
|
||||
# Enable page_cache in testing, to ensure that as many tests as possible run
|
||||
# with page caching enabled.
|
||||
- page_cache
|
||||
# @todo: Remove this in https://www.drupal.org/node/2352949
|
||||
themes:
|
||||
- classy
|
Reference in a new issue