Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function testReadOleStreams() |
||
11 | { |
||
12 | $dataDir = './data/Shared/OLERead/'; |
||
13 | $ole = new OLERead(); |
||
14 | $ole->read('./data/Reader/XLS/sample.xls'); |
||
15 | self::assertEquals( |
||
16 | file_get_contents($dataDir . 'wrkbook'), |
||
17 | $ole->getStream($ole->wrkbook) |
||
18 | ); |
||
19 | self::assertEquals( |
||
20 | file_get_contents($dataDir . 'summary'), |
||
21 | $ole->getStream($ole->summaryInformation) |
||
22 | ); |
||
23 | self::assertEquals( |
||
24 | file_get_contents($dataDir . 'document'), |
||
25 | $ole->getStream($ole->documentSummaryInformation) |
||
26 | ); |
||
29 |