private function tryToProcessParserTestCase($jsonTestCaseFileHandler) { $this->parserTestCaseProcessor->setDebugMode($jsonTestCaseFileHandler->getDebugMode()); foreach ($jsonTestCaseFileHandler->findTestCasesFor('parser-testcases') as $case) { $this->parserTestCaseProcessor->process($case); } }
private function doRunParserTests($jsonTestCaseFileHandler) { $this->parserTestCaseProcessor->setDebugMode($jsonTestCaseFileHandler->getDebugMode()); foreach ($jsonTestCaseFileHandler->findTestCasesByType('parser') as $case) { if ($jsonTestCaseFileHandler->requiredToSkipFor($case, $this->connectorId)) { continue; } $this->parserTestCaseProcessor->process($case); } }