namespace Drupal\Tests\rest\Functional

Same name in other branches
  1. 9 Drupal\Tests\rest\Functional
  2. 8.9.x Drupal\Tests\rest\Functional
  3. 11.x Drupal\Tests\rest\Functional
Object name File name Summary
AnonResourceTestTrait core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php Defines a trait for testing with no authentication provider.
BasicAuthResourceTestTrait core/modules/rest/tests/src/Functional/BasicAuthResourceTestTrait.php Trait for ResourceTestBase subclasses testing $auth=basic_auth.
CookieResourceTestTrait core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php Trait for ResourceTestBase subclasses testing $auth=cookie.
FileUploadResourceTestBase core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests binary data file upload route.
GenericTest core/modules/rest/tests/src/Functional/GenericTest.php Generic module test for rest.
ResourceTest core/modules/rest/tests/src/Functional/ResourceTest.php Tests the structure of a REST resource.
ResourceTestBase core/modules/rest/tests/src/Functional/ResourceTestBase.php Subclass this for every REST resource, every format and every auth provider.
XmlNormalizationQuirksTrait core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php Trait for ResourceTestBase subclasses testing $format='xml'.

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