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

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

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


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

        

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

Posted by "Simone Tripodi (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANDBOX-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi resolved SANDBOX-383.
------------------------------------

    Resolution: Fixed
      Assignee: Simone Tripodi

Tests now run fine, thanks, see [r1240513|http://svn.apache.org/viewvc?rev=1240513&view=rev]
                
> 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
>            Assignee: Simone Tripodi
>         Attachments: SANDBOX-383_AddConnectivityTestCase.patch, SANDBOX-383_AddConnectivityTestCase_Modified.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

        

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

Posted by "Marco Speranza (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANDBOX-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Speranza updated SANDBOX-383:
-----------------------------------

    Attachment: SANDBOX-383_AddConnectivityTestCase_Modified.patch

Hi Simo, I'm sorry.. it was my fault. 
I fixed the problem in the attached patch.

Ciao
                
> 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, SANDBOX-383_AddConnectivityTestCase_Modified.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

        

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

Posted by "Simone Tripodi (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Marco Speranza (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANDBOX-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Speranza updated SANDBOX-383:
-----------------------------------

    Attachment: SANDBOX-383_AddConnectivityTestCase.patch

Hi here is my patch. It adds some test cases to Connectivity algorithm
                
> 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