Commit Graph

34 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Joas Schilling d04b7cf03d
Skip the test if Imagick is misconfigured 5 years ago
Morris Jobke 8e249569af
Fix existing test and add a specific one for the new case 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Elijah Martin-Merrill 56ed563b0c fix memory leak caused by not destroying image in Preview/Generate.php 6 years ago
Roeland Jago Douma 6c603e8e7d
Move to subfolders for preview files 6 years ago
Christoph Wurst a7c8d26d31
Add visibility to all properties and move static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Robin Appelman 8f9bac26f8
fix preview generation tests 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Robin Appelman 6150614374
Add new Provider interface for preview providers 7 years ago
Robin Appelman 036475fc91
use a fresh appdata factory in background job test 7 years ago
Roeland Jago Douma ce10f8b8c4
Only generate previews in powers of 4 and set min 7 years ago
Roeland Jago Douma 5b103744c8
Check if a preview provider is available before using it 7 years ago
Sebastian Steinmetz 5a996b5f87 Address comments from @rullzer: 7 years ago
Sebastian Steinmetz 8a7bc3fb03 Testcase for HEIC image (similar to the ImageTest) 7 years ago
Roeland Jago Douma 14acded171
Make sure the file is readable before attempting to create a preview 8 years ago
Roeland Jago Douma 0dffd07a60
Add tests 8 years ago
Roeland Jago Douma 5b21650097
Don't lie about the preview mimetype 8 years ago
Robin Appelman 2847e9f2e3
fix preview tests 9 years ago
Roeland Jago Douma a1f46db793
Fix tests 9 years ago
Roeland Jago Douma 99ada40df4
Dispatch event on preview request 9 years ago
Roeland Jago Douma 87855aa97b
Added genertor helper & tests 9 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago