public function PotxTestCase::testDrupal8BreakpointsYml in Translation template extractor 7.2
Same name and namespace in other branches
- 6.3 tests/potx.test \PotxTestCase::testDrupal8BreakpointsYml()
- 7.3 tests/potx.test \PotxTestCase::testDrupal8BreakpointsYml()
Test parsing of Drupal 8 .breakpoints.yml files.
File
- tests/
potx.test, line 353 - Tests to ensure that the template extractor works as intended.
Class
- PotxTestCase
- @file Tests to ensure that the template extractor works as intended.
Code
public function testDrupal8BreakpointsYml() {
$filename = drupal_get_path('module', 'potx') . '/tests/potx_test_8.breakpoints.yml';
$this
->parseFile($filename, POTX_API_8);
$this
->assertMsgID('Mobile');
$this
->assertMsgID('Standard');
$this
->assertMsgID('Some breakpoint group');
}