You are here

protected function TestCoverageTest::getLlamaMessage in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php \Drupal\Tests\jsonapi\Functional\TestCoverageTest::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 TestCoverageTest::getLlamaMessage()
TestCoverageTest::testEntityTypeRestTestCoverage in core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php
Tests that all core entity types have JSON:API test coverage.

File

core/modules/jsonapi/tests/src/Functional/TestCoverageTest.php, line 102

Class

TestCoverageTest
Checks that all core content/config entity types have JSON:API test coverage.

Namespace

Drupal\Tests\jsonapi\Functional

Code

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