/** * @param atoum\annotations\extractor $extractor * * @return $this|void */ protected function setClassAnnotations(atoum\annotations\extractor $extractor) { parent::setClassAnnotations($extractor); $test = $this; $extractor->setHandler('resetKernel', function ($value) use($test) { $test->enableKernelReset(atoum\annotations\extractor::toBoolean($value)); })->setHandler('noResetKernel', function () use($test) { $test->enableKernelReset(false); }); }
protected function setClassAnnotations(annotations\extractor $extractor) { parent::setClassAnnotations($extractor); $test = $this; $extractor->setHandler('runTestsInSeparateProcesses', function () use($test, &$methodName) { $test->setMethodEngine($methodName, 'isolate'); }); return $this; }