12345678910111213141516171819202122 |
- <?php
- namespace Test\Archive;
- use OC\Archive\TAR;
- class TARTest extends TestBase {
- protected function getExisting() {
- $dir = \OC::$SERVERROOT . '/tests/data';
- return new TAR($dir . '/data.tar.gz');
- }
- protected function getNew() {
- return new TAR(\OC::$server->getTempManager()->getTemporaryFile('.tar.gz'));
- }
- }
|