Closed GoogleCodeExporter closed 9 years ago
Oops, forgot the necessary patch to TestNoDepsExecutionGraph... Use this patch
instead.
Original comment by petenewc...@gmail.com
on 22 Jul 2011 at 6:35
Hmm... don't know if that last patch actually got through (I can't see the
attachment). Here's the additional patch text just in case:
Index: test/java/com/codeminders/hamake/TestNoDepsExecutionGraph.java
===================================================================
--- test/java/com/codeminders/hamake/TestNoDepsExecutionGraph.java (revision
379)
+++ test/java/com/codeminders/hamake/TestNoDepsExecutionGraph.java (working
copy)
@@ -3,7 +3,7 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
-import java.util.List;
+import java.util.Set;
import junit.framework.Assert;
@@ -117,7 +117,7 @@
private void assertGraphHasLevels(ExecutionGraph graph, int expectedSteps){
int actualSteps = 0;
- List<String> tasks = null;
+ Set<String> tasks = null;
do{
tasks = graph.getReadyForRunTasks();
if(tasks.size() > 0){
Original comment by petenewc...@gmail.com
on 22 Jul 2011 at 6:36
Thank you for the Patch.
Vladimir, please review and commit TODAY.
Original comment by kroko...@gmail.com
on 22 Jul 2011 at 9:40
Thank you Peter! This patch fixes an issue caused by a bad code. I've added a
new unit test with name 'testGraphWithDublicatedDependencies' to the class
'TestNoDepsExecutionGraph' that emulates use case, described by you.
Vladimir
Original comment by v...@codeminders.com
on 24 Jul 2011 at 7:11
Vladimit, please mark this issue as Fixed once patch is committed.
Original comment by kroko...@gmail.com
on 25 Jul 2011 at 10:07
Vadim, could you please add vorl@codeminders.com as a comitter?
Original comment by vorl.s...@gmail.com
on 26 Jul 2011 at 7:30
done
Original comment by kroko...@gmail.com
on 26 Jul 2011 at 4:15
Original comment by v...@codeminders.com
on 1 Aug 2011 at 6:10
Original issue reported on code.google.com by
petenewc...@gmail.com
on 22 Jul 2011 at 6:26Attachments: