Mark Baker
9ecfc0c8b4
Merge pull request #10 from PowerKiKi/unit-tests-bessel
...
Fix unit tests for BESSEL functions
2016-08-13 11:40:19 +01:00
Mark Baker
408c1a9218
Merge pull request #11 from PowerKiKi/unit-tests-imexp
...
Fix unit tests for IMEXP() function
2016-08-13 11:40:11 +01:00
Mark Baker
98ccf97e55
Merge pull request #12 from PowerKiKi/unit-tests-base-conversion
...
Fix unit tests for all base conversion functions
2016-08-13 11:40:02 +01:00
Adrien Crivelli
af42b80eba
Fix unit tests for ACCRINT() function
...
The expected value were incorrect according to LibreOffice 5 and
Google Spreadsheet.
2016-08-07 20:54:30 +09:00
Adrien Crivelli
8fc29bd1b1
Fix unit tests for all base conversion functions
...
This include cases were artificial constraints were not checked
(eg: between -512 and 511 for `DECBIN`) and some bugs were 32
bits platform were assumed.
The following are covered:
`BIN2DEC`, `BIN2HEX`, `BIN2OCT`,
`DEC2BIN`, `DEC2HEX`, `DEC2OCT`,
`HEX2BIN`, `HEX2DEC`, `HEX2OCT`,
`OCT2BIN`, `OCT2DEC`, `OCT2HEX`
2016-08-01 02:48:51 +09:00
Adrien Crivelli
450c6ead99
Fix unit tests for IMEXP() function
...
The expected value were incorrect according to LibreOffice 5 and
wolframalpha.com.
2016-07-31 23:24:08 +09:00
Adrien Crivelli
3a38cc8f0a
Fix unit tests for BESSEL functions
...
Expected data were re-written by using LibreOffice 5 as a reference.
We kept only 8 decimals, because this is the precision used in tests,
and it's easier to read without scientific notation.
Also a few expected values were wrong so they were changed. The correct
expected values were confirmed by both LibreOffice 5 and wolframalpha.com.
Finally fixed an actual bug in code were a NaN value were returned instead of
the correct `#NUM!`.
2016-07-31 23:11:54 +09:00
MarkBaker
1702d95333
Fix for XML settings, together with unit tests
2016-06-05 17:03:42 +01:00
Progi1984
36a9068b38
#401 : PHPUnit Fixes (Calculation > LookupRef)
2016-05-20 08:41:09 +02:00
Progi1984
248bdbf841
#401 : PHPUnit Fixes (Calculation > Engineering)
2016-05-19 12:31:40 +02:00
Progi1984
98f7d4bf08
#401 : PHPUnit Fixes (Calculation > DateTime)
2016-05-19 08:49:09 +02:00
Progi1984
259ce457f3
#401 : PHPCS Fixes & Some PHPUnit Fixes
2016-05-18 13:37:00 +02:00
Progi1984
dffeb25a5f
#401 : PHPCS Fixes
2016-05-18 09:02:39 +02:00
Progi1984
05643d16d5
#401 : PHPCS (Calculation\MathTrig & Logical)
2016-05-14 18:22:59 +02:00
Progi1984
12590bbf1e
#401 : PHPCS (Calculation\Functions)
2016-05-14 10:29:38 +02:00
Progi1984
2fed2de62d
#401 : Fix for PHPCS
2016-05-13 22:06:18 +02:00
Progi1984
727ab1ef34
#401 : Support for namespaces
2016-03-22 22:40:11 +01:00
Progi1984
04cceaae2b
#401 : Support for namespaces (Fix PHPUnit)
2016-03-22 22:26:17 +01:00
Progi1984
c5b352169c
#401 : Support for namespaces
2016-03-22 22:20:22 +01:00
Progi1984
218a062e0b
#401 : Support for namespaces
2016-03-22 21:47:23 +01:00
Progi1984
eff6074100
#401 : Support for namespaces
2016-03-22 21:46:14 +01:00
Progi1984
54ae9901f5
#401 : Support for namespaces
2016-03-22 16:11:05 +01:00
Progi1984
95e6c5e264
#401 : Support for namespaces
2016-03-22 15:35:50 +01:00
Progi1984
73ac0aee35
Fix some errors with samples
2016-03-22 15:19:00 +01:00
MarkBaker
d7ef6810a4
Improved masking for number format handling, particularly for datetime masks
2015-08-01 00:39:10 +01:00
MarkBaker
54d2f72a0a
More namespacing work
2015-05-30 12:25:17 +01:00
MarkBaker
0dafaea059
Work on rewriting unit tests for the new folder structure (calling bootstrap) and json input files
2015-05-29 21:35:35 +01:00
MarkBaker
93d16b886f
Start changing some unit tests to use a json provider rather than the current excessively complex csv provider
2015-05-28 23:15:46 +01:00
MarkBaker
53584ec9a3
Unit tests for Cell classes, modification to use json-format in raw data provider
2015-05-28 08:29:44 +01:00
MarkBaker
85118eb030
Changes to folder structures to bring PHPExcel in line with other PHPOffice projects
...
Additional namespacing work on PHPExcel core
2015-05-26 21:21:05 +01:00
MarkBaker
538fe93105
More namespacing work and soem initial rework for unit tests to handle new folder structure
2015-05-26 09:37:07 +01:00
MarkBaker
44f049a0a5
Fix to short array reference in tests for PHP < 5.4
2015-05-22 23:57:51 +01:00
MarkBaker
0c177b5ea2
We modified another block of files to psr-2, and their jaws dropped when they saw what happened next
2015-05-20 19:17:17 +01:00
Progi1984
004d411772
PSR2 Fixes
2015-05-17 19:33:14 +02:00
Progi1984
004936e35a
PSR2 Fixes
2015-05-17 19:26:34 +02:00
Progi1984
b6bc0db105
PSR2 Fixes
2015-05-17 18:34:30 +02:00
Progi1984
576effef30
PSR2 Fixes
2015-05-17 18:10:35 +02:00
Progi1984
09352e3e80
PSR2 Fixes
2015-05-17 15:00:02 +02:00
MarkBaker
bc7028ae4e
Modified XEE security scan to handle UTF-16 charset, and added unit tests for the security scan
2015-04-29 22:23:14 +01:00
MarkBaker
72f3a3b6f4
Fix unit test for iterator
2015-04-27 23:07:30 +01:00
MarkBaker
f317842e2b
Unit tests for row and column iterators
2015-04-27 22:47:47 +01:00
MarkBaker
ceddc13f82
Implement a ColumnIterator, refactoring of RowIterator
...
Currently this disables the setIterateOnlyExistingCells option
TODO Re-Implement setIterateOnlyExistingCells logic with the new structure
TODO Rationalise and abstract common methods in the iterator classes
2015-04-26 13:00:58 +01:00
MarkBaker
f96d9cedba
Added RowIterator support for end row, and throws exceptions for invalid arguments
2015-04-25 21:49:30 +01:00
MarkBaker
61f5baac4a
GH-543 - Datetime at DefaultValueBinder
...
Personally, I don't call it a bug if people pass invalid arguments and it complains with an exception; but I've made some basic changes to support DateTime objects and objects with a __toString() method... Any other objects will throw a catchable fatal error, and it's up to user code to implement any exception handler to convert it to an exception and handle it
2015-04-16 01:09:29 +01:00
MarkBaker
d9cda3f287
Unit tests for default value binder
2015-03-27 21:28:26 +00:00
MarkBaker
71dba49fff
Improvements to array arithmetic (MMULT)
...
Better setup of calculation function tests to ensure consistent environment
2015-01-23 23:44:32 +00:00
MarkBaker
b3c5e98022
I shouldn't modify compatibility mode in calculation tests without resetting it
...
TODO - should include setting/resetting this in all setup/teardown
2015-01-23 17:06:30 +00:00
MarkBaker
976e7f064a
Excel TRIM function only trims spaces, not tabs or other spacing characters
2015-01-23 16:49:20 +00:00
MarkBaker
fb18b7b598
Fix to complex number format signing when mask has a decimal
2015-01-23 16:09:36 +00:00
MarkBaker
d778b41524
Fix to negative number handling with complex number format masks, so that the sign only appears once
2015-01-23 15:40:54 +00:00