You are here

public function QtFileLoaderTest::testLoadNonLocalResource in Zircon Profile 8

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

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

File

vendor/symfony/translation/Tests/Loader/QtFileLoaderTest.php, line 43

Class

QtFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadNonLocalResource() {
  $loader = new QtFileLoader();
  $resource = 'http://domain1.com/resources.ts';
  $loader
    ->load($resource, 'en', 'domain1');
}