You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Alan Foster (JIRA)" <ji...@apache.org> on 2012/09/16 03:19:07 UTC

[jira] [Created] (KARAF-1834) Make KarafTestSupport available externally

Alan Foster created KARAF-1834:
----------------------------------

             Summary: Make KarafTestSupport available externally
                 Key: KARAF-1834
                 URL: https://issues.apache.org/jira/browse/KARAF-1834
             Project: Karaf
          Issue Type: Bug
            Reporter: Alan Foster


Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-1834) Make KarafTestSupport available externally

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang updated KARAF-1834:
--------------------------------

    Issue Type: Improvement  (was: Bug)
    
> Make KarafTestSupport available externally
> ------------------------------------------
>
>                 Key: KARAF-1834
>                 URL: https://issues.apache.org/jira/browse/KARAF-1834
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Alan Foster
>            Assignee: Freeman Fang
>
> Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (KARAF-1834) Make KarafTestSupport available externally

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned KARAF-1834:
-----------------------------------

    Assignee: Freeman Fang
    
> Make KarafTestSupport available externally
> ------------------------------------------
>
>                 Key: KARAF-1834
>                 URL: https://issues.apache.org/jira/browse/KARAF-1834
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Alan Foster
>            Assignee: Freeman Fang
>
> Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1834) Make KarafTestSupport available externally

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456726#comment-13456726 ] 

Freeman Fang commented on KARAF-1834:
-------------------------------------

BTW this should be an improvement but not a bug
                
> Make KarafTestSupport available externally
> ------------------------------------------
>
>                 Key: KARAF-1834
>                 URL: https://issues.apache.org/jira/browse/KARAF-1834
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Alan Foster
>            Assignee: Freeman Fang
>
> Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1834) Make KarafTestSupport available externally

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456722#comment-13456722 ] 

Freeman Fang commented on KARAF-1834:
-------------------------------------

Hi,

We can publish the test-jar also, afterwards you can add dependency like
{code}
<dependency>
  <groupId>org.apache.karaf.itests</groupId>
   <artifactId>itests</artifactId>
  <version>{version}</version>
  <type>test-jar</type>
  <scope>test</scope>
</dependency>
{code}
to use KarafTestSupport
                
> Make KarafTestSupport available externally
> ------------------------------------------
>
>                 Key: KARAF-1834
>                 URL: https://issues.apache.org/jira/browse/KARAF-1834
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Alan Foster
>
> Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-1834) Make KarafTestSupport available externally

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved KARAF-1834.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.3.0

commit fix
http://svn.apache.org/viewvc?rev=1386450&view=rev for trunk
http://svn.apache.org/viewvc?rev=1386454&view=rev for 2.3.x branch

                
> Make KarafTestSupport available externally
> ------------------------------------------
>
>                 Key: KARAF-1834
>                 URL: https://issues.apache.org/jira/browse/KARAF-1834
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Alan Foster
>            Assignee: Freeman Fang
>             Fix For: 2.3.0, 3.0.0
>
>
> Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Work started] (KARAF-1834) Make KarafTestSupport available externally

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1834 started by Freeman Fang.

> Make KarafTestSupport available externally
> ------------------------------------------
>
>                 Key: KARAF-1834
>                 URL: https://issues.apache.org/jira/browse/KARAF-1834
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Alan Foster
>            Assignee: Freeman Fang
>
> Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1834) Make KarafTestSupport available externally

Posted by "Alan Foster (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456869#comment-13456869 ] 

Alan Foster commented on KARAF-1834:
------------------------------------

[~ffang] Thanks for this. That's a very nice solution, I didn't know you could do that! I thought the only solution was to restructure the package, this is why I didn't attempt the patch myself!

Sorry for raising this Jira under the wrong type, I'll make sure to specify it correctly next time :)

Alan
                
> Make KarafTestSupport available externally
> ------------------------------------------
>
>                 Key: KARAF-1834
>                 URL: https://issues.apache.org/jira/browse/KARAF-1834
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Alan Foster
>            Assignee: Freeman Fang
>             Fix For: 2.3.0, 3.0.0
>
>
> Currently the org.apache.karaf.itests KarafTestSupportjava class is inside the test package and therefore not exported by maven. It would be useful to use the executeCommand methods for junit tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira