function 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 101

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.