From: cristy Date: Tue, 7 May 2013 12:51:28 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3706 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=572e097d004eac4b9767c11eec49d054e413ab00;p=imagemagick --- diff --git a/tests/validate.c b/tests/validate.c index 0404f0cb6..bb0a25045 100644 --- a/tests/validate.c +++ b/tests/validate.c @@ -67,29 +67,24 @@ % % % % % % -% V a l i d a t e C o l o r s p a c e C o m m a n d % +% V a l i d a t e C o l o r s p a c e s % % % % % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% ValidateCompareCommand() validates the ImageMagick colorspaces and returns -% the number of validation tests that passed and failed. +% ValidateColorspaces() validates the ImageMagick colorspaces and returns the +% number of validation tests that passed and failed. % -% The format of the ValidateColorspaceCommand method is: +% The format of the ValidateColorspaces method is: % -% size_t ValidateColorspaceCommand(ImageInfo *image_info, -% const char *reference_filename,const char *output_filename, -% size_t *fail,ExceptionInfo *exception) +% size_t ValidateColorspaces(ImageInfo *image_info,size_t *fail, +% ExceptionInfo *exception) % % A description of each parameter follows: % % o image_info: the image info. % -% o reference_filename: the reference image filename. -% -% o output_filename: the output image filename. -% % o fail: return the number of validation tests that pass. % % o exception: return any errors or warnings in this structure. @@ -1228,8 +1223,7 @@ static MagickBooleanType ValidateYUVToRGB() return(MagickTrue); } -static size_t ValidateColorspaceCommand(ImageInfo *image_info, - const char *reference_filename,const char *output_filename,size_t *fail, +static size_t ValidateColorspaces(ImageInfo *image_info,size_t *fail, ExceptionInfo *exception) { MagickBooleanType @@ -2756,8 +2750,7 @@ int main(int argc,char **argv) "ImageMagick Validation Suite (%s)\n\n",CommandOptionToMnemonic( MagickValidateOptions,(ssize_t) type)); if ((type & ColorspaceValidate) != 0) - tests+=ValidateColorspaceCommand(image_info,reference_filename, - output_filename,&fail,exception); + tests+=ValidateColorspaces(image_info,&fail,exception); if ((type & CompareValidate) != 0) tests+=ValidateCompareCommand(image_info,reference_filename, output_filename,&fail,exception);