public function PotxTest::testDrupal8BreakpointsYml in Translation template extractor 8
Test parsing of Drupal 8 .breakpoints.yml files.
File
- tests/
src/ Kernel/ PotxTest.php, line 485
Class
- PotxTest
- Ensure that the translation template extractor functions properly.
Namespace
Drupal\Tests\potx\KernelCode
public function testDrupal8BreakpointsYml() {
$filename = $this->tests_root . '/potx_test_8.breakpoints.yml';
$this
->parseFile($filename, POTX_API_8);
$this
->assertMsgId('Mobile');
$this
->assertMsgId('Standard');
$this
->assertMsgId('Some breakpoint group');
$this
->assertPotxErrors([]);
}