Skip to content

Commit 4a4a12a

Browse files
authored
Java 11 update: remove PDF generation in graphviz test (generates different file with every execution) (#2)
1 parent 32c5590 commit 4a4a12a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/java/guru/nidi/graphviz/model/ReadmeTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ void ex5() throws IOException {
156156
Graphviz viz = Graphviz.fromGraph(g);
157157
viz.width(200).render(Format.SVG).toFile(new File("graphviz-test-example/ex5.svg"));
158158
viz.width(200).rasterize(Rasterizer.SALAMANDER).toFile(new File("graphviz-test-example/ex5s.png"));
159-
viz.width(200).height(374).rasterize(Rasterizer.builtIn("pdf")).toFile(new File("graphviz-test-example/ex5p"));
160159
String dot = viz.render(Format.DOT).toString();
161160
String json = viz.engine(Engine.NEATO).render(Format.JSON).toString();
162161
BufferedImage image = viz.render(Format.PNG).toImage();

0 commit comments

Comments
 (0)