Sheet visibility - ODS writer and reader

This commit is contained in:
Adrien Loison committed 2017-11-11 11:11:47 +01:00
1 parent b9206fcb4b
commit 1c69dee9c9
11 files changed
+145 -19

No files matched your search

+11
View File
@@ -42,6 +42,17 @@ class SheetTest extends \PHPUnit_Framework_TestCase
$this->assertFalse($sheets[1]->isActive());
}
/**
* @return void
*/
public function testReaderShouldReturnCorrectSheetVisibility()
{
$sheets = $this->openFileAndReturnSheets('two_sheets_one_hidden_one_not.ods');
$this->assertFalse($sheets[0]->isVisible());
$this->assertTrue($sheets[1]->isVisible());
}
/**
* @param string $fileName
* @return Sheet[]