diff --git a/tests/data/testimage.heic b/tests/data/testimage.heic new file mode 100644 index 00000000000..56612f5a271 Binary files /dev/null and b/tests/data/testimage.heic differ diff --git a/tests/lib/Preview/HEICTest.php b/tests/lib/Preview/HEICTest.php new file mode 100644 index 00000000000..324d0683953 --- /dev/null +++ b/tests/lib/Preview/HEICTest.php @@ -0,0 +1,42 @@ +. + * + */ + +namespace Test\Preview; + +/** + * Class BitmapTest + * + * @group DB + * + * @package Test\Preview + */ +class HEICTest extends Provider { + + public function setUp() { + parent::setUp(); + + $fileName = 'testimage.heic'; + $this->imgPath = $this->prepareTestFile($fileName, \OC::$SERVERROOT . '/tests/data/' . $fileName); + $this->width = 1680; + $this->height = 1050; + $this->provider = new \OC\Preview\HEIC; + } +} \ No newline at end of file