From c08a961e091dcaa398691fca3fd63fd681cf0d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <stu114708@informatik.uni-kiel.de> Date: Wed, 6 Apr 2016 17:37:04 +0200 Subject: [PATCH] test fixes --- .../java/kieker/analysis/graph/GraphTester.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main/java/kieker/analysis/graph/GraphTester.java b/src/main/java/kieker/analysis/graph/GraphTester.java index 04871d1a..27b2d9e9 100644 --- a/src/main/java/kieker/analysis/graph/GraphTester.java +++ b/src/main/java/kieker/analysis/graph/GraphTester.java @@ -56,7 +56,20 @@ public class GraphTester { Vertex node1sub1 = node1.getChildGraph().addVertex("n1::s1"); Vertex node1sub2 = node1.getChildGraph().addVertex("n1::s2"); Vertex node1sub3 = node1.getChildGraph().addVertex("n1::s3"); - node1sub3.addEdge("wormhole", node4); + node1sub3.addEdge("wormhole1", node4); + node4.addEdge("wormhole2", node1sub3); + + node1sub3.addChildGraph(); + Vertex node1sub3sub1 = node1sub3.getChildGraph().addVertex("n1::s3::s1"); + Vertex node1sub3sub2 = node1sub3.getChildGraph().addVertex("n1::s3::s2"); + Vertex node1sub3sub3 = node1sub3.getChildGraph().addVertex("n1::s3::s3"); + node1sub3sub1.addEdge("wormhole3", node4); + node4.addEdge("wormhole4", node1sub3sub1); + node1sub3sub2.addEdge(node1sub3sub3); + + node1sub2.addChildGraph(); + Vertex node1sub2sub1 = node1sub2.getChildGraph().addVertex("n1::s2::s1"); + node1sub2sub1.addEdge("hyperwormhole", node1sub3sub1); if (node1.hasChildGraph()) { System.out.println("Node 1 has Child graph"); -- GitLab