Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Tester / Result / TestResult.php
1 <?php
2
3 /*
4  * This file is part of the Behat Testwork.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Testwork\Tester\Result;
12
13 /**
14  * Represents a test result.
15  *
16  * @author Konstantin Kudryashov <ever.zet@gmail.com>
17  */
18 interface TestResult
19 {
20     const PASSED = 0;
21     const SKIPPED = 10;
22     const PENDING = 20;
23     const FAILED = 99;
24
25     /**
26      * Checks that test has passed.
27      *
28      * @return Boolean
29      */
30     public function isPassed();
31
32     /**
33      * Returns tester result code.
34      *
35      * @return integer
36      */
37     public function getResultCode();
38 }