function BuildTestBase::getWorkspaceDirectory
Same name in other branches
- 9 core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getWorkspaceDirectory()
- 8.9.x core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getWorkspaceDirectory()
- 10 core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getWorkspaceDirectory()
Full path to the workspace where this test can build.
This is often a directory within the system's temporary directory.
Return value
string Full path to the workspace where this test can build.
39 calls to BuildTestBase::getWorkspaceDirectory()
- BuildTestBase::getWorkingPath in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php - Get the working directory within the workspace, creating if necessary.
- BuildTestBase::getWorkspaceDrupalRoot in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php - Gets the path to Drupal root in the workspace directory.
- BuildTestBase::tearDown in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php - BuildTestTest::testCopyCodebase in core/
tests/ Drupal/ BuildTests/ Framework/ Tests/ BuildTestTest.php - @covers ::copyCodebase
- BuildTestTest::testWorkspace in core/
tests/ Drupal/ BuildTests/ Framework/ Tests/ BuildTestTest.php - Ensure that workspaces work.
File
-
core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php, line 252
Class
- BuildTestBase
- Provides a workspace to test build processes.
Namespace
Drupal\BuildTests\FrameworkCode
public function getWorkspaceDirectory() {
return $this->workspaceDir;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.