You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (Commented) (JIRA)" <ji...@apache.org> on 2012/02/03 22:22:53 UTC

[jira] [Commented] (SANDBOX-383) Add test for Connectivity

    [ https://issues.apache.org/jira/browse/SANDBOX-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200054#comment-13200054 ] 

Simone Tripodi commented on SANDBOX-383:
----------------------------------------

Hi Marco,

after executed your 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
[ERROR] /Users/simonetripodi/Documents/workspace/commons-graph/src/test/java/org/apache/commons/graph/connectivity/FindConnectedComponetTestCase.java:[45,30] 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.connectivity.ConnectivityBuilder<V,E,G>
{code}

my environment is:

{code}
$ mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /Applications/apache-maven-3.0.4
Java version: 1.6.0_29, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"
{code}

did you experience the same?
TIA,
-Simo
                
> Add test for Connectivity
> -------------------------
>
>                 Key: SANDBOX-383
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-383
>             Project: Commons Sandbox
>          Issue Type: Sub-task
>          Components: Graph
>            Reporter: Marco Speranza
>         Attachments: SANDBOX-383_AddConnectivityTestCase.patch
>
>
> Add new test cases for Connectivity algorithm:
> * Test null graph
> * Test empty graph
> * Test a null argument for includingVertices() method

--
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