You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
511 B

8 years ago
  1. <?php
  2. namespace FastRoute\Dispatcher;
  3. class MarkBasedTest extends DispatcherTest {
  4. public function setUp() {
  5. preg_match('/(*MARK:A)a/', 'a', $matches);
  6. if (!isset($matches['MARK'])) {
  7. $this->markTestSkipped('PHP 5.6 required for MARK support');
  8. }
  9. }
  10. protected function getDispatcherClass() {
  11. return 'FastRoute\\Dispatcher\\MarkBased';
  12. }
  13. protected function getDataGeneratorClass() {
  14. return 'FastRoute\\DataGenerator\\MarkBased';
  15. }
  16. }