@@ 55-59 (lines=5) @@ | ||
52 | ||
53 | $exampleTables = array(); |
|
54 | ||
55 | foreach ($scenario->getExampleTables() as $exampleTable) { |
|
56 | if ($this->isTagsMatchCondition(array_merge($feature->getTags(), $scenario->getTags(), $exampleTable->getTags()))) { |
|
57 | $exampleTables[] = $exampleTable; |
|
58 | } |
|
59 | } |
|
60 | ||
61 | $scenario = new OutlineNode( |
|
62 | $scenario->getTitle(), |
|
@@ 110-114 (lines=5) @@ | ||
107 | public function isScenarioMatch(FeatureNode $feature, ScenarioInterface $scenario) |
|
108 | { |
|
109 | if ($scenario instanceof OutlineNode && $scenario->hasExamples()) { |
|
110 | foreach ($scenario->getExampleTables() as $example) { |
|
111 | if ($this->isTagsMatchCondition(array_merge($feature->getTags(), $scenario->getTags(), $example->getTags()))) { |
|
112 | return true; |
|
113 | } |
|
114 | } |
|
115 | ||
116 | return false; |
|
117 | } |