blob: aee42dbfc0940889ec38788bace80345acc31330 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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());
}
}
}
}
|