You are here

protected function EntityResourceRestTestCoverageTest::getLlamaMessage in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php \Drupal\Tests\rest\Functional\EntityResource\EntityResourceRestTestCoverageTest::getLlamaMessage()

Message from Llama.

Parameters

int $g: A count of entities with test coverage.

int $a: A count of all entities.

Return value

string An information about progress of REST test coverage.

1 call to EntityResourceRestTestCoverageTest::getLlamaMessage()
EntityResourceRestTestCoverageTest::testEntityTypeRestTestCoverage in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php
Tests that all core content/config entity types have REST test coverage.

File

core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php, line 131

Class

EntityResourceRestTestCoverageTest
Checks that all core content/config entity types have REST test coverage.

Namespace

Drupal\Tests\rest\Functional\EntityResource

Code

protected function getLlamaMessage($g, $a) {
  return "\n☼\n      ________________________\n     /           Hi!          \\\n    |  It's llame to not have  |\n    |   complete REST tests!   |\n    |                          |\n    |     Progress: {$g}/{$a}.     |\n    | ________________________/\n    |/\n//  o\nl'>\nll\nllama\n|| ||\n'' ''\n";
}