protected function BuildTestBase::getDrupalRoot in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getDrupalRoot()
Get the root path of this Drupal codebase.
Return value
string The full path to the root of this Drupal codebase.
4 calls to BuildTestBase::getDrupalRoot()
- BuildTestBase::copyCodebase in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php - Copy the current working codebase into a workspace.
- ComposerProjectTemplatesTest::makeVendorPackage in core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php - Creates a test package that points to all the projects in vendor.
- ComposerProjectTemplatesTest::testVerifyTemplateTestProviderIsAccurate in core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php - Make sure we've accounted for all the templates.
- ComposerValidateTest::provideComposerJson in core/
tests/ Drupal/ BuildTests/ Composer/ ComposerValidateTest.php
File
- core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php, line 592
Class
- BuildTestBase
- Provides a workspace to test build processes.
Namespace
Drupal\BuildTests\FrameworkCode
protected function getDrupalRoot() {
return realpath(dirname(__DIR__, 5));
}