Commit graph

34 commits

Author SHA1 Message Date
Doug Bell
cdda20fb18 add better diag and fix test.
I think OSX is altering the UTF-8 chars to a different codepoint on me.
2011-03-21 20:28:25 -05:00
Colin Kuskie
49063cf526 Fix UTF-8 handling in WebGUI::Storage class. Add tests for all methods that were checked. Fixes bug #12023. 2011-01-18 21:07:03 -08:00
Colin Kuskie
1fa03c3ad8 Add an explicit test for getThumbnailUrl and non-image files (like a PDF) 2010-09-14 09:15:32 -07:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
kimd
dd72159db0 Added buttons to the GalleryAlbum edit view so users can rotate photos by 90 deg (RFE 620). 2010-04-19 22:24:09 +02:00
Colin Kuskie
066e654640 Improve the performance of getThumbnailUrl by 1400%. Fixes bug #11346 2010-01-19 15:57:28 -08:00
Colin Kuskie
a84d352f21 update test for new deep storage 2009-07-21 23:42:58 +00:00
Colin Kuskie
1a9da53abf Modify tests to use the automatic storage cleanup provided by WebGUI::Test.
Several tests previously leaked storage locations.
2009-04-14 01:54:28 +00:00
Colin Kuskie
4e78593395 Change tests to use the automatic backup of Settings in END blocks. 2009-03-30 20:41:02 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
6810712f6e remove remnants of caseInsensitiveOS in tests 2008-12-10 05:45:34 +00:00
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Colin Kuskie
06f52bae9a Fix how logging gets intercepted. It used to be on by default, now it must be turned on. 2008-02-29 22:09:32 +00:00
Colin Kuskie
92813f394d remove diag and take advantage of getTestCollateralPath file concat 2008-02-09 04:41:16 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
af271b9f26 fixed a bunch of GalleryAlbum/Photo tests 2007-12-26 00:39:08 +00:00
Colin Kuskie
8d1e47a6ce Storage/Image: resize works with ImageMagick again. Add diagnostics to tests for easy debug 2007-12-19 18:04:50 +00:00
Doug Bell
53a1cbc7c2 fixes to the Gallery 2007-12-18 21:17:44 +00:00
Colin Kuskie
c5c24852ca skipping wrong number of tests 2007-12-13 17:54:26 +00:00
Colin Kuskie
75041656ee adding more debug statements to Storage/Image.t 2007-12-04 21:31:30 +00:00
Colin Kuskie
ad661f2a70 Rewrite the adjustMaxFilesize test to be data driven.
Check the original sizes, and resized sizes exactly.
Hoping that this fixes last night's Image.t test failure.
2007-12-02 04:01:07 +00:00
Colin Kuskie
241bb7ebac Storage/Image.t tests failing due to being run as root user. Add SKIP to enable test for non-users only 2007-11-30 16:26:22 +00:00
Colin Kuskie
1b3d7f0c2b Refactor out the copied code to resize images based on the max file
size from the Admin Settings and create a new method in
Storage::Image.
Build a test to verify that it works correctly.
2007-11-24 05:30:15 +00:00
Colin Kuskie
226dd2cf21 Add tests for WebGUI::Storage::Image, and give its getThumbnailUrl method
some error handling.
2007-07-24 03:40:57 +00:00
Colin Kuskie
86d92d68a8 add deleteFile tests to Image.t 2007-07-23 18:14:40 +00:00
Colin Kuskie
a83702f2ed Fix a bug where WebGUI::Storage::Image->copy does not return
an object of the same class, when no default object is passed.
Added a bunch of tests.
2007-07-23 04:53:09 +00:00
Colin Kuskie
02abc68aa8 more generateThumbnail tests 2007-07-16 22:22:21 +00:00
Colin Kuskie
f07858a645 tests for generateThumbnail. final test is not working yet 2007-07-13 04:52:38 +00:00
Colin Kuskie
8b973604cd beginnings of thumbnail generation test 2007-07-13 04:38:50 +00:00
Colin Kuskie
6fe068e42d document what other tests need to be written 2007-07-08 21:06:00 +00:00
Colin Kuskie
e04443c6ee Add tests for dealing with files beginning with thumb- (they're ignored)
and determining if a file is an image, based on the filename.
2007-07-07 21:33:52 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
c07b0b9c72 Add the Storage::Image test. This really, really wants to be done with
Test::Class in the long term.
Fixed a bug where Storage::Image's getFiles does not obey the showAll switch
that its parent has.
2007-07-07 03:38:16 +00:00