diff --git a/lib/src/main/java/com/jeantessier/dependency/JSONPrinter.java b/lib/src/main/java/com/jeantessier/dependency/JSONPrinter.java index 0f0f7219..4adc4fe7 100644 --- a/lib/src/main/java/com/jeantessier/dependency/JSONPrinter.java +++ b/lib/src/main/java/com/jeantessier/dependency/JSONPrinter.java @@ -40,15 +40,15 @@ private String printNode(Node node) { } private String printPackageNode(PackageNode packageNode) { - return "{\"type\":\"package\",\"confirmed\":\"" + packageNode.isConfirmed() + "\",\"name\":\"" + packageNode.getName() + "\",\"outbound\":" + (isShowOutbounds() ? printDependencyNodes(packageNode.getOutboundDependencies()) : "[]") + ",\"inbound\":" + (isShowInbounds() ? printDependencyNodes(packageNode.getInboundDependencies()) : "[]") + ",\"classes\":" + printNodes(packageNode.getClasses()) + "}"; + return "{\"type\":\"package\",\"confirmed\":" + packageNode.isConfirmed() + ",\"name\":\"" + packageNode.getName() + "\",\"outbound\":" + (isShowOutbounds() ? printDependencyNodes(packageNode.getOutboundDependencies()) : "[]") + ",\"inbound\":" + (isShowInbounds() ? printDependencyNodes(packageNode.getInboundDependencies()) : "[]") + ",\"classes\":" + printNodes(packageNode.getClasses()) + "}"; } private String printClassNode(ClassNode classNode) { - return "{\"type\":\"class\",\"confirmed\":\"" + classNode.isConfirmed() + "\",\"name\":\"" + classNode.getName() + "\",\"outbound\":" + (isShowOutbounds() ? printDependencyNodes(classNode.getOutboundDependencies()) : "[]") + ",\"inbound\":" + (isShowInbounds() ? printDependencyNodes(classNode.getInboundDependencies()) : "[]") + ",\"features\":" + printNodes(classNode.getFeatures()) + "}"; + return "{\"type\":\"class\",\"confirmed\":" + classNode.isConfirmed() + ",\"name\":\"" + classNode.getName() + "\",\"outbound\":" + (isShowOutbounds() ? printDependencyNodes(classNode.getOutboundDependencies()) : "[]") + ",\"inbound\":" + (isShowInbounds() ? printDependencyNodes(classNode.getInboundDependencies()) : "[]") + ",\"features\":" + printNodes(classNode.getFeatures()) + "}"; } private String printFeatureNode(FeatureNode featureNode) { - return "{\"type\":\"feature\",\"confirmed\":\"" + featureNode.isConfirmed() + "\",\"name\":\"" + featureNode.getName() + "\",\"outbound\":" + (isShowOutbounds() ? printDependencyNodes(featureNode.getOutboundDependencies()) : "[]") + ",\"inbound\":" + (isShowInbounds() ? printDependencyNodes(featureNode.getInboundDependencies()) : "[]") + "}"; + return "{\"type\":\"feature\",\"confirmed\":" + featureNode.isConfirmed() + ",\"name\":\"" + featureNode.getName() + "\",\"outbound\":" + (isShowOutbounds() ? printDependencyNodes(featureNode.getOutboundDependencies()) : "[]") + ",\"inbound\":" + (isShowInbounds() ? printDependencyNodes(featureNode.getInboundDependencies()) : "[]") + "}"; } public String printDependencyNodes(Collection nodes) { @@ -72,6 +72,6 @@ private String printDependencyNode(Node node) { } private String printDependency(Node node, String type) { - return "{\"type\":\"" + type + "\",\"confirmed\":\"" + node.isConfirmed() + "\",\"name\":\"" + node.getName() + "\"}"; + return "{\"type\":\"" + type + "\",\"confirmed\":" + node.isConfirmed() + ",\"name\":\"" + node.getName() + "\"}"; } } diff --git a/lib/src/test/java/com/jeantessier/dependency/TestJSONPrinter.java b/lib/src/test/java/com/jeantessier/dependency/TestJSONPrinter.java index c0b96a7d..8e73ea1a 100644 --- a/lib/src/test/java/com/jeantessier/dependency/TestJSONPrinter.java +++ b/lib/src/test/java/com/jeantessier/dependency/TestJSONPrinter.java @@ -118,6 +118,7 @@ void generateReportAndCompareToFile(String variation, DependencyGraph dependency // When visitor.traverseNodes(factory.getPackages().values()); + visitor.eol(); // Then var expectedReport = Files.readString(REPORTS_DIR.resolve(expectedOutput)); diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_false.json index fdcfe05d..381bae14 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"true","name":"outbound"}],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"true","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[{"type":"package","confirmed":"true","name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"true","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":true,"name":"outbound"}],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":true,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[{"type":"package","confirmed":true,"name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":true,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_true.json index d542764a..12edba61 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.all.confirmed.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"true","name":"outbound"}],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"true","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[{"type":"package","confirmed":"true","name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"true","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":true,"name":"outbound"}],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":true,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[{"type":"package","confirmed":true,"name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":true,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_false.json index 16e8089c..4511d86c 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"false","name":"outbound"}],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"false","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[{"type":"package","confirmed":"false","name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"false","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":false,"name":"outbound"}],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":false,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[{"type":"package","confirmed":false,"name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":false,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_true.json index 845b0ff3..237e3a6b 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.all.inferred.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"false","name":"outbound"}],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"false","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[{"type":"package","confirmed":"false","name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"false","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":false,"name":"outbound"}],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":false,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[{"type":"package","confirmed":false,"name":"inbound"}],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":false,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_false.json index 7704dd47..8658b827 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"true","name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"true","name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":true,"name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":true,"name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_true.json index 16850136..2ae568ee 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"true","name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"true","name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":true,"name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":true,"name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_false.json index 15e3d9c7..235b42b4 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_true.json index ddbd9bb3..4f0e66d6 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_inbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"true","name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":true,"name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_false.json index 15e3d9c7..235b42b4 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_true.json index 9bb2b1cd..fb436037 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.confirmed.show_outbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"true","name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":true,"name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_false.json index 921f88a9..688c736e 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"false","name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"false","name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":false,"name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":false,"name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_true.json index ff9c3086..cf8ad6da 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"false","name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"false","name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":false,"name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":false,"name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_false.json index 8a72d2a8..9142d923 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_true.json index 4213772a..59fa5df3 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_inbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"false","name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":false,"name":"outbound.Outbound"}],"features":[]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_false.json index 8a72d2a8..9142d923 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_true.json index 3d183fb3..635f9b43 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.class_to_class.inferred.show_outbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"false","name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":false,"name":"inbound.Inbound"}],"inbound":[],"features":[]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_false.json index 86e6fbda..ed1103f0 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_true.json index eec39588..41eff2be 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_false.json index 6df4ea65..60185cbe 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_true.json index 6933678f..cd0a42fa 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_inbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_false.json index 6df4ea65..60185cbe 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_true.json index e3ada4fb..a2128acc 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.confirmed.show_outbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_false.json index a68feb76..849d99ea 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_true.json index dcc5aadd..b0858b3c 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_false.json index 2d9be41d..df269d29 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_true.json index c829c6cf..1f139785 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_inbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_false.json index 2d9be41d..df269d29 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_true.json index 1f83ad26..305977bf 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.feature_to_feature.inferred.show_outbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"empty.Empty.empty()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_false.json index 56cb097e..42f1332d 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"true","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"true","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":true,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":true,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_true.json index a9bd642f..e5f8cbdb 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.confirmed.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"true","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"true","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"true","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"true","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"true","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":true,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":true,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":true,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":true,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":true,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_false.json index 4f3bee40..09afad3b 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"false","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"false","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":false,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":false,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_true.json index f31435f1..14e844a1 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.mixed.inferred.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":"false","name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":"false","name":"outbound.Outbound","outbound":[{"type":"class","confirmed":"false","name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":"false","name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":"false","name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"empty.Empty","outbound":[],"inbound":[],"features":[]}]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"inbound.Inbound","outbound":[],"inbound":[{"type":"class","confirmed":false,"name":"outbound.Outbound"}],"features":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()","outbound":[],"inbound":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()"}]}]}]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[{"type":"class","confirmed":false,"name":"outbound.Outbound","outbound":[{"type":"class","confirmed":false,"name":"inbound.Inbound"}],"inbound":[],"features":[{"type":"feature","confirmed":false,"name":"outbound.Outbound.outbound()","outbound":[{"type":"feature","confirmed":false,"name":"inbound.Inbound.inbound()"}],"inbound":[]}]}]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_false.json index bd2a4a91..1b1c1723 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"true","name":"outbound"}],"classes":[]},{"type":"package","confirmed":"true","name":"outbound","outbound":[{"type":"package","confirmed":"true","name":"inbound"}],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":true,"name":"outbound"}],"classes":[]},{"type":"package","confirmed":true,"name":"outbound","outbound":[{"type":"package","confirmed":true,"name":"inbound"}],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_true.json index 3379b986..116180a3 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"true","name":"outbound"}],"classes":[]},{"type":"package","confirmed":"true","name":"outbound","outbound":[{"type":"package","confirmed":"true","name":"inbound"}],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":true,"name":"outbound"}],"classes":[]},{"type":"package","confirmed":true,"name":"outbound","outbound":[{"type":"package","confirmed":true,"name":"inbound"}],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_false.json index 47cb77ca..f356b703 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_true.json index 47ad7b7e..f7920027 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_inbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"true","name":"outbound"}],"classes":[]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":true,"name":"outbound"}],"classes":[]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_false.json index 47cb77ca..f356b703 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"outbound","outbound":[],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"outbound","outbound":[],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_true.json index eff4fee4..cf57e61b 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.confirmed.show_outbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"true","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"true","name":"outbound","outbound":[{"type":"package","confirmed":"true","name":"inbound"}],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":true,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":true,"name":"outbound","outbound":[{"type":"package","confirmed":true,"name":"inbound"}],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_false.json index 6294e1ac..e8110efd 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"false","name":"outbound"}],"classes":[]},{"type":"package","confirmed":"false","name":"outbound","outbound":[{"type":"package","confirmed":"false","name":"inbound"}],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":false,"name":"outbound"}],"classes":[]},{"type":"package","confirmed":false,"name":"outbound","outbound":[{"type":"package","confirmed":false,"name":"inbound"}],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_true.json index e0a49142..d8765bb6 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_empty_nodes_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"false","name":"outbound"}],"classes":[]},{"type":"package","confirmed":"false","name":"outbound","outbound":[{"type":"package","confirmed":"false","name":"inbound"}],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":false,"name":"outbound"}],"classes":[]},{"type":"package","confirmed":false,"name":"outbound","outbound":[{"type":"package","confirmed":false,"name":"inbound"}],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_false.json index 28f79dab..bd67eadf 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_true.json index 1d2a7ece..b8cffa02 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_inbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":"false","name":"outbound"}],"classes":[]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[{"type":"package","confirmed":false,"name":"outbound"}],"classes":[]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_false.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_false.json index 28f79dab..bd67eadf 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_false.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_false.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"outbound","outbound":[],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"outbound","outbound":[],"inbound":[],"classes":[]}] diff --git a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_true.json b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_true.json index d1d8bd5e..e114d250 100644 --- a/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_true.json +++ b/lib/src/test/resources/dependency.TestJSONPrinter.package_to_package.inferred.show_outbounds_true.json @@ -1 +1 @@ -[{"type":"package","confirmed":"false","name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":"false","name":"outbound","outbound":[{"type":"package","confirmed":"false","name":"inbound"}],"inbound":[],"classes":[]}] \ No newline at end of file +[{"type":"package","confirmed":false,"name":"empty","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"inbound","outbound":[],"inbound":[],"classes":[]},{"type":"package","confirmed":false,"name":"outbound","outbound":[{"type":"package","confirmed":false,"name":"inbound"}],"inbound":[],"classes":[]}]