You are here

protected function TestCoverageTest::getLlamaMessage in JSON:API 8.2

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

File

tests/src/Functional/TestCoverageTest.php, line 96

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";
}