Commit Graph

308 Commits

Author SHA1 Message Date
MarkBaker 91573b5c93 Split PHPToExcel logic for different input types 2016-08-14 22:36:30 +01:00
MarkBaker aa97bb3e45 Merge branch 'develop' into feature/gh-7
# Conflicts:
#	tests/PhpSpreadsheet/Shared/DateTest.php
2016-08-14 15:41:50 +01:00
MarkBaker f0e167c182 Unit tests for modified Date functions 2016-08-14 15:35:43 +01:00
Adrien Crivelli ea513d9c1b
Autofix style code with phpcs 2016-08-14 13:55:34 +09:00
Adrien Crivelli c981efe272
Mark failing tests as incomplete
This is a temporary fix to have a clear view of what is working or not
and to prevent breaking even more tests. Incomplete tests will be fixed
in the comming days/weeks.
2016-08-14 13:32:43 +09:00
Adrien Crivelli d49a573f58
Use `::class` notation instead of string for class names in unit tests 2016-08-14 13:08:43 +09:00
MarkBaker 850594c4d2 Merge branch 'develop' into feature/gh-7
# Conflicts:
#	tests/PhpSpreadsheet/Shared/DateTest.php
#	tests/rawTestData/Shared/DateTimeExcelToPHP1900.data
#	tests/rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data
#	tests/rawTestData/Shared/DateTimeExcelToPHP1904.data
#	unitTests/rawTestData/Shared/DateTimeExcelToPHP1900.data
#	unitTests/rawTestData/Shared/DateTimeExcelToPHP1904.data
#	unitTests/rawTestData/Shared/DateTimeExcelToTimestamp1900.data
#	unitTests/rawTestData/Shared/DateTimeExcelToTimestamp1904.data
2016-08-14 02:07:10 +01:00
Adrien Crivelli 00657c906e
Reorganize unit tests
All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace
which is autoloaded via composer mechanism. So there is no need for
`require()` anymore.

Also, tests were moved in `tests/` folder and phpunit should be executed from
the project root folder. This is to conform to the de facto standard, notably
in use in phpunit itself.
2016-08-14 02:29:33 +09:00