4ad11afa50b0d40c7c55f44c008df857f3ac3115
[yaffs-website] / vendor / phpunit / phpunit / src / Framework / Test.php
1 <?php
2 /*
3  * This file is part of PHPUnit.
4  *
5  * (c) Sebastian Bergmann <sebastian@phpunit.de>
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 /**
12  * A Test can be run and collect its results.
13  *
14  * @since Interface available since Release 2.0.0
15  */
16 interface PHPUnit_Framework_Test extends Countable
17 {
18     /**
19      * Runs a test and collects its result in a TestResult instance.
20      *
21      * @param PHPUnit_Framework_TestResult $result
22      *
23      * @return PHPUnit_Framework_TestResult
24      */
25     public function run(PHPUnit_Framework_TestResult $result = null);
26 }