Skip to content
Snippets Groups Projects
Commit 1b38d872 authored by gpawel's avatar gpawel
Browse files

reverting stupid commit

SVN: 27113
parent 5c1b6965
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ import java.util.Map;
import org.testng.AssertJUnit;
import org.testng.annotations.Test;
import ch.systemsx.cisd.common.collection.GroupingDAG;
import ch.systemsx.cisd.common.exception.UserFailureException;
/**
......@@ -61,6 +62,7 @@ public class GroupingDAGTest extends AssertJUnit
adjacencyMap.put(childCode, Arrays.asList("CHAIN_" + (i - 1)));
}
List<List<String>> groups = sortTopologically(adjacencyMap);
assertAllEntitiesPresent(adjacencyMap.keySet(), groups);
......@@ -124,14 +126,14 @@ public class GroupingDAGTest extends AssertJUnit
}
@Test
public void testWithParentOfParent()
public void testWithParentofParent()
{
HashMap<String, Collection<String>> adjacencyMap =
new HashMap<String, Collection<String>>();
adjacencyMap.put("B", Arrays.asList("A"));
adjacencyMap.put("A", Arrays.asList("P"));
adjacencyMap.put("P", new ArrayList<String>());
adjacencyMap.put("P", Arrays.asList("A"));
adjacencyMap.put("A", Arrays.asList("B"));
adjacencyMap.put("B", new ArrayList<String>());
List<List<String>> groups = sortTopologically(adjacencyMap);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment