You are here

public function QtFileLoaderTest::testLoadInvalidResource in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/Loader/QtFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\QtFileLoaderTest::testLoadInvalidResource()

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

File

vendor/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');
}