public function XliffFileLoaderTest::testLoadWithResname in Plug 7
File
- lib/
Symfony/ translation/ Tests/ Loader/ XliffFileLoaderTest.php, line 45
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadWithResname() {
$loader = new XliffFileLoader();
$catalogue = $loader
->load(__DIR__ . '/../fixtures/resname.xlf', 'en', 'domain1');
$this
->assertEquals(array(
'foo' => 'bar',
'bar' => 'baz',
'baz' => 'foo',
), $catalogue
->all('domain1'));
}