PhpSpreadsheet/tests/PhpSpreadsheetTests/Calculation
oleibman 5d1ab39def
Replace Tests With Unneeded Mocking (#2465)
Replace mock tests with real ones when possible. The original tests are all still present; they just take place in a more representative scenario.

After this, there will be 4 remaining uses of mocking. Of these, 3 are needed for scenarios which are otherwise hard to test - WebServiceTest, CellsTest, and SampleCoverageTest. For the other one, AutoFilterTest, I just can't figure out what it's trying to accomplish, so have left it alone.

This change is almost entirely restricted to tests. There is a one-line change in src. When the first argument passed to OFFSET is null or nullstring, the returned value is currently 0. However, according to the documentation for Excel, it should be `#VALUE!`. The code is changed accordingly.
2021-12-31 13:24:43 -08:00
..
Engine Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Functions Replace Tests With Unneeded Mocking (#2465) 2021-12-31 13:24:43 -08:00
CalculationTest.php Some simplification to the locale file loader 2021-05-20 20:41:09 +02:00
DefinedNameConfusedForCellTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
DefinedNamesCalculationTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
FormulaAsStringTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
FunctionsTest.php isFormula Referencing Sheet With Space in Title (#2306) 2021-10-03 10:04:48 -07:00
IsFormulaTest.php isFormula Referencing Sheet With Space in Title (#2306) 2021-10-03 10:04:48 -07:00
MergedCellTest.php Select the correct TestCase 2021-05-31 13:59:51 +02:00
RowColumnReferenceTest.php Improve Range handling in the Calculation Engine for Row and Column ranges (#2028) 2021-04-27 19:10:37 +02:00
TranslationTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
XlfnFunctionsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00