public function testFormatNotSupportedAfterDisablingAllMethods() { $this->setExpectedException('Distill\\Exception\\IO\\Input\\FileFormatNotSupportedException'); $target = $this->getTemporaryPath(); $this->clearTemporaryPath(); $this->distill->disableMethod(Cabextract::getName()); $this->distill->disableMethod(Gcab::getName()); $this->distill->disableMethod(x7zip::getName()); $result = $this->distill->extract($this->filesPath . 'file_ok.cab', $target, new Format\Cab()); $this->clearTemporaryPath(); }
/** * {@inheritdoc} */ public static function getUncompressionMethods() { return [Method\Command\GnuTar::getName(), Method\Command\x7zip::getName(), Method\Extension\PharData::getName(), Method\Extension\Pear\ArchiveTar::getName()]; }
/** * {@inheritdoc} */ public static function getUncompressionMethods() { return [Method\Command\Unzip::getName(), Method\Command\x7zip::getName(), Method\Extension\Zip::getName()]; }