Commit Graph

554 Commits

Author SHA1 Message Date
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
hugovk
c6386a294d Convert large_memory_test.py to use unittest (and change second XDIM on line 30 to YDIM) 2014-06-25 12:32:52 +03:00
hugovk
3b3fc441b1 flake8 Tests/make_hash.py 2014-06-25 12:25:51 +03:00
hugovk
1bbe850f5b Convert bench_cffi_access.py to use unittest and helper.py 2014-06-25 12:19:27 +03:00
hugovk
f41e0a30fb More tests cleanup 2014-06-25 12:10:20 +03:00
wiredfool
a990af1b97 Merge from master 2014-06-24 16:48:38 -07:00
Alex Clark ☺
7d232a3c32 Merge pull request #719 from wiredfool/imagepalette
Tests for Imagepalette.save()
2014-06-24 13:41:32 -04:00
wiredfool
5b4d5148af Added roundtrip test for ImagePalette.save 2014-06-24 09:58:53 -07:00
hugovk
ffce319b54 Change Tests/README.txt to .md [CI skip] 2014-06-24 14:04:47 +03:00
hugovk
78154765ce Update README and remove unnecessary, commented code from helper.py 2014-06-24 14:03:10 +03:00
Alex Clark ☺
ca148208f0 Merge pull request #716 from hugovk/morph_flake8
Flake8 on morphology changes
2014-06-24 05:51:04 -04:00
Alex Clark ☺
88bfd5522d Merge pull request #714 from wiredfool/jpeg_qtables
JPEG qtables
2014-06-24 05:48:17 -04:00
Hugo
0cd52412b1 Merge pull request #654 from wiredfool/cleanup
Thanks.
2014-06-24 12:16:13 +03:00
hugovk
494bffd216 Make test runnable on its own 2014-06-24 10:01:43 +03:00
hugovk
fd97d30831 flake8 on morphology changes 2014-06-24 09:34:05 +03:00
wiredfool
cf828f7612 Converted to unittest framework to deal with test framework error 2014-06-23 16:52:10 -07:00
wiredfool
6dce921dad Merge branch 'master' into morphology 2014-06-23 16:21:33 -07:00
hugovk
b7f14415d8 Constants are now ALL CAPS 2014-06-23 22:51:31 +03:00
Alex Clark ☺
6cc9e05f2a Merge pull request #709 from Terseus/fix-latest-imagedraw-tests
Fixed variables misprint in ImageDraw tests
2014-06-23 14:39:18 -04:00
Alex Clark
2ccd76e66f Fix path 2014-06-23 14:38:03 -04:00
Terseus
5522fa472d Fixed variables misprint in ImageDraw tests 2014-06-23 20:07:09 +02:00
Alex Clark ☺
2a657f7873 Merge pull request #674 from hugovk/bomb
Decompression bomb protection
2014-06-23 12:27:01 -04:00
hugovk
1633ffa878 Merge branch 'cleanup' of https://github.com/wiredfool/Pillow into wiredfool-cleanup
Conflicts:
	Tests/test_file_jpeg2k.py
	Tests/test_image_transform.py
	Tests/test_imagesequence.py
2014-06-23 13:39:27 +03:00
hugovk
282281f1e5 Reset limit in tearDown() 2014-06-23 11:22:25 +03:00
hugovk
7b3e242f09 Convert test_decompression_bomb.py to use unittest module 2014-06-23 11:12:41 +03:00
hugovk
46abe78b77 Use a custom subclass of RuntimeWarning for DecompressionBombWarning 2014-06-23 10:53:08 +03:00
hugovk
195453679a Merge branch 'master' into bomb
Conflicts:
	PIL/Image.py
2014-06-23 09:51:46 +03:00
hugovk
78003ca473 Update paths to Tests/images/ instead of Images/ 2014-06-23 09:19:29 +03:00
hugovk
a600f84029 Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
wiredfool
dfe7ff515f Additional jpeg qtables tests 2014-06-20 01:09:59 -07:00
wiredfool
fcd4c662bf Fixed JPEG qtables test 2014-06-20 00:41:58 -07:00
wiredfool
9935c40d6c Merge branch 'master' into jpeg_qtables 2014-06-20 00:35:06 -07:00
wiredfool
7dc4dcc9fd Merge from master 2014-06-20 00:34:32 -07:00
wiredfool
cf56ccc828 Working on python 2.6 2014-06-19 15:17:00 -07:00
wiredfool
b8834fa3a6 Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
wiredfool
0b0ec8b40f Proper skipping of tests when lcms2 is not installed 2014-06-19 06:06:23 -07:00
hugovk
7794831704 Bring back tester.py for now. Not using it for unit tests. 2014-06-10 13:36:38 +03:00
hugovk
1686016f1c Remove old tester.py so it's not picked up by nosetests as a test 2014-06-10 12:20:51 +03:00
hugovk
4dd47fc697 Add test base class and helper functions 2014-06-10 12:12:53 +03:00
hugovk
3ec505958e Convert old tests to use unittest 2014-06-10 12:10:47 +03:00
hugovk
c66f332679 Remove empty tests 2014-06-10 12:09:47 +03:00
hugovk
e8ef927bac Remove test_001_archive.py as it doesn't do anything: ../pil-archive/* doesn't exist 2014-06-10 12:05:46 +03:00
hugovk
995f367755 Skip test_floodfill_border() on PyPy to avoid fatal error 2014-06-06 08:02:18 +03:00
Alex Clark ☺
841582fa26 Merge pull request #685 from hugovk/docstring
ImageCms fixes
2014-06-04 18:31:40 -04:00
Dov Grobgeld
5fe80c6d4a Initial commit of binary morphology addon. 2014-06-04 23:03:00 +03:00