PhpSpreadsheet/tests/PhpSpreadsheetTests/Reader
oleibman 735103c120
Improve Coverage for ODS Reader (#1545)
* Improve Coverage for ODS Reader

Reader/ODS/Properties is now 100% covered.
Reader/ODS is covered except for 1 statement. As the original author
put it, "table-header-rows TODO: figure this out ... I'm not sure that
PhpExcel has an API for this". I'm still thinking about it, but, so far,
I agree with the author.

There are minimal code changes.
- Several places test !zip->open() to see whether the test failed.
  However, zip->open() returns true or a string, so the test never
  detects failure. Change to zip->open() !== true. No previous tests.
- Suppress warning messages from simplexml_load_string (there had
  been no tests for invalid xml).
- One document property was misnamed, and one non-existent property
  was tested for.

I added a number of tests, creating an ODS directory, and moving
OdsTest to that directory.

* Scrutinizer Recommendation

Unused variable in one test.

* Update CHANGELOG

Co-authored-by: Adrien Crivelli <adrien.crivelli@gmail.com>
2020-07-26 12:40:49 +09:00
..
Gnumeric Stricter visibility 2020-07-19 12:30:31 +09:00
Ods Improve Coverage for ODS Reader (#1545) 2020-07-26 12:40:49 +09:00
Security Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
Xls Stricter visibility 2020-07-19 12:30:31 +09:00
Xlsx Stricter visibility 2020-07-19 12:30:31 +09:00
Xml Stricter visibility 2020-07-19 12:30:31 +09:00
CondNumFmtTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
CsvContiguousFilter.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
CsvContiguousTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
CsvTest.php Improve Coverage for Sylk (#1514) 2020-06-19 20:35:44 +02:00
HtmlTest.php Borders are complete even on rowspanned columns using HTML reader 2020-07-19 14:04:53 +09:00
OddColumnReadFilter.php Fix column names if read filter calls in XLSX reader skip columns 2018-12-10 20:00:26 +11:00
SlkTest.php Improve Coverage for Sylk (#1514) 2020-06-19 20:35:44 +02:00
XlsTest.php Fix for #1505 (#1525) 2020-06-19 21:01:18 +02:00
Xlsx2Test.php Testing - Delete Temp Files When No Longer Needed (#1488) 2020-05-24 20:03:07 +09:00
XlsxTest.php Testing - Delete Temp Files When No Longer Needed (#1488) 2020-05-24 20:03:07 +09:00
XmlTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00