Definition at line 14 of file WordsTest.php.
◆ setUpBeforeClass()
static setUpBeforeClass |
( |
| ) |
|
|
static |
Definition at line 21 of file WordsTest.php.
23 self::$_wordsFinder = new \Magento\TestFramework\Inspection\WordsFinder(
24 glob(
__DIR__ .
'/_files/words_*.xml'),
26 new ComponentRegistrar()
defined('TESTS_BP')||define('TESTS_BP' __DIR__
◆ testWords()
- Parameters
-
Definition at line 30 of file WordsTest.php.
32 $invoker = new \Magento\Framework\App\Utility\AggregateInvoker($this);
38 $words = self::$_wordsFinder->findWords(realpath($file));
40 $this->fail(
"Found words: '" . implode(
"', '", $words) .
"' in '{$file}' file");
◆ $_wordsFinder
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/static/testsuite/Magento/Test/Legacy/WordsTest.php