/
Test.php
61 lines (57 loc) · 1.86 KB
/
Test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* PHP Version 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category Testing
* @package PHPUnit2
* @author Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* @version CVS: $Id: Test.php 539 2006-02-13 16:08:42Z sb $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 2.0.0
*/
/**
* A Test can be run and collect its results.
*
* @category Testing
* @package PHPUnit2
* @author Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* @version Release: @package_version@
* @link http://pear.php.net/package/PHPUnit2
* @since Interface available since Release 2.0.0
*/
interface PHPUnit2_Framework_Test {
/**
* Counts the number of test cases that will be run by this test.
*
* @return integer
* @access public
*/
public function countTestCases();
/**
* Runs a test and collects its result in a TestResult instance.
*
* @param PHPUnit2_Framework_TestResult $result
* @return PHPUnit2_Framework_TestResult
* @access public
*/
public function run($result = NULL);
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* c-hanging-comment-ender-p: nil
* End:
*/
?>