1 | <?php |
||
9 | class CalculationTest extends PHPUnit_Framework_TestCase |
||
10 | { |
||
11 | public function setUp() |
||
15 | |||
16 | public function tearDown() |
||
21 | |||
22 | /** |
||
23 | * @dataProvider providerBinaryComparisonOperation |
||
24 | * |
||
25 | * @param mixed $formula |
||
26 | * @param mixed $expectedResultExcel |
||
27 | * @param mixed $expectedResultOpenOffice |
||
28 | */ |
||
29 | public function testBinaryComparisonOperation($formula, $expectedResultExcel, $expectedResultOpenOffice) |
||
39 | |||
40 | public function providerBinaryComparisonOperation() |
||
44 | |||
45 | /** |
||
46 | * @dataProvider providerGetFunctions |
||
47 | * |
||
48 | * @param string $category |
||
49 | * @param array|string $functionCall |
||
50 | * @param string $argumentCount |
||
51 | */ |
||
52 | public function testGetFunctions($category, $functionCall, $argumentCount) |
||
56 | |||
57 | public function providerGetFunctions() |
||
61 | |||
62 | public function testIsImplemented() |
||
70 | |||
71 | /** |
||
72 | * @dataProvider providerCanLoadAllSupportedLocales |
||
73 | * |
||
74 | * @param string $locale |
||
75 | */ |
||
76 | public function testCanLoadAllSupportedLocales($locale) |
||
81 | |||
82 | public function providerCanLoadAllSupportedLocales() |
||
105 | } |
||
106 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.