Lines Matching refs:registry
11 private $registry; variable in dokuwiki\\test\\Parsing\\ModeRegistryTest
17 $this->registry = ModeRegistry::getInstance();
58 $this->assertSame($PARSER_MODES, $this->registry->getCategories());
63 $modes = $this->registry->getModesForCategories([ModeRegistry::CATEGORY_CONTAINER]);
72 $modes = $this->registry->getModesForCategories([
82 $modes = $this->registry->getModesForCategories([
94 $modes = $this->registry->getModesForCategories(['nonexistent']);
101 $this->registry->registerMode(ModeRegistry::CATEGORY_CONTAINER, 'testmode');
105 $this->registry->getModesForCategories([ModeRegistry::CATEGORY_CONTAINER])
113 $modes = $this->registry->getModesForCategories([ModeRegistry::CATEGORY_FORMATTING]);
119 $modes = $this->registry->getModes();
130 $modes = $this->registry->getModes();
143 $modes = $this->registry->getModes();
165 $this->assertSame([], $this->registry->getBlockEolModes());
170 $this->registry->registerBlockEolMode('listblock');
171 $this->registry->registerBlockEolMode('table');
172 $this->assertSame(['listblock', 'table'], $this->registry->getBlockEolModes());
177 $this->assertSame([], $this->registry->getLineStartMarkers());
182 $this->registry->registerLineStartMarkers('listblock', ['\\*', '\\-']);
183 $markers = $this->registry->getLineStartMarkers();
190 $this->registry->registerLineStartMarkers('mode_a', ['\\*', '\\-']);
191 $this->registry->registerLineStartMarkers('mode_b', ['\\-', '\\+']);
192 $markers = $this->registry->getLineStartMarkers();
201 $this->registry->registerBlockEolMode('listblock');