You are here

public function QtFileLoaderTest::testLoadInvalidResource in Plug 7

@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException

File

lib/Symfony/translation/Tests/Loader/QtFileLoaderTest.php, line 53

Class

QtFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadInvalidResource() {
  $loader = new QtFileLoader();
  $resource = __DIR__ . '/../fixtures/invalid-xml-resources.xlf';
  $loader
    ->load($resource, 'en', 'domain1');
}