[
https://issues.apache.org/jira/browse/SANDBOX-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200074#comment-13200074
]
Simone Tripodi commented on SANDBOX-382:
----------------------------------------
don't worry ;)
once applied your patch and executed the tests from CLI, I got the following
error:
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project commons-graph: Compilation failure:
Compilation failure:
[ERROR]
/Users/simonetripodi/Documents/workspace/commons-graph/src/test/java/org/apache/commons/graph/coloring/GraphColoringBackTrackingTestCase.java:[51,16]
incompatible types; inferred type argument(s)
org.apache.commons.graph.Vertex,org.apache.commons.graph.Edge,java.lang.Object
do not conform to bounds of type variable(s) V,E,G
[ERROR] found : <V,E,G>org.apache.commons.graph.coloring.ColorsBuilder<V,E,G>
[ERROR] required: java.lang.Object
[ERROR]
/Users/simonetripodi/Documents/workspace/commons-graph/src/test/java/org/apache/commons/graph/coloring/GraphColoringTestCase.java:[51,16]
incompatible types; inferred type argument(s)
org.apache.commons.graph.Vertex,org.apache.commons.graph.Edge,java.lang.Object
do not conform to bounds of type variable(s) V,E,G
[ERROR] found : <V,E,G>org.apache.commons.graph.coloring.ColorsBuilder<V,E,G>
[ERROR] required: java.lang.Object
{code}
hint: you should cast the {{null}} graph argument, or avoiding to chain next
methods on null graph
> Add new test for coloring
> -------------------------
>
> Key: SANDBOX-382
> URL: https://issues.apache.org/jira/browse/SANDBOX-382
> Project: Commons Sandbox
> Issue Type: Sub-task
> Components: Graph
> Reporter: Marco Speranza
> Attachments: SANDBOX-382_AddedColoringTestCase.patch,
> SANDBOX-382_AddedColoringTestCase_Modified.patch,
> SANDBOX-382_AddedColoringTestCase_Modified_2.patch
>
>
> Add new test cases for backtracking and greedy algorithm:
> * Test a Null graph
> * test a null color list
> * test an empty graph
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira