From 197b8082810e456fbc79fbc9057868a8996a3192 Mon Sep 17 00:00:00 2001 From: rfeng Date: Thu, 8 Sep 2011 00:45:19 +0000 Subject: Further clean-up of the code git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1166477 13f79535-47bb-0310-9956-ffa450edef68 --- .../diagram/layout/DiagramGeneratorTestCase.java | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 collaboration/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/src/test/java/org/apache/tuscany/sca/diagram/layout/DiagramGeneratorTestCase.java (limited to 'collaboration/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/src/test/java') diff --git a/collaboration/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/src/test/java/org/apache/tuscany/sca/diagram/layout/DiagramGeneratorTestCase.java b/collaboration/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/src/test/java/org/apache/tuscany/sca/diagram/layout/DiagramGeneratorTestCase.java new file mode 100644 index 0000000000..aee42dbfc0 --- /dev/null +++ b/collaboration/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/src/test/java/org/apache/tuscany/sca/diagram/layout/DiagramGeneratorTestCase.java @@ -0,0 +1,33 @@ +/********************************************************************** + * NAME: + * DiagramGeneratorTestCase + * + * AUTHOR: + * rfeng + * + * DESCRIPTION: + * + * + * Copyright (c) Shutterfly, Inc. 2010. All Rights reserved. + **********************************************************************/ + +package org.apache.tuscany.sca.diagram.layout; + +import java.io.File; + +import org.apache.tuscany.sca.diagram.main.Main; +import org.junit.Test; + +public class DiagramGeneratorTestCase { + + @Test + public final void test() throws Exception { + for (File xml : new File("input").listFiles()) { + if (xml.getName().endsWith(".xml")) { + System.out.println(xml); + Main.generate(new File("target"), true, false, xml.toString()); + } + } + } + +} -- cgit v1.2.3