You are here

namespace Drupal\Tests\rest\Functional\EntityResource in Drupal 8

Same name in other branches
  1. 9 Drupal\Tests\rest\Functional\EntityResource
  2. 10 Drupal\Tests\rest\Functional\EntityResource
Classsort descending Location Description
EntityResourceRestTestCoverageTest core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php Checks that all core content/config entity types have REST test coverage.
EntityResourceTestBase core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Even though there is the generic EntityResource, it's necessary for every entity type to have its own test, because they each have different fields, validation constraints, et cetera. It's not because the generic case works, that every case…
FormatSpecificGetBcRouteTestTrait core/modules/rest/tests/src/Functional/EntityResource/FormatSpecificGetBcRouteTestTrait.php Provides test methods to assert BC on format-specific GET routes.
XmlEntityNormalizationQuirksTrait core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php Trait for EntityResourceTestBase subclasses testing $format='xml'.