public function XliffFileLoaderTest::testIncompleteResource in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\XliffFileLoaderTest::testIncompleteResource()
File
- vendor/
symfony/ translation/ Tests/ Loader/ XliffFileLoaderTest.php, line 54
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testIncompleteResource() {
$loader = new XliffFileLoader();
$catalogue = $loader
->load(__DIR__ . '/../fixtures/resources.xlf', 'en', 'domain1');
$this
->assertEquals(array(
'foo' => 'bar',
'extra' => 'extra',
'key' => '',
'test' => 'with',
), $catalogue
->all('domain1'));
}