1
2 package org.freehep.graphicsio.ps.test;
3
4 import java.util.Properties;
5
6 import org.freehep.graphicsio.ps.PSGraphics2D;
7 import org.freehep.graphicsio.test.TestPreviewThumbnail;
8 import org.freehep.util.UserProperties;
9
10
11
12
13
14 public class PSTestPreviewThumbnail extends TestPreviewThumbnail {
15
16 public PSTestPreviewThumbnail(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(PSGraphics2D.PREVIEW, true);
24
25 super.runTest(user);
26 }
27
28 public static void main(String[] args) throws Exception {
29 new PSTestPreviewThumbnail(args).runTest();
30 }
31 }