Definition at line 13 of file ConverterTest.php.
◆ getComponentNameDataProvider()
getComponentNameDataProvider |
( |
| ) |
|
◆ setUp()
Definition at line 25 of file ConverterTest.php.
29 $this->fixturePath = realpath(
__DIR__ .
'/../_files/view/ui_component');
defined('TESTS_BP')||define('TESTS_BP' __DIR__
static getObjectManager()
◆ testConvert()
testConvert |
( |
|
$componentName | ) |
|
- Parameters
-
- Returns
- void @dataProvider getComponentNameDataProvider
Definition at line 37 of file ConverterTest.php.
39 $expectedResult = $this->getExpectedResult($componentName);
41 $fixtureFiles = $this->getFixtureFiles($componentName);
42 foreach ($fixtureFiles as $filePath => $fileContent) {
43 $dom = new \DOMDocument();
44 $dom->loadXML($fileContent);
45 $actualResult = $this->converter->convert($dom);
54 "Wrong '{$this->getTypeByPath($filePath)}' configuration for '{$componentName}' Ui Component" . PHP_EOL
const DATA_ATTRIBUTES_KEY
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Ui/Config/ConverterTest.php