diff options
Diffstat (limited to 'tests/lib/Preview/BitmapTest.php')
-rw-r--r-- | tests/lib/Preview/BitmapTest.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/lib/Preview/BitmapTest.php b/tests/lib/Preview/BitmapTest.php new file mode 100644 index 00000000000..36e768010a9 --- /dev/null +++ b/tests/lib/Preview/BitmapTest.php @@ -0,0 +1,30 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ + +namespace Test\Preview; + +use OC\Preview\Postscript; + +/** + * Class BitmapTest + * + * @group DB + * + * @package Test\Preview + */ +class BitmapTest extends Provider { + protected function setUp(): void { + parent::setUp(); + + $fileName = 'testimage.eps'; + $this->imgPath = $this->prepareTestFile($fileName, \OC::$SERVERROOT . '/tests/data/' . $fileName); + $this->width = 2400; + $this->height = 1707; + $this->provider = new Postscript; + } +} |