visualization: small fix in testcase

parent c801070a
......@@ -565,7 +565,7 @@ public class AutomaticClusteringTest extends AbstractSymtabTest{
System.out.println(algoName);
TaggingResolver taggingResolver = AbstractSymtabTest.createSymTabAndTaggingResolver(TEST_PATH);
componentInstanceSymbol = taggingResolver.<EMAComponentInstanceSymbol>resolve("clustering.unambiguousCluster", EMAComponentInstanceSymbol.KIND).orElse(null);
componentInstanceSymbol = taggingResolver.<EMAComponentInstanceSymbol>resolve(modelName, EMAComponentInstanceSymbol.KIND).orElse(null);
assertNotNull(componentInstanceSymbol);
List<Set<EMAComponentInstanceSymbol>> clusters = null;
......@@ -651,6 +651,7 @@ public class AutomaticClusteringTest extends AbstractSymtabTest{
SimpleModelViewer viewer= new SimpleModelViewer(graph);
viewer.run();
if (modelName=="clustering.midSizeDemoCluster") {
assertTrue(clusters.size() == 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment