1
2 package org.freehep.graphicsio.pdf.test;
3
4 import java.util.Properties;
5
6 import org.freehep.graphicsio.pdf.PDFGraphics2D;
7 import org.freehep.graphicsio.test.TestPreviewThumbnail;
8 import org.freehep.util.UserProperties;
9
10
11
12
13
14 public class PDFTestPreviewThumbnail extends TestPreviewThumbnail {
15
16 public PDFTestPreviewThumbnail(String[] args) throws Exception {
17 super(args);
18 }
19
20 public void runTest(Properties options) throws Exception {
21 UserProperties user = (options == null) ? new UserProperties()
22 : new UserProperties(options);
23 user.setProperty(PDFGraphics2D.THUMBNAILS, true);
24
25 super.runTest(user);
26 }
27
28 public static void main(String[] args) throws Exception {
29 new PDFTestPreviewThumbnail(args).runTest();
30 }
31 }