namespace Drupal\Tests\rest\Functional
Same name in other branches
Object name | File name | Summary |
---|---|---|
AnonResourceTestTrait | core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php | Trait for ResourceTestBase subclasses testing $auth=NULL, i.e. authless/anon. |
BasicAuthResourceTestTrait | core/modules/rest/tests/src/Functional/BasicAuthResourceTestTrait.php | Trait for ResourceTestBase subclasses testing $auth=basic_auth. |
BcTimestampNormalizerUnixTestTrait | core/modules/rest/tests/src/Functional/BcTimestampNormalizerUnixTestTrait.php | Trait for ResourceTestBase subclasses formatting expected timestamp data. |
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. |
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.