WriterTest.php 920 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * This file is part of the PHPExiftool package.
  4. *
  5. * (c) Alchemy <support@alchemy.fr>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace PHPExiftool\Test\Server;
  11. require_once __DIR__ . '/../AbstractWriterTest.php';
  12. use PHPExiftool\ExiftoolServer;
  13. use PHPExiftool\Test\AbstractWriterTest;
  14. class WriterTest extends AbstractWriterTest
  15. {
  16. protected $exiftool;
  17. public function setUp()
  18. {
  19. $this->markTestSkipped('Currently disable server support');
  20. $this->exiftool = new ExiftoolServer();
  21. $this->exiftool->start();
  22. parent::setUp();
  23. }
  24. public function tearDown()
  25. {
  26. parent::tearDown();
  27. if ($this->exiftool) {
  28. $this->exiftool->stop();
  29. }
  30. }
  31. protected function getExiftool()
  32. {
  33. return $this->exiftool;
  34. }
  35. }