Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. 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
UrlConversionTest::testModuleDriverDoesNotExist function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php @covers ::convertDbUrlToConnectionInfo[[api-linebreak]]
UrlEncodeTest class core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php @coversDefaultClass \Drupal\migrate\Plugin\migrate\process\UrlEncode[[api-linebreak]]
@group file
UrlEncodeTest.php file core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php
UrlEncodeTest::$migrationConfiguration property core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php An array of migration configuration values.
UrlEncodeTest::doTransform function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php Perform the urlencode process plugin over the given value.
UrlEncodeTest::testUrls function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php Cover various encoding scenarios.
@dataProvider urlDataProvider
UrlEncodeTest::urlDataProvider function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php The data provider for testing URL encoding scenarios.
UrlGeneratorTest class core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirm that the UrlGenerator is functioning properly.
UrlGeneratorTest.php file core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UrlGeneratorTest::$aliasManager property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The alias manager.
UrlGeneratorTest::$context property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The request context.
UrlGeneratorTest::$generator property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The url generator to test.
UrlGeneratorTest::$processorManager property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The path processor.
UrlGeneratorTest::$provider property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The route provider.
UrlGeneratorTest::$requestStack property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The request stack.
UrlGeneratorTest::$routeProcessorManager property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The mock route processor manager.
UrlGeneratorTest::aliasManagerCallback function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Return value callback for the getAliasByPath() method on the mock alias
manager.
UrlGeneratorTest::assertGenerateFromRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output.
UrlGeneratorTest::providerTestAliasGenerationWithOptions function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Provides test data for testAliasGenerationWithOptions.
UrlGeneratorTest::providerTestNoPath function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Data provider for ::testNoPath().
UrlGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UrlGeneratorTest::testAbsoluteURLGeneration function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that absolute URLs work with generated routes.
UrlGeneratorTest::testAbsoluteURLGenerationUsingInterfaceConstants function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that absolute URLs work with generated routes using interface constants.
UrlGeneratorTest::testAliasGeneration function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that generated routes will have aliased paths.
UrlGeneratorTest::testAliasGenerationUsingInterfaceConstants function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that generated routes will have aliased paths using interface constants.
UrlGeneratorTest::testAliasGenerationWithOptions function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that generated routes will have aliased paths with options.
UrlGeneratorTest::testAliasGenerationWithParameters function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that generated routes will have aliased paths.
UrlGeneratorTest::testBaseURLGeneration function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that explicitly setting the base_url works with generated routes
UrlGeneratorTest::testGenerateWithPathProcessorChangingQueryParameter function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers \Drupal\Core\Routing\UrlGenerator::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testGetPathFromRouteTrailing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation from route with trailing start and end slashes.
UrlGeneratorTest::testGetPathFromRouteWithSubdirectory function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation in a subdirectory.
UrlGeneratorTest::testNoPath function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests generating a relative URL with no path.
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithHttpsRequirement function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Test that the 'scheme' route requirement is respected during url generation.
UrlGeneratorTraitTest class core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTraitTest.php @coversDefaultClass \Drupal\Core\Routing\UrlGeneratorTrait[[api-linebreak]]
@group Routing
@group legacy
UrlGeneratorTraitTest.php file core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTraitTest.php
UrlGeneratorTraitTest::testGetUrlGenerator function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTraitTest.php @covers ::setUrlGenerator[[api-linebreak]]
@covers ::getUrlGenerator[[api-linebreak]]
UrlGeneratorTraitTest::testRedirect function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTraitTest.php @covers ::redirect[[api-linebreak]]
UrlGeneratorTraitTest::testUrl function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTraitTest.php @covers ::url[[api-linebreak]]
UrlHelperTest class core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @group Utility
UrlHelperTest.php file core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
UrlHelperTest::dataEnhanceWithPrefix function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Enhances test urls with prefixes.
UrlHelperTest::dataEnhanceWithScheme function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Enhances test urls with schemes
UrlHelperTest::providerTestBuildQuery function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides test data for testBuildQuery().
UrlHelperTest::providerTestEncodePath function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testEncodePath().
UrlHelperTest::providerTestExternalIsLocal function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provider for local external url detection.
UrlHelperTest::providerTestExternalIsLocalInvalid function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides invalid argument data for local external url detection.
UrlHelperTest::providerTestFilterBadProtocol function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testTestFilterBadProtocol().

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