From cbb84ba073de076e3d3ca95ff8c200bfd45c04c4 Mon Sep 17 00:00:00 2001 From: luc Date: Fri, 23 Oct 2015 13:57:24 +0200 Subject: [PATCH] Detailed javadoc. --- test/ViewImagePerfTest.java | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/test/ViewImagePerfTest.java b/test/ViewImagePerfTest.java index d7a6502b4..7b8043cf7 100755 --- a/test/ViewImagePerfTest.java +++ b/test/ViewImagePerfTest.java @@ -46,7 +46,7 @@ public class ViewImagePerfTest { /** Default render max height (JPEG_example_JPG_RIP_100.jpg height / 10) */ private static final int DEFAULT_MAX_HEIGHT = 23; - + /** Default encoding format */ private static final String DEFAUL_EXT = "png"; @@ -88,7 +88,7 @@ public class ViewImagePerfTest { } /** - * Build post parameters to used with ViewImage + * Build post parameters to use with ViewImage * * @param args * main parameters : second and third items may respectively @@ -128,9 +128,22 @@ public class ViewImagePerfTest { } /** - * Test image (JPEG_example_JPG_RIP_100.jpg) is scaled, and cropped. + * Test image is parsed and rendered again and again until 20 seconds + * elapsed. Then measured statistics are displayed. * + * @param args + * may be empty or contain parameters to override defaults : + * * @throws IOException + * when a read/write error occured */ public static void main(String args[]) throws IOException { File imgFile = getTestFile(args);