| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function testConvertType() |
||
| 23 | { |
||
| 24 | $this->assertSame('Csv', $this->compatibilityHelper->convertType('CSV')); |
||
| 25 | $this->assertSame('Xml', $this->compatibilityHelper->convertType('Excel2003XML')); |
||
| 26 | $this->assertSame('Xlsx', $this->compatibilityHelper->convertType('Excel2007')); |
||
| 27 | $this->assertSame('Xls', $this->compatibilityHelper->convertType('Excel5')); |
||
| 28 | $this->assertSame('Html', $this->compatibilityHelper->convertType('HTML')); |
||
| 29 | $this->assertSame('Ods', $this->compatibilityHelper->convertType('OOCalc')); |
||
| 30 | $this->assertSame('Ods', $this->compatibilityHelper->convertType('OpenDocument')); |
||
| 31 | $this->assertSame('Pdf', $this->compatibilityHelper->convertType('PDF')); |
||
| 32 | $this->assertSame('Slk', $this->compatibilityHelper->convertType('SYLK')); |
||
| 33 | $this->assertSame('UnListed', $this->compatibilityHelper->convertType('UnListed')); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |