コード例 #1
0
ファイル: XsdTest.php プロジェクト: pradeep-wagento/magento2
 protected function setUp()
 {
     if (!function_exists('libxml_set_external_entity_loader')) {
         $this->markTestSkipped('Skipped on HHVM. Will be fixed in MAGETWO-45033');
     }
     $this->_schemaLocator = new \Magento\Framework\ObjectManager\Config\SchemaLocator();
     $this->_xsdSchema = $this->_schemaLocator->getSchema();
     $this->_xsdValidator = new \Magento\Framework\TestFramework\Unit\Utility\XsdValidator();
 }
コード例 #2
0
ファイル: XsdTest.php プロジェクト: whoople/magento2-testing
 protected function setUp()
 {
     $this->_schemaLocator = new \Magento\Framework\ObjectManager\Config\SchemaLocator();
     $this->_xsdSchema = $this->_schemaLocator->getSchema();
     $this->_xsdValidator = new \Magento\Framework\TestFramework\Unit\Utility\XsdValidator();
 }