Commit Graph

598 Commits

Author SHA1 Message Date
hugovk
37691bc1e4 Make _make_linear_lut public and issue deprecation warnings from old private methods 2014-07-20 10:13:26 +03:00
wiredfool
d810e9a018 Merge pull request #810 from hugovk/verbose_failfast
Tests: Be verbose and fail fast
2014-07-19 21:44:59 -07:00
wiredfool
bf2014ece6 Merge pull request #803 from hugovk/SgiImagePlugin
Sanity tests for SgiImagePlugin.py
2014-07-19 21:21:11 -07:00
hugovk
fef3ceb2c0 If we can't read a file due to unsupported compression, raise an error 2014-07-20 01:50:05 +03:00
hugovk
15c92359cc Merge some similar tests to a single file 2014-07-20 01:17:32 +03:00
hugovk
0c12058e37 Use unique class names to match filenames 2014-07-20 01:17:20 +03:00
hugovk
65cbdae449 Run nose in verbose mode so we can see the tests being run/skipped. Override __str__ in PillowTestCase for nicer output, and make sure all tests are derived from PillowTestCase. 2014-07-20 01:16:51 +03:00
hugovk
3c39a44f6e Make _make_gamma_lut() public 2014-07-19 01:45:57 +03:00
Hugo
eb4f669b34 Merge pull request #808 from wiredfool/xpm_load_image
Fix Scrambled XPM
2014-07-19 00:28:02 +03:00
wiredfool
d30eb007ef Fix scrambled XPM image, don't mmap when load_read/load_seek is defined. Fixes #806 2014-07-18 10:40:08 -07:00
hugovk
14d1ac6389 Rename bad variable name 'file' to 'TEST_FILE', remove unused 'data' variable 2014-07-17 23:23:50 +03:00
hugovk
1e24dcd317 Check some pixel colors to ensure image is loaded properly 2014-07-17 10:42:43 +03:00
hugovk
665293e9b9 More tests for XpmImagePlugin.py 2014-07-17 02:38:57 +03:00
hugovk
70786f1b99 Tests for DcxImagePlugin.dcx 2014-07-17 01:20:19 +03:00
hugovk
84b13ff1ae Created with ImageMagick: convert lena.ppm lena.dcx 2014-07-17 01:19:52 +03:00
hugovk
8a73a20af1 Sanity test for CurImagePlugin.py 2014-07-16 23:45:18 +03:00
hugovk
1ff695873f Cursor image by Miss Mycroft, 'Released under the Release to Public Domain license' http://www.rw-designer.com/cursor-detail/61757 2014-07-16 23:44:35 +03:00
hugovk
bc34bda2b8 Remove stray print 2014-07-16 21:35:43 +03:00
hugovk
2b3d655833 Sanity tests for SgiImagePlugin.py 2014-07-16 21:28:17 +03:00
hugovk
535494d862 Created with ImageMagick: convert transparent.png transparent.sgi 2014-07-16 21:27:31 +03:00
hugovk
e29c2d49c0 Created with ImageMagick then renamed: convert lena.ppm -monochrome lena.sgi 2014-07-16 21:27:06 +03:00
hugovk
cc27e8d532 Created with ImageMagick then renamed: convert lena.ppm lena.sgi 2014-07-16 21:26:47 +03:00
Eric W. Brown
53b7f6294b First steps toward MPO support.
Allows Pillow to distinguish between JPEGs and MPOs, and provides some
MPO metadata handling. Does not yet handle multiple frames.
2014-07-16 11:36:56 -04:00
hugovk
d04ffd2377 Sanity test for SunImagePlugin.py 2014-07-16 14:24:23 +03:00
hugovk
5db868e060 Created with ImageMagick: convert lena.ppm lena.ras 2014-07-16 14:20:15 +03:00
Eric W. Brown
2609a24221 Moved images to correct place.
Accidentally uploaded images to their initial test location, not the
proper location used by other tests.
2014-07-15 17:43:31 -04:00
hugovk
6c9940e9d1 More tests for SpiderImagePlugin.py 2014-07-15 12:23:02 +03:00
hugovk
45319bd028 Fix import 2014-07-15 00:48:01 +03:00
hugovk
123fe38ef7 Test Image's __ne__ and alpha_composite 2014-07-15 00:42:31 +03:00
hugovk
466fd9ec28 Merge remote-tracking branch 'upstream/master' into Image 2014-07-13 16:18:13 +03:00
wiredfool
7bea6764e9 Merge pull request #773 from hugovk/ImageMath
More tests for ImageMath.py
2014-07-10 10:14:20 -07:00
hugovk
1141e636d9 More tests for Image.py 2014-07-10 02:00:26 +03:00
hugovk
e3911facbc Test ImageMath's mod, imagemath_equal and imagemath_notequal 2014-07-09 21:53:13 +03:00
wiredfool
b5c3eb5830 ucase(font_path,font_size) 2014-07-08 10:37:27 -07:00
wiredfool
552effb90d Merge #772 and master 2014-07-08 10:29:53 -07:00
wiredfool
65357e1722 Merge pull request #783 from hugovk/_util
Tests for _util.py
2014-07-08 09:16:52 -07:00
Alex Clark ☺
962f1b46af Merge pull request #784 from tk0miya/master
Fix return value of FreeTypeFont.textsize() does not include font offsets
2014-07-08 05:14:01 -04:00
hugovk
3d71e3fdb2 Remove unused tearDownModule 2014-07-08 07:59:17 +03:00
hugovk
c2cf0b4edd Merge remote-tracking branch 'upstream/master' into _util 2014-07-07 23:48:19 +03:00
hugovk
73223fcb23 Test isStringType and isPath in similar way to production code 2014-07-07 23:40:37 +03:00
Hugo
cb5ed5973a Merge pull request #765 from larsjsol/master
Fix dispose calculations for animated GIFs
2014-07-07 23:04:38 +03:00
Lars Jørgen Solberg
9e5f2f9249 use assertEqual for test cases 2014-07-07 21:49:45 +02:00
wiredfool
cf763ea036 Merge pull request #787 from wiredfool/32bit_segfault_test
Make 32bit sefrault test safer
2014-07-07 11:49:01 -07:00
Lars Jørgen Solberg
5fa2794386 Tests dispose and transparency for animated gifs 2014-07-07 20:47:18 +02:00
wiredfool
0a160e44d8 Guard to prevent 64 bit machines from crashing 2014-07-07 11:22:11 -07:00
wiredfool
8d5a1c2a19 Renamed to avoid test runner 2014-07-07 11:21:46 -07:00
hugovk
cf04a9a0d2 Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
Hugo
3ad62fa7fc Merge pull request #782 from wiredfool/32bit_decompression
32bit mult overflow fix
2014-07-07 19:25:39 +03:00
Hugo
737c7440d7 Merge pull request #775 from radarhere/master
Added class checking to Image __eq__ function
2014-07-07 19:23:06 +03:00
Takeshi KOMIYA
60628c77b3 Fix return value of FreeTypeFont.textsize() does not include font offsets 2014-07-07 14:42:46 +09:00
hugovk
691671624c Test _util.py 2014-07-06 01:47:30 +03:00
wiredfool
e5d07eff05 remove extra import 2014-07-05 15:23:38 -07:00
wiredfool
f5931e8231 Test for #771, hangs in nose 2014-07-05 15:08:11 -07:00
wiredfool
a414986ee9 Merge from master 2014-07-05 11:02:13 -07:00
wiredfool
08d491f006 Skip known bad tests 2014-07-05 10:56:40 -07:00
wiredfool
cedd8c2106 Failing test for messed up P image on write only format 2014-07-05 10:25:16 -07:00
hugovk
f6f80e3a77 Test case for #774 2014-07-05 16:29:40 +03:00
hugovk
8a4081c5bc More tests for ImageMath 2014-07-05 12:08:35 +03:00
hugovk
ff6a0b9b8c Add test image using ImageFont's default font 2014-07-05 00:18:52 +03:00
hugovk
65593a3827 More tests for ImageFont.py 2014-07-05 00:04:19 +03:00
wiredfool
a035ecc2ca Merge branch 'master' into HEAD 2014-07-02 08:59:16 -07:00
Alex Clark ☺
351f2ae948 Merge pull request #761 from wiredfool/jpeg2k_fd
Jpeg2k
2014-07-01 16:16:26 -04:00
hugovk
b6f836b5b8 Refactor and add two more tests 2014-07-01 22:53:30 +03:00
wiredfool
19bf3390a9 Removed extra print 2014-07-01 12:53:15 -07:00
hugovk
3807af79e3 Add a test for PalmImagePlugin.py 2014-07-01 22:18:40 +03:00
Alex Clark ☺
b2ed31e8cd Merge pull request #737 from wiredfool/terseus_imagedraw
Merged Imagedraw rewrite
2014-07-01 14:15:11 -04:00
Alex Clark ☺
febfe2f574 Merge pull request #755 from wiredfool/multithread-testing-travis
Multithread testing- travis
2014-07-01 14:14:49 -04:00
wiredfool
cec5fd9d38 f doesn't exist, BytesIO objects have fileno(), but may return OsError 2014-07-01 11:09:20 -07:00
wiredfool
e3f9fa0d78 Skip known failing test 2014-07-01 09:07:18 -07:00
Alex Clark ☺
4408352304 Merge pull request #759 from cgohlke/patch-3
Skip LargeMemory tests on 32 bit systems
2014-07-01 05:43:53 -04:00
cgohlke
5c3736c4a6 Don't import unittest because it's done in helper 2014-06-30 23:20:39 -07:00
cgohlke
f0342393ff Don't import unittest because it's done in helper 2014-06-30 23:20:12 -07:00
Hugo
1b2dd37905 Merge pull request #758 from mbrown1413/750_jpeg_on_windows
Skip shell injection tests for Windows
2014-07-01 09:12:07 +03:00
cgohlke
647f2e1771 Skip LargeMemoryNumpyTest on 32 bit systems 2014-06-30 19:20:15 -07:00
cgohlke
10da645ac6 Skip LargeMemoryTest on 32 bit systems 2014-06-30 19:19:09 -07:00
Michael Brown
fb27befa1a Skip shell injection tests for Windows 2014-06-30 22:07:44 -04:00
hugovk
7b838f31b4 Import helper so unittest2 is imported for Py2.6 (re: #743) 2014-07-01 02:05:55 +03:00
wiredfool
acab4e8fdc Cleaned up prints 2014-06-30 15:23:24 -07:00
wiredfool
c824a15fe8 Thread and race condition safe tempfiles for testing 2014-06-30 15:22:36 -07:00
wiredfool
668141a898 updated imagedraw tests 2014-06-30 15:03:57 -07:00
wiredfool
3bf375c5f7 Merge branch 'master' into terseus_imagedraw 2014-06-30 14:24:59 -07:00
Hugo
d8f55e3f50 Merge pull request #748 from wiredfool/djpeg
Prevent shell injection
2014-06-30 02:16:06 +03:00
Hugo
5833ecb4d6 Merge pull request #749 from wiredfool/helper
Helper Tweak
2014-06-30 01:17:24 +03:00
wiredfool
2d13166667 Don't print the entire image as bytes on failure 2014-06-29 14:39:32 -07:00
wiredfool
118a2d5ff0 Merge pull request #745 from gcq/master
Handle resolution in BMP files
2014-06-29 13:32:02 -07:00
gcq
92b070ceaf Addes tests 2014-06-28 23:22:52 +02:00
hugovk
d5bb962f83 Add test to ensure a Pyroma is a 10/10 Mascarpone 2014-06-28 23:48:14 +03:00
Michael Brown
8b365f542a Skip tests if external commands aren't found 2014-06-27 19:11:01 -04:00
Michael Brown
d283f77884 Tests for _save_netpbm, _save_cjpeg and load_djpeg 2014-06-27 19:07:20 -04:00
wiredfool
3f5b15ff31 Merge pull request #735 from hugovk/test_cleanup
Remove old, unused cms_test.py
2014-06-27 09:57:20 -07:00
Alex Clark
a45c8aaf61 Fix error(s) 2014-06-27 08:45:39 -04:00
Alex Clark
2effb0d429 Fix error(s) 2014-06-27 08:44:53 -04:00
Alex Clark
2670204dbd Clean up 2014-06-27 08:44:28 -04:00
Alex Clark
2004fd0845 Prefer rst 2014-06-27 08:43:44 -04:00
hugovk
44e91e668d Remove old, unused test 2014-06-27 11:29:30 +03:00
wiredfool
d79d28152b Merge pull request #728 from hugovk/test_cleanup
Old tests cleanup
2014-06-26 22:58:35 -07:00
David Joy
b147dea535 Add tests and fix a 16bit vs 32bit integer bug
Yay unit tests!
2014-06-25 14:06:56 -04:00
hugovk
d391390e3f Second test is meant to have two XDIMs (#728). Also use lowercase for parameters. 2014-06-25 19:27:43 +03:00
hugovk
5993b97cb0 Remove last dependencies on tester.py and remove file 2014-06-25 12:46:52 +03:00
hugovk
cf07aa60a1 Convert large_memory_numpy_test.py to use unittest (and change second XDIM on line 36 to YDIM) 2014-06-25 12:43:01 +03:00