|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| generateAndCompareTest ($testName) | |
| validateSchemaErrorWithTest ($fileContents, $objectType, $expectedError) | |
Data Fields | |
| const | RESOURCES_PATH |
Definition at line 13 of file MftfTestCase.php.
| generateAndCompareTest | ( | $testName | ) |
Private function which takes a test name, generates the test and compares with a correspondingly named txt file with expected contents.
| string | $testName |
Definition at line 29 of file MftfTestCase.php.
| validateSchemaErrorWithTest | ( | $fileContents, | |
| $objectType, | |||
| $expectedError | |||
| ) |
Private function which attempts to generate tests given an invalid shcema of a various type
| string[] | $fileContents | |
| string | $objectType | |
| string | $expectedError |
Definition at line 56 of file MftfTestCase.php.
| const RESOURCES_PATH |
Definition at line 15 of file MftfTestCase.php.