Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 11.x for test
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
BuildTestBase::assertCommandExitCode function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Asserts that the last command returned the specified exit code.
BuildTestBase::assertCommandOutputContains function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Assert that text is present in the output of the most recent command.
BuildTestBase::assertCommandSuccessful function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Asserts that the last command ran without error.
BuildTestBase::assertDrupalVisit function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Helper function to assert that the last visit was a Drupal site.
BuildTestBase::assertErrorOutputContains function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Assert that text is present in the error output of the most recent command.
BuildTestBase::assertErrorOutputNotContains function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Assert text is not present in the error output of the most recent command.
BuildTestBase::checkPortIsAvailable function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Checks whether a port is available.
BuildTestBase::copyCodebase function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Copy the current working codebase into a workspace.
BuildTestBase::executeCommand function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Run a command.
BuildTestBase::findAvailablePort function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Discover an available port number.
BuildTestBase::getCodebaseFinder function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get a default Finder object for a Drupal codebase.
BuildTestBase::getComposerRoot function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Gets the path to the Composer root directory.
BuildTestBase::getDrupalRoot function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get the root path of this Drupal codebase.
BuildTestBase::getDrupalRootStatic function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get the root path of this Drupal codebase.
BuildTestBase::getMink function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get the Mink instance.
BuildTestBase::getPortNumber function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get the port number for requests.
BuildTestBase::getWorkingPath function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get the working directory within the workspace, creating if necessary.
BuildTestBase::getWorkingPathDrupalRoot function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Gets the working path for Drupal core.
BuildTestBase::getWorkspaceDirectory function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Full path to the workspace where this test can build.
BuildTestBase::getWorkspaceDrupalRoot function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Gets the path to Drupal root in the workspace directory.
BuildTestBase::initMink function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Set up the Mink session manager.
BuildTestBase::instantiateServer function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Do the work of making a server process.
BuildTestBase::setUp function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php
BuildTestBase::standUpServer function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Makes a local test server using PHP's internal HTTP server.
BuildTestBase::stopServer function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Stop the HTTP server, zero out all necessary variables.
BuildTestBase::tearDown function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php
BuildTestBase::visit function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Visit a URI on the HTTP server.
BuildTestSuite class core/tests/TestSuites/BuildTestSuite.php Discovers tests for the build test suite.
BuildTestSuite.php file core/tests/TestSuites/BuildTestSuite.php
BuildTestSuite::suite function core/tests/TestSuites/BuildTestSuite.php Factory method which loads up a suite with all build tests.
BuildTestTest class core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php @coversDefaultClass \Drupal\BuildTests\Framework\BuildTestBase
@group Build
BuildTestTest.php file core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php
BuildTestTest::testCopyCodebase function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php @covers ::copyCodebase
BuildTestTest::testCopyCodebaseDocRoot function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php Tests copying codebase when Drupal and Composer roots are different.
BuildTestTest::testCopyCodebaseExclude function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php Ensure we're not copying directories we wish to exclude.
BuildTestTest::testPortMany function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php @covers ::findAvailablePort
BuildTestTest::testStandUpServer function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php @covers ::standUpServer
BuildTestTest::testWorkspace function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php Ensure that workspaces work.
BulkDeleteTest class core/modules/field/tests/src/Kernel/BulkDeleteTest.php Bulk delete storages and fields, and clean up afterwards.
BulkDeleteTest.php file core/modules/field/tests/src/Kernel/BulkDeleteTest.php
BulkDeleteTest::$bundles property core/modules/field/tests/src/Kernel/BulkDeleteTest.php The bundles for the entities used in this test.
BulkDeleteTest::$entities property core/modules/field/tests/src/Kernel/BulkDeleteTest.php The entities to use in this test.
BulkDeleteTest::$entitiesByBundles property core/modules/field/tests/src/Kernel/BulkDeleteTest.php The entities to use in this test, keyed by bundle.
BulkDeleteTest::$entityTypeId property core/modules/field/tests/src/Kernel/BulkDeleteTest.php The entity type to be used in the test classes.
BulkDeleteTest::$fieldStorages property core/modules/field/tests/src/Kernel/BulkDeleteTest.php The fields to use in this test.
BulkDeleteTest::checkHooksInvocations function core/modules/field/tests/src/Kernel/BulkDeleteTest.php Tests that the expected hooks have been invoked on the expected entities.
BulkDeleteTest::setUp function core/modules/field/tests/src/Kernel/BulkDeleteTest.php Set the default field storage backend for fields created during tests.
BulkDeleteTest::testDeleteField function core/modules/field/tests/src/Kernel/BulkDeleteTest.php Tests deleting fields.
BulkDeleteTest::testPurgeField function core/modules/field/tests/src/Kernel/BulkDeleteTest.php Tests purging fields.
BulkDeleteTest::testPurgeFieldStorage function core/modules/field/tests/src/Kernel/BulkDeleteTest.php Tests purging field storages.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.