ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
MarkBasedTest.php
Go to the documentation of this file.
1<?php
2
4
6{
7 public function setUp()
8 {
9 preg_match('/(*MARK:A)a/', 'a', $matches);
10 if (!isset($matches['MARK'])) {
11 $this->markTestSkipped('PHP 5.6 required for MARK support');
12 }
13 }
14
15 protected function getDispatcherClass()
16 {
17 return 'FastRoute\\Dispatcher\\MarkBased';
18 }
19
20 protected function getDataGeneratorClass()
21 {
22 return 'FastRoute\\DataGenerator\\MarkBased';
23 }
24}
An exception for terminatinating execution or to throw for unit testing.
getDataGeneratorClass()
Delegate dataGenerator selection to child test classes.
getDispatcherClass()
Delegate dispatcher selection to child test classes.