X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FEventDispatcher%2FEvent%2FAfterFeatureTested.php;fp=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FEventDispatcher%2FEvent%2FAfterFeatureTested.php;h=0000000000000000000000000000000000000000;hp=ed19128d570d6574c669ebfc633d8e4439d9dfeb;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Event/AfterFeatureTested.php b/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Event/AfterFeatureTested.php deleted file mode 100644 index ed19128d5..000000000 --- a/vendor/behat/behat/src/Behat/Behat/EventDispatcher/Event/AfterFeatureTested.php +++ /dev/null @@ -1,85 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Behat\Behat\EventDispatcher\Event; - -use Behat\Gherkin\Node\FeatureNode; -use Behat\Testwork\Environment\Environment; -use Behat\Testwork\EventDispatcher\Event\AfterTested; -use Behat\Testwork\Tester\Result\TestResult; -use Behat\Testwork\Tester\Setup\Teardown; - -/** - * Represents an event right after feature was tested. - * - * @author Konstantin Kudryashov - */ -final class AfterFeatureTested extends FeatureTested implements AfterTested -{ - /** - * @var FeatureNode - */ - private $feature; - /** - * @var TestResult - */ - private $result; - /** - * @var Teardown - */ - private $teardown; - - /** - * Initializes event. - * - * @param Environment $env - * @param FeatureNode $feature - * @param TestResult $result - * @param Teardown $teardown - */ - public function __construct(Environment $env, FeatureNode $feature, TestResult $result, Teardown $teardown) - { - parent::__construct($env); - - $this->feature = $feature; - $this->result = $result; - $this->teardown = $teardown; - } - - /** - * Returns feature. - * - * @return FeatureNode - */ - public function getFeature() - { - return $this->feature; - } - - /** - * Returns current test result. - * - * @return TestResult - */ - public function getTestResult() - { - return $this->result; - } - - /** - * Returns current test teardown. - * - * @return Teardown - */ - public function getTeardown() - { - return $this->teardown; - } -}