Add the ability to generate .dot files that show a graph between GraphLink's and GraphNode's using -genDotGraph. BLD200303060100
authorcliffwd@netbeans.org
Tue, 04 Mar 2003 22:16:45 +0000
changeset 122541c0e2dfae5c
parent 1224 2f4dff25edf9
child 1226 d0e5f1400414
Add the ability to generate .dot files that show a graph between GraphLink's and GraphNode's using -genDotGraph.
Add -removeUnreferencedNodes to get rid of GraphNode's not reachable from the root GraphNode.
schema2beans/test/unit/src/TestMain.java
     1.1 --- a/schema2beans/test/unit/src/TestMain.java	Tue Mar 04 18:52:44 2003 +0000
     1.2 +++ b/schema2beans/test/unit/src/TestMain.java	Tue Mar 04 22:16:45 2003 +0000
     1.3 @@ -96,7 +96,12 @@
     1.4      }
     1.5  
     1.6      public void testNamespace() throws IOException, Schema2BeansException, InterruptedException {
     1.7 -        generalTest("TestNamespace", true, true, true);
     1.8 +        GenBeans.Config config = new GenBeans.Config();
     1.9 +        config.setOutputType(GenBeans.Config.OUTPUT_JAVABEANS);
    1.10 +        config.setAttributesAsProperties(true);
    1.11 +        config.setRemoveUnreferencedNodes(true);
    1.12 +        config.setGenerateValidate(true);
    1.13 +        generalTest("TestNamespace", true, config);
    1.14      }
    1.15  
    1.16      public void testExtensionSample() throws IOException, Schema2BeansException, InterruptedException {