Search for testMethod

  1. Search 7.x for testMethod
  2. Search 8.9.x for testMethod
  3. Search 10.3.x for testMethod
  4. Search 11.x for testMethod
  5. Other projects
Title Object type File name Summary
AssertHelperTestClass::testMethod function core/tests/fixtures/AssertHelperTestClass.php
BrowserHtmlDebugTrait::getTestMethodCaller function core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Retrieves the current calling line in the class under test.
BrowserTestBase::getTestMethodCaller function core/tests/Drupal/Tests/BrowserTestBase.php Retrieves the current calling line in the class under test.
BrowserTestBaseTest::testMethodRequiresModule function core/tests/Drupal/KernelTests/Core/Test/BrowserTestBaseTest.php Tests that a test method is skipped when it requires a module not present.
ExternalCommandRequirementTest::testMethodRequiresAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @covers ::checkMethodCommandRequirements
ExternalCommandRequirementTest::testMethodRequiresUnavailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @covers ::checkMethodCommandRequirements
GetTestMethodCallerExtendsTest class core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php Test for BrowserTestBase::getTestMethodCaller() in child classes.
GetTestMethodCallerExtendsTest.php file core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php
GetTestMethodCallerExtendsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php The theme to install as the default for testing.
GetTestMethodCallerExtendsTest::testGetTestMethodCallerChildClass function core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php A test method that is not present in the parent class.
GetTestMethodCallerTest class core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php Explicit test for BrowserTestBase::getTestMethodCaller().
GetTestMethodCallerTest.php file core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php
GetTestMethodCallerTest::$defaultTheme property core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php The theme to install as the default for testing.
GetTestMethodCallerTest::testGetTestMethodCaller function core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php Tests BrowserTestBase::getTestMethodCaller().
KernelTestBaseTest::testMethodRequiresModule function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that a test method is skipped when it requires a module not present.
MediaLibraryStateTest::testMethods function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the media library state methods.
MethodFilterTest::testMethodNotAllowedException function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MethodFilterTest::testMethodNotAllowedExceptionWithMultipleRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
SomeClass::testMethod function core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php
TestController::testMethod function core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php Helper page to load jQuery in test.
TestController::testMethod function core/modules/system/tests/modules/csrf_test/src/Controller/TestController.php Just a test method for the test routes.
TestInterface::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithInterface::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithPublicStaticMethod::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php

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